From 049a921a36fe0cf5058ef3c8a8dcf7b7409be389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hern=C3=A1n=20Asorey?= <asoreyh@gmail.com> Date: Fri, 27 May 2022 15:47:15 +0200 Subject: [PATCH] Changes in README.md and new wcd README.md --- README.md | 4 +++- lago-arti.sh | 4 ++-- wcd/README.md | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 3 deletions(-) create mode 100644 wcd/README.md diff --git a/README.md b/README.md index 3ac14c7..73d132e 100644 --- a/README.md +++ b/README.md @@ -252,9 +252,11 @@ Before to run, the file containing the secondaries at ground resulting of the pr Again, depending on the environment, it could run automatically during runtime or has to be called by the user once the previous stages are completed, by doing: ```bash -wcd -m input.in +wcd -m input.in > run.log ``` +Additional information can be found in the wcd module [´README.md´](wcd/README.md) and in the [ARTI Documentation](docs). + ### General help and documentation The documentation is currently under preparation and will be released in July 2022. A brief description of the action of each code and the available options and modifiers can be seen by calling them with the `-? modifier`. diff --git a/lago-arti.sh b/lago-arti.sh index 7a7b5a6..dc05367 100755 --- a/lago-arti.sh +++ b/lago-arti.sh @@ -23,5 +23,5 @@ echo " ## Changes added by the ARTI suite $VERSION on $date # export ARTI=\"${ARTI}\" -export PATH=\"\${ARTI}/sims/:\${ARTI}/analysis:\$PATH\" -" >> ${HOME}/.bashrc \ No newline at end of file +export PATH=\"\${ARTI}/sims/:\${ARTI}/eas:\${ARTI}/analysis:\$PATH\" +" >> ${HOME}/.bashrc diff --git a/wcd/README.md b/wcd/README.md new file mode 100644 index 0000000..57c0c36 --- /dev/null +++ b/wcd/README.md @@ -0,0 +1,57 @@ +# WCD Simulation + +# =================== +# *** How to Run: *** + +1. Compile the code, from build directory: + cmake -DGeant4_DIR=/path/geant4.10.3-install/lib/Geant4-10.3.0/ path-code + make -jN // Where N number of cores + +2. Edit input.in file: + + * /spectrum/readfile "file name" > ARTI ´.shw.bz2´ file containing the secondaries at ground. + + * /spectrum/iniposZ "X cm" > Start position at Z from which secondaries will propagate. + This value can not be more than 45 m. + + * /spectrum/radArea "X m" > The circumference radius where secondaries will be distribute. + This value can not be more than 45 m. + + * /detect/radio > WCD radius. + + * /detect/hight > WCD height. This value can not be more than 4.5 m + + * /outroot/outname > Set the name for the Root output filie. + + * /run/beamOn "X" > Number of secondaries to propagate. + + If you need values bigger than 45 m or 4.5 cm please [contact us](https://github.com/lagoproject/arti#Contact) + +3. Execute: + +´´´bash +./wcd -m input.in > run.log +´´´ + +4. Remember, the data is saved in the ´.root´ file ´histosOutput.root´. + +# ===================================== +# *** How to read ´histosOutput.root´ *** + +1. Check the histograms names from TBrowser. + +2. Go to directory ´readOutRootFile´ + +3. Open ´main.cxx´ and change the ´histo´ name according to the information + that you desire. Be carefull with the number of bins for histogram, + check in the TBrowser. + +4. Then, compile and excecute: + +´´´bash +make clean +make +./mainExe histosOutput.root > out.dat +´´´ + +6. Plotting. -- GitLab