![]() |
Belle II Software development
|
Public Member Functions | |
| notApplyCorrectForCDCLatency (self, mode) | |
| fillLists (self, svdRecoDigits_rel_Clusters, svdClusters_rel_RecoTracks_cl) | |
| set_localdb (self, localDB) | |
| initialize (self) | |
| event (self) | |
| terminate (self) | |
Public Attributes | |
| notApplyCDCLatencyCorrection = mode | |
| parameter that allows to apply or not the CDC latency correction | |
| int | NTOT = self.NTOT + 1 |
| counts the number of clusters | |
| localdb = localDB | |
| set the name of the localDB used | |
| str | outputFileName = "CoGCorrectionMonitor_" + self.localdb + ".root" |
| name of the output file | |
| list | resList = [] |
| lists used to create the histograms for each TB : residuals | |
| list | spList = [] |
| scatterplot t0 vs cog | |
| list | cogList = [] |
| cog | |
| list | cdcList = [] |
| t0 | |
| list | snrList = [] |
| Cluster SNR. | |
| list | nList = [] |
| number of clusters | |
| list | sumCOGList = [] |
| sum of CoG times | |
| list | sumCOGList2 = [] |
| sum of CoG times squared | |
| list | sumCOGList3 = [] |
| sum of CoG times to the third | |
| list | sumCOGList4 = [] |
| sum of CoG times to the fourth | |
| list | sumCOGList5 = [] |
| sum of CoG times to the fifth | |
| list | sumCOGList6 = [] |
| sum of CoG times to the sixth | |
| list | sumCDCList = [] |
| sum of t0 times | |
| list | sumCDCCOGList = [] |
| sum of t0*cog | |
| list | sumCDCCOGList2 = [] |
| sum of t0*cog squared | |
| list | sumCDCCOGList3 = [] |
| sum of t0 times to the third | |
| int | Evt = 0 |
| counts the number of events | |
| EventT0Hist = TH1F("EventT0", " ", 200, -100, 100) | |
| distribution of EventT0 | |
| gaus = TF1("gaus", 'gaus(0)', -150, 100) | |
| gauss function used for fitting distributions | |
| pol = TF1("pol", "[0] + [1]*x + [2]*x*x + [3]*x*x*x", -150, 150) | |
| third order polynomial function used for fitting distributions | |
| cdcEventT0 = Belle2.PyStoreObj(cdc_Time0) | |
| counts the number of events | |
Python class used for checking SVD CoG Calibration stored in a localDB, creating a localDB with the correction and a root file to check the corrections
Definition at line 43 of file CoGCalibration_utils_tbindependent.py.
| event | ( | self | ) |
Function that allows to cycle on the events
Definition at line 373 of file CoGCalibration_utils_tbindependent.py.
| fillLists | ( | self, | |
| svdRecoDigits_rel_Clusters, | |||
| svdClusters_rel_RecoTracks_cl ) |
Function that fill the lists needed for the CoG corrections
parameters:
svdRecoDigits_rel_Clusters (SVDRecoDigit): reco digits related to clusters
svdClusters_rel_RecoTracks_cl (SVDCluster): cluster related to tracks
Definition at line 62 of file CoGCalibration_utils_tbindependent.py.
| initialize | ( | self | ) |
Initialize object (histograms, lists, ...) used by the class
Definition at line 143 of file CoGCalibration_utils_tbindependent.py.
| notApplyCorrectForCDCLatency | ( | self, | |
| mode ) |
Function that allows to set if apply the CDC latency correction
parameters:
mode (bool):
- if True -> not apply correction
- if False -> apply correction
Definition at line 49 of file CoGCalibration_utils_tbindependent.py.
| set_localdb | ( | self, | |
| localDB ) |
Function that allows to set the localDB
parameters:
localDB (str): Name of the localDB used
Definition at line 133 of file CoGCalibration_utils_tbindependent.py.
| terminate | ( | self | ) |
Terminates the class and produces the output rootfile
Definition at line 394 of file CoGCalibration_utils_tbindependent.py.
| cdcEventT0 = Belle2.PyStoreObj(cdc_Time0) |
counts the number of events
registers PyStoreObj EventT0
Definition at line 386 of file CoGCalibration_utils_tbindependent.py.
| list cdcList = [] |
t0
Definition at line 159 of file CoGCalibration_utils_tbindependent.py.
| list cogList = [] |
cog
Definition at line 157 of file CoGCalibration_utils_tbindependent.py.
| EventT0Hist = TH1F("EventT0", " ", 200, -100, 100) |
distribution of EventT0
Definition at line 365 of file CoGCalibration_utils_tbindependent.py.
| int Evt = 0 |
counts the number of events
Definition at line 187 of file CoGCalibration_utils_tbindependent.py.
| gaus = TF1("gaus", 'gaus(0)', -150, 100) |
gauss function used for fitting distributions
Definition at line 367 of file CoGCalibration_utils_tbindependent.py.
| localdb = localDB |
set the name of the localDB used
Definition at line 141 of file CoGCalibration_utils_tbindependent.py.
| list nList = [] |
number of clusters
Definition at line 163 of file CoGCalibration_utils_tbindependent.py.
| notApplyCDCLatencyCorrection = mode |
parameter that allows to apply or not the CDC latency correction
Definition at line 59 of file CoGCalibration_utils_tbindependent.py.
| int NTOT = self.NTOT + 1 |
counts the number of clusters
Definition at line 131 of file CoGCalibration_utils_tbindependent.py.
| str outputFileName = "CoGCorrectionMonitor_" + self.localdb + ".root" |
name of the output file
Definition at line 149 of file CoGCalibration_utils_tbindependent.py.
| pol = TF1("pol", "[0] + [1]*x + [2]*x*x + [3]*x*x*x", -150, 150) |
third order polynomial function used for fitting distributions
Definition at line 369 of file CoGCalibration_utils_tbindependent.py.
| list resList = [] |
lists used to create the histograms for each TB : residuals
Definition at line 153 of file CoGCalibration_utils_tbindependent.py.
| list snrList = [] |
Cluster SNR.
Definition at line 161 of file CoGCalibration_utils_tbindependent.py.
| list spList = [] |
scatterplot t0 vs cog
Definition at line 155 of file CoGCalibration_utils_tbindependent.py.
| list sumCDCCOGList = [] |
sum of t0*cog
Definition at line 179 of file CoGCalibration_utils_tbindependent.py.
| list sumCDCCOGList2 = [] |
sum of t0*cog squared
Definition at line 181 of file CoGCalibration_utils_tbindependent.py.
| list sumCDCCOGList3 = [] |
sum of t0 times to the third
Definition at line 183 of file CoGCalibration_utils_tbindependent.py.
| list sumCDCList = [] |
sum of t0 times
Definition at line 177 of file CoGCalibration_utils_tbindependent.py.
| list sumCOGList = [] |
sum of CoG times
Definition at line 165 of file CoGCalibration_utils_tbindependent.py.
| list sumCOGList2 = [] |
sum of CoG times squared
Definition at line 167 of file CoGCalibration_utils_tbindependent.py.
| list sumCOGList3 = [] |
sum of CoG times to the third
Definition at line 169 of file CoGCalibration_utils_tbindependent.py.
| list sumCOGList4 = [] |
sum of CoG times to the fourth
Definition at line 171 of file CoGCalibration_utils_tbindependent.py.
| list sumCOGList5 = [] |
sum of CoG times to the fifth
Definition at line 173 of file CoGCalibration_utils_tbindependent.py.
| list sumCOGList6 = [] |
sum of CoG times to the sixth
Definition at line 175 of file CoGCalibration_utils_tbindependent.py.