Changes
Page history
Update SW Tutorial
authored
Jul 04, 2022
by
Lorenzo Scavarda
Show whitespace changes
Inline
Side-by-side
SW-Tutorial.md
View page @
25c8302d
...
...
@@ -23,7 +23,8 @@ This macro aims at processing the TreeWave.root generating the major quantities
### How to run
The macro can be run trough the
`/$HOME/foot_turin/Script/PythonScript/sw_standalone/analyze.py`
script.
This script need some mandatory arguments:
This script need some POSITIONAL arguments:
-
the path of the input file (TreeWave.root)
-
the number of start event
-
the number of the stop event
...
...
@@ -37,3 +38,6 @@ and some OPTIONAL arguments:
-
keyword to enable/disable the fit analysis:
`[-f]`
-
keyword to set the frequency for saving PDF waveforms:
`[-s]`
-
path of the ouput folder for PDF figures:
`[-p]`
example:
`> python analyze.py TreeWave.root 0 10000 -c 0 1 2 3 4 5 6 7 8 -d 1024 -b 12 -o fout_ntuple.root -f -s 1000 -p PulseWF`
\ No newline at end of file