Belle II Software development
|
Public Member Functions | |
def | __init__ (self, name, tfile, rundir="maps") |
def | define_graphs (self) |
def | define_hists (self) |
def | get_db_content (self) |
def | get_graph_value (self, sensor_db_content) |
def | set_hist_content (self, h2, sensor_db_content) |
def | draw_plots (self, canvas=None, cname="PXDGain", ymin=0.5, ymax=2.5, **kwargs) |
Checker for PXDGainMapPar
Definition at line 453 of file condition_checker.py.
def __init__ | ( | self, | |
name, | |||
tfile, | |||
rundir = "maps" |
|||
) |
Reimplemented from ConditionCheckerBase.
Definition at line 458 of file condition_checker.py.
def define_graphs | ( | self | ) |
Method to define TGraph
Reimplemented from ConditionCheckerBase.
Definition at line 463 of file condition_checker.py.
def define_hists | ( | self | ) |
Method to define TH2
Reimplemented from ConditionCheckerBase.
Definition at line 469 of file condition_checker.py.
def draw_plots | ( | self, | |
canvas = None , |
|||
cname = "PXDGain" , |
|||
ymin = 0.5 , |
|||
ymax = 2.5 , |
|||
** | kwargs | ||
) |
Method to draw plots on a TCanvas
Reimplemented from ConditionCheckerBase.
Definition at line 494 of file condition_checker.py.
def get_db_content | ( | self | ) |
Abstract method to get content of a payload Should return a Dictionary with sensorID.getID() as key and relaated calibration results as value
Reimplemented from ConditionCheckerBase.
Definition at line 477 of file condition_checker.py.
def get_graph_value | ( | self, | |
sensor_db_content | |||
) |
sensor_db_content (np.array): Array of gain factors of a module
Reimplemented from ConditionCheckerBase.
Definition at line 485 of file condition_checker.py.
def set_hist_content | ( | self, | |
h2, | |||
sensor_db_content | |||
) |
Method to set TH2 bins Parameters: h2 (TH2): TH2F object for handling values of a pixel matrix sensor_db_content (Any): Calibration results of a module
Reimplemented from ConditionCheckerBase.
Definition at line 491 of file condition_checker.py.