Belle II Software development
|
Public Member Functions | |
def | __init__ (self, name, tfile, rundir="maps", use_hist=True) |
def | define_graphs (self) |
def | define_hists (self) |
def | get_db_content (self) |
def | get_graph_value (self, sensor_db_content) |
def | get_graph_value_from_hist (self, h2) |
def | set_hist_content (self, h2, sensor_db_content) |
def | draw_plots (self, canvas=None, cname="PXDDeadPixel", ymin=0., ymax=plot_type_dict["dead"]["max"], **kwargs) |
Public Attributes | |
hist_title_suffix | |
Hist title suffix. | |
Checker for PXDDeadPixelPar
Definition at line 356 of file condition_checker.py.
def __init__ | ( | self, | |
name, | |||
tfile, | |||
rundir = "maps" , |
|||
use_hist = True |
|||
) |
Reimplemented from ConditionCheckerBase.
Definition at line 361 of file condition_checker.py.
def define_graphs | ( | self | ) |
Method to define TGraph
Reimplemented from ConditionCheckerBase.
Definition at line 366 of file condition_checker.py.
def define_hists | ( | self | ) |
Method to define TH2
Reimplemented from ConditionCheckerBase.
Definition at line 372 of file condition_checker.py.
def draw_plots | ( | self, | |
canvas = None , |
|||
cname = "PXDDeadPixel" , |
|||
ymin = 0. , |
|||
ymax = plot_type_dict["dead"]["max"] , |
|||
** | kwargs | ||
) |
Method to draw plots on a TCanvas
Reimplemented from ConditionCheckerBase.
Definition at line 446 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 378 of file condition_checker.py.
def get_graph_value | ( | self, | |
sensor_db_content | |||
) |
Abstract method to get a value for each TGraph Parameters: sensor_db_content (Any): Calibration results of a module
Reimplemented from ConditionCheckerBase.
Definition at line 397 of file condition_checker.py.
def get_graph_value_from_hist | ( | self, | |
h2 | |||
) |
Method to get a value for each TGraph Parameters: h2 (TH2): If not none, get value from h2
Reimplemented from ConditionCheckerBase.
Definition at line 422 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 425 of file condition_checker.py.
hist_title_suffix |
Hist title suffix.
Definition at line 419 of file condition_checker.py.