diff --git a/README.md b/README.md index 3ac14c7fe43b82bc1412079877c4b234a34d5643..73d132ea250b80221410bab311d6ad956b902c0a 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 7a7b5a68a3b53a1f0e471680e0e2c141a248ae88..dc0536709f6680057baa56a5e2ccf4ca4dc44f95 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 0000000000000000000000000000000000000000..57c0c363e7e20f14f3bc23371ed5c2a88e9e576b --- /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.