![]() |
ATLAS Offline Software
|
Public Member Functions | |
| def | __init__ (self, folder_name, evaluator, **kwargs) |
| def | __hash__ (self) |
| def | __repr__ (self) |
| def | read (self, query_range, folder_base, folder_name) |
| def | print_time_info (self, iovs) |
| def | map_input_channels (self, iovs) |
| def | quantize (self, lbtime, iovs) |
| def | make_good_iov (self, iov) |
| def | make_good_iovs (self, iovs) |
| def | calculate_good_iovs (self, lbtime, subdetector) |
Public Attributes | |
| input_db | |
| folder_name | |
| evaluator | |
| fetch_args | |
| input_hashes | |
| subdetector | |
| iovs | |
Static Public Attributes | |
| bool | is_global = False |
| bool | is_config_variable = False |
| bool | timewise_folder = True |
Class which encapsulates logic behind an input variable. This class is responsible for: * Reading data from COOL / CoraCOOL * Evaluating the 'good' state of a variable once read from the database * Quantizing the state from time-based intervals of validity to lumiblock It is subclassed for configuration variables and "global" variables.
Definition at line 32 of file variable.py.
| def python.variable.DCSC_Variable.__init__ | ( | self, | |
| folder_name, | |||
| evaluator, | |||
| ** | kwargs | ||
| ) |
Reimplemented in python.variable.DCSC_Defect_Global_Variable.
Definition at line 50 of file variable.py.
| def python.variable.DCSC_Variable.__hash__ | ( | self | ) |
| def python.variable.DCSC_Variable.__repr__ | ( | self | ) |
Definition at line 68 of file variable.py.
| def python.variable.DCSC_Variable.calculate_good_iovs | ( | self, | |
| lbtime, | |||
| subdetector | |||
| ) |
| def python.variable.DCSC_Variable.make_good_iov | ( | self, | |
| iov | |||
| ) |
Determine if one input iov is good.
Reimplemented in python.variable.DCSC_Global_Variable, and python.subdetectors.tile.Tile_NoHighVoltage.
Definition at line 164 of file variable.py.
| def python.variable.DCSC_Variable.make_good_iovs | ( | self, | |
| iovs | |||
| ) |
Determine whether each iov signifies a good or bad state.
Reimplemented in python.subdetectors.tile.Tile_NoHighVoltage, and python.subdetectors.sct.DCSC_Variable_SCT_Config.
Definition at line 172 of file variable.py.
| def python.variable.DCSC_Variable.map_input_channels | ( | self, | |
| iovs | |||
| ) |
By default, do nothing. Overloaded by DCSC_Variable_With_Mapping.
Reimplemented in python.variable.DCSC_Variable_With_Mapping.
Definition at line 141 of file variable.py.
| def python.variable.DCSC_Variable.print_time_info | ( | self, | |
| iovs | |||
| ) |
Logs the first and last insertion times of the IoVs, and their ranges.
Definition at line 124 of file variable.py.
| def python.variable.DCSC_Variable.quantize | ( | self, | |
| lbtime, | |||
| iovs | |||
| ) |
Quantize "good state" timewise-iovs to lumiblocks. OUT_OF_CONFIG gets priority over BAD if BAD and OUT_OF_CONFIG overlap the same lumiblock.
Reimplemented in python.variable.DCSC_Defect_Global_Variable, and python.variable.DCSC_Global_Variable.
Definition at line 147 of file variable.py.
| def python.variable.DCSC_Variable.read | ( | self, | |
| query_range, | |||
| folder_base, | |||
| folder_name | |||
| ) |
| python.variable.DCSC_Variable.evaluator |
Definition at line 54 of file variable.py.
| python.variable.DCSC_Variable.fetch_args |
Definition at line 56 of file variable.py.
| python.variable.DCSC_Variable.folder_name |
Definition at line 53 of file variable.py.
| python.variable.DCSC_Variable.input_db |
Definition at line 52 of file variable.py.
| python.variable.DCSC_Variable.input_hashes |
Definition at line 58 of file variable.py.
| python.variable.DCSC_Variable.iovs |
Definition at line 220 of file variable.py.
|
static |
Definition at line 47 of file variable.py.
|
static |
Definition at line 46 of file variable.py.
| python.variable.DCSC_Variable.subdetector |
Definition at line 184 of file variable.py.
|
static |
Definition at line 48 of file variable.py.
1.8.18