Update SW Tutorial authored by Lorenzo Scavarda's avatar Lorenzo Scavarda
...@@ -114,22 +114,24 @@ The campaigns are located in `$HOME/foot_turin/Script/PythonScript/sw_standalone ...@@ -114,22 +114,24 @@ The campaigns are located in `$HOME/foot_turin/Script/PythonScript/sw_standalone
[...] [...]
[ev_peak] [ev_peak]
#run: min_peak, max_peak #run: min_peak_cry0,max_peak_cry0; min_peak_cry1,max_peak_cry1;
1: 890,910 1: 890,910; 899,930
2: 890,910 2: 890,910; 899,930
[...] [...]
``` ```
3. `Configuration.par`: it is a configuration file where the user can select the type of events-selction or signals-correction that wants to enable/disable. Example: 3. `Configuration.par`: it is a configuration file where the user can select the type of events-selction or signals-correction that wants to enable/disable. Example:
``` ```
EnableCuts: rms_bas, chi2 EnableCuts: rms_bas,chi2
temperature: n temperature: n
range: y range: y
bgo_eq: y bgo_eq: y
``` ```
**Note: ** no white spaces in the "EnableCuts" list among words
### Class methods list ### Class methods list
The list of the class methods are: The list of the class methods are:
...@@ -144,7 +146,7 @@ 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_init(self)`: it defines the function for temperature correction
- `def temperature_correction(self, amp, charge, i, c_id)`: it performs the 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 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 - `def write_output(self)`: it writes the output ROOT file with all the plots
### How to run ### How to run
... ...
......