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

Public Member Functions

def __init__ (self, objType_list=[])
 
def initialize (self, checker_list=[])
 
def valid (self)
 
def define_graphs (self)
 
def fill_graphs (self)
 
def draw_plots (self)
 
def beginRun (self)
 
def terminate (self)
 

Public Attributes

 condition_checkers
 condition checkers which are assoicated to this calibration.
 

Detailed Description

Abstract base class for generating plots from calibrations which save multiple payloads.

Definition at line 34 of file calibration_checker.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  objType_list = [] 
)
Parameters:
  objType_list (list): a list of db objects used as keys to their checker.
    e.g., [Belle2.PXDMaskedPixelPar, Belle2.PXDDeadPixelPar]

Definition at line 39 of file calibration_checker.py.

39  def __init__(self, objType_list=[]):
40  """
41  Parameters:
42  objType_list (list): a list of db objects used as keys to their checker.
43  e.g., [Belle2.PXDMaskedPixelPar, Belle2.PXDDeadPixelPar]
44  """
45 
46  self.condition_checkers = {}
47  for objType in objType_list:
48  self.condition_checkers[objType] = None
49 

Member Function Documentation

◆ beginRun()

def beginRun (   self)
function to be executed at the beginning of a run

Definition at line 95 of file calibration_checker.py.

◆ define_graphs()

def define_graphs (   self)
Define summary graphs

Reimplemented in PXDHotPixelMaskCalibrationChecker.

Definition at line 78 of file calibration_checker.py.

◆ draw_plots()

def draw_plots (   self)
Generate summary plots from TGraphs of all condition checkers

Reimplemented in PXDHotPixelMaskCalibrationChecker.

Definition at line 90 of file calibration_checker.py.

◆ fill_graphs()

def fill_graphs (   self)
Method to fill TGraphs

Reimplemented in PXDHotPixelMaskCalibrationChecker.

Definition at line 84 of file calibration_checker.py.

◆ initialize()

def initialize (   self,
  checker_list = [] 
)
Initialize condition_checker according to condition objType
Parameters:
  checker_list (list): list of objType checkers

Definition at line 50 of file calibration_checker.py.

◆ terminate()

def terminate (   self)
Execute when terminating a basf2 module.
All required TGraphs should be ready at this stage.

Definition at line 102 of file calibration_checker.py.

◆ valid()

def valid (   self)
valid flag

Definition at line 67 of file calibration_checker.py.


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