diff --git a/wcd/README.md b/wcd/README.md index 57c0c363e7e20f14f3bc23371ed5c2a88e9e576b..aa7e49a443574b4bb4c484a2812b08cf8b670997 100644 --- a/wcd/README.md +++ b/wcd/README.md @@ -4,12 +4,15 @@ # *** 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 + +```bash +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/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. @@ -29,29 +32,29 @@ 3. Execute: -´´´bash +```bash ./wcd -m input.in > run.log -´´´ +``` -4. Remember, the data is saved in the ´.root´ file ´histosOutput.root´. +4. Remember, the data is saved in the `.root` file `histosOutput.root`. # ===================================== -# *** How to read ´histosOutput.root´ *** +# *** How to read `histosOutput.root` *** 1. Check the histograms names from TBrowser. -2. Go to directory ´readOutRootFile´ +2. Go to directory `readOutRootFile` -3. Open ´main.cxx´ and change the ´histo´ name according to the information +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 +```bash make clean make ./mainExe histosOutput.root > out.dat -´´´ +``` 6. Plotting.