Changes
Page history
Update SW Tutorial
authored
Jul 08, 2022
by
Lorenzo Scavarda
Show whitespace changes
Inline
Side-by-side
SW-Tutorial.md
View page @
bfe9e531
...
...
@@ -114,10 +114,10 @@ The campaigns are located in `$HOME/foot_turin/Script/PythonScript/sw_standalone
[...]
[ev_peak]
#run: min_peak,
max_peak
#run: min_peak
_cry0,max_peak_cry0; min_peak_cry1
,max_peak
_cry1;
1: 890,910
2: 890,910
1: 890,910
; 899,930
2: 890,910
; 899,930
[...]
```
...
...
@@ -130,6 +130,8 @@ range: y
bgo_eq: y
```
**Note: **
no white spaces in the "EnableCuts" list among words
### Class methods list
The list of the class methods are:
...
...
@@ -144,7 +146,7 @@ The list of the class methods are:
-
`def temperature_correction_init(self)`
: it defines the function for temperature correction
-
`def temperature_correction(self, amp, charge, i, c_id)`
: it performs the temperature correction
-
`def analyze_ntuple(self, ev_start, ev_stop, fout)`
: main function which recalls all the previous ones
-
`def booking_histos(self)`
: it initialises all the hisograms
-
`def booking_histos(self)`
: it initialises all the hisograms
. The list of the histograms is in the campaign folder
-
`def write_output(self)`
: it writes the output ROOT file with all the plots
### How to run
...
...
...
...