![]() |
ATLAS Offline Software
|
Public Types | |
| typedef HLT::TypeInformation::for_each_type_c< typenameEDMLIST::map, my_functor, my_result<>, my_arg< HLT::TypeInformation::get_cont, CONTAINER > >::type | result |
Public Member Functions | |
| __init__ (self, folder_name, evaluator, **kwargs) | |
| __hash__ (self) | |
| __repr__ (self) | |
| read (self, query_range, folder_base, folder_name) | |
| print_time_info (self, iovs) | |
| map_input_channels (self, iovs) | |
| quantize (self, lbtime, iovs) | |
| make_good_iov (self, iov) | |
| make_good_iovs (self, iovs) | |
| calculate_good_iovs (self, lbtime, subdetector) | |
Public Attributes | |
| str | input_db = 'COOLOFL_DCS/CONDBR2' |
| folder_name = folder_name | |
| evaluator = evaluator | |
| dict | fetch_args = {} |
| list | input_hashes = [] |
| subdetector = subdetector | |
| iovs = 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.
|
inherited |
Definition at line 90 of file EDM_MasterSearch.h.
| python.variable.DCSC_Variable.__init__ | ( | self, | |
| folder_name, | |||
| evaluator, | |||
| ** | kwargs ) |
Definition at line 50 of file variable.py.
| python.variable.DCSC_Variable.__hash__ | ( | self | ) |
Useful for verifying if input variables have changed.
Definition at line 60 of file variable.py.
| python.variable.DCSC_Variable.__repr__ | ( | self | ) |
Definition at line 68 of file variable.py.
| python.variable.DCSC_Variable.calculate_good_iovs | ( | self, | |
| lbtime, | |||
| subdetector ) |
Calculate LB-wise "good" states
Definition at line 179 of file variable.py.
| python.variable.DCSC_Variable.make_good_iov | ( | self, | |
| iov ) |
Determine if one input iov is good.
Reimplemented in python.subdetectors.tile.Tile_NoHighVoltage, and python.variable.DCSC_Global_Variable.
Definition at line 164 of file variable.py.
| python.variable.DCSC_Variable.make_good_iovs | ( | self, | |
| iovs ) |
Determine whether each iov signifies a good or bad state.
Reimplemented in python.subdetectors.sct.DCSC_Variable_SCT_Config, and python.subdetectors.tile.Tile_NoHighVoltage.
Definition at line 172 of file variable.py.
| 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.
| 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.
| 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.
| python.variable.DCSC_Variable.read | ( | self, | |
| query_range, | |||
| folder_base, | |||
| folder_name ) |
Read the relevant data from COOL for this variable
Definition at line 71 of file variable.py.
| python.variable.DCSC_Variable.evaluator = 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 = folder_name |
Definition at line 53 of file variable.py.
| str python.variable.DCSC_Variable.input_db = 'COOLOFL_DCS/CONDBR2' |
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 = 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 = subdetector |
Definition at line 184 of file variable.py.
|
static |
Definition at line 48 of file variable.py.