diff --git a/README.md b/README.md index 71b5fbe50d31da0343ac6189b3b57da82caae753..a3991a24734255114bbad35e2c2137d3fca14353 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ make fullclean # executes clean and simclean directives ### Additional package -An additional tool, <kbd>Trace</kbd> is included. It can be used to calculate the trace lenght distribution of muons going thought the detector. To configure it, two blocks inside the main code should be modified. So: +Two additional tools, <kbd>Trace</kbd> and <kbd>TraceCubic</kbd> are included. It can be used to calculate the trace lenght distribution of muons going thought a cylindrical or rectangular (even cubic) detector. To configure it, two blocks inside the main code should be modified. So: ```bash vim src/trace.cc ``` @@ -133,3 +133,4 @@ cd $LAGO_EASY make ./bin/Trace ``` +and the same for TraceCubic. diff --git a/src/Makefile b/src/Makefile index 12edb544c24c57963c296541e1be8645da9d838e..3498105cc8b3036b5cdc434fa220ccd418743615 100644 --- a/src/Makefile +++ b/src/Makefile @@ -4,7 +4,7 @@ LINKFLAGS= `root-config --libs` SRC=Event.o Station.o Array.o Particle.o EventDict.o ShowerParam.o Utils.o BuildProcessesTables.o FastSimulation.o ManageEvent.o EasySimConfig.o Analyze.o AnaDict.o -TARGETS=EasySim Ascii Trace +TARGETS=EasySim Ascii Trace TraceCubic all: $(TESTS) $(TARGETS) @@ -26,6 +26,9 @@ Ascii: ${SRC} Ascii.o Trace: $(CC) -o $@ trace.cc +TraceCubic: + $(CC) -o $@ trace-cubic.cc + clean: rm -f $(TARGETS) *.o *Dict*