Skip to content
Snippets Groups Projects
Unverified Commit 1434decc authored by Hernán Asorey's avatar Hernán Asorey
Browse files

Minor changes in wcd README.md

parent 2bfb7fad
No related branches found
No related tags found
No related merge requests found
...@@ -4,12 +4,15 @@ ...@@ -4,12 +4,15 @@
# *** How to Run: *** # *** How to Run: ***
1. Compile the code, from build directory: 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: 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. * /spectrum/iniposZ "X cm" > Start position at Z from which secondaries will propagate.
This value can not be more than 45 m. This value can not be more than 45 m.
...@@ -29,29 +32,29 @@ ...@@ -29,29 +32,29 @@
3. Execute: 3. Execute:
´´´bash ```bash
./wcd -m input.in > run.log ./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. 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, that you desire. Be carefull with the number of bins for histogram,
check in the TBrowser. check in the TBrowser.
4. Then, compile and excecute: 4. Then, compile and excecute:
´´´bash ```bash
make clean make clean
make make
./mainExe histosOutput.root > out.dat ./mainExe histosOutput.root > out.dat
´´´ ```
6. Plotting. 6. Plotting.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment