Belle II Software  release-08-01-10
SVDCoGTimeCalibrationCheckModule Class Reference
Inheritance diagram for SVDCoGTimeCalibrationCheckModule:
Collaboration diagram for SVDCoGTimeCalibrationCheckModule:

Public Member Functions

def fillLists (self, svdClusterFromTracks)
 
def set_localdb (self, localDB)
 
def set_run_number (self, run)
 
def set_exp_number (self, exp)
 
def initialize (self)
 
def event (self)
 
def terminate (self)
 

Public Attributes

 NTOT
 counts the number of clusters
 
 localdb
 set the name of the localDB used
 
 runnumber
 set the run number
 
 expnumber
 set the experiment number
 
 outputFileName
 name of the output file
 
 resList
 lists used to create the histograms for each TB : residuals
 
 spList
 scatterplot t0 vs cog
 
 cogList
 cog
 
 cdcList
 t0
 
 snrList
 Cluster SNR.
 
 sizeList
 Cluster Size.
 
 chargeList
 Cluster charge.
 
 cdcErrorList
 t0 no synchronized
 
 Evt
 counts the number of events
 
 EventT0Hist
 distribution of EventT0
 
 gaus
 gaus function used for fitting distributions
 
 pol1
 order 1 polynomium used for the calibration
 
 pol3
 order 3 polynomium used for the calibration
 
 cdcEventT0
 registers PyStoreObj EventT0
 
 TB
 trigger bin
 

Detailed Description

Python class used for checking SVD CoG Calibration stored in a localDB

Definition at line 38 of file CoGCalibration_utils_checkCalibration.py.

Member Function Documentation

◆ event()

def event (   self)
Function that allows to cicle on the events

Definition at line 253 of file CoGCalibration_utils_checkCalibration.py.

253  def event(self):
254  """
255  Function that allows to cicle on the events
256  """
257  self.Evt = self.Evt + 1
258 
259  # fill EventT0 histogram
260 
261  self.cdcEventT0 = Belle2.PyStoreObj(cdc_Time0)
262  if self.cdcEventT0.hasEventT0():
263  et0 = self.EventT0Hist
264  et0.Fill(self.cdcEventT0.getEventT0())
265 
266  # fill plots
267  svdCluster_list = Belle2.PyStoreArray(svd_Clusters)
268  svd_evtInfo = Belle2.PyStoreObj(svd_EventInfo)
269  clsTB = svd_evtInfo.getModeByte().getTriggerBin()
270 
271  self.TB = ord(clsTB)
272 
273  for svdCluster in svdCluster_list:
274  self.fillLists(svdCluster)
275 
A (simplified) python wrapper for StoreArray.
Definition: PyStoreArray.h:72
a (simplified) python wrapper for StoreObjPtr.
Definition: PyStoreObj.h:67

◆ fillLists()

def fillLists (   self,
  svdClusterFromTracks 
)
Function that fill the lists needed for the check of the calibration

parameters:
     svdClusterFromTracks (SVDCluster): Cluster related to tracks

Definition at line 43 of file CoGCalibration_utils_checkCalibration.py.

◆ initialize()

def initialize (   self)
Initialize object (histograms, lists, ...) used by the class

Definition at line 121 of file CoGCalibration_utils_checkCalibration.py.

◆ set_exp_number()

def set_exp_number (   self,
  exp 
)
Function that allows to save the experiment number

parameters:
     exp (int): experiment number

Definition at line 111 of file CoGCalibration_utils_checkCalibration.py.

◆ set_localdb()

def set_localdb (   self,
  localDB 
)
Function that allows to set the localDB

parameters:
     localDB (str): Name of the localDB used

Definition at line 91 of file CoGCalibration_utils_checkCalibration.py.

◆ set_run_number()

def set_run_number (   self,
  run 
)
Function that allows to save the run number

parameters:
     run (int): run number

Definition at line 101 of file CoGCalibration_utils_checkCalibration.py.

◆ terminate()

def terminate (   self)
Terminates te class and produces the output rootfile

Definition at line 276 of file CoGCalibration_utils_checkCalibration.py.


The documentation for this class was generated from the following file: