Skip to content
Snippets Groups Projects
Commit 46406c70 authored by adrien-matta's avatar adrien-matta
Browse files

* Adding test facility:

        - Running Example 1 and 2 using reference root file (no sim
            needed)
parent 8396434a
No related branches found
No related tags found
No related merge requests found
......@@ -28,15 +28,10 @@ script:
- cmake ./
- make -j4
- make install
- ./scripts/RootLogon.sh
- ./scripts/test/basic.sh
after_success:
- npanalysis -h
- cd ../NPAnalysis/Example1
- cmake ./
- make
- cd ../Example2
- cmake ./
- make
branches:
only:
......
File added
File added
TTreeName
SimulatedTree
RootFileName
../../Outputs/Simulation/Example2.root
......@@ -97,7 +97,7 @@ $ npanalysis -R RunToTreat.txt -O Example1
````
Because the input file are written in the simulation file along the SimulatedTree, npanalysis will automatically use those file as inputs. This will produce the analysed tree located in $NPTOOL/Outputs/Analysis/Example1.root. You can then display the result of the simulation using root:
````
$ root ShowResult.C
$ root ShowResult.cxx
````
You should be able to see the light particle identification, the light particle kinematical line and the associated excitation energy spectrum fitted by a gaussian.
......
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