- 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
-
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
-
-
Execute:
./wcd -m input.in > run.log
- Remember, the data is saved in the
.root
filehistosOutput.root
.
-
Check the histograms names from TBrowser.
-
Go to directory
readOutRootFile
-
Open
main.cxx
and change thehisto
name according to the information that you desire. Be carefull with the number of bins for histogram, check in the TBrowser. -
Then, compile and excecute:
make clean
make
./mainExe histosOutput.root > out.dat
- Plotting.