From 8b94c007290b2b56541e552d50be337134358deb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hern=C3=A1n=20Asorey?= <asoreyh@gmail.com>
Date: Fri, 29 Sep 2017 12:46:59 -0300
Subject: [PATCH] Trace for rectangular of cubic WC detectors is now included.

---
 README.md    | 3 ++-
 src/Makefile | 5 ++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 71b5fbe..a3991a2 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 12edb54..3498105 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*
 
-- 
GitLab