this class provides access to the HLT algorithm configuration
the methods are self-explanatory for people with knowledge of the configuration
Definition at line 100 of file HLTTriggerConfigAccess.py.
◆ __init__()
def python.HLTTriggerConfigAccess.HLTJobOptionsAccess.__init__ |
( |
|
self, |
|
|
|
filename = None , |
|
|
|
dbalias = None , |
|
|
|
smkey = None , |
|
|
|
useCrest = False , |
|
|
|
crestServer = "" |
|
) |
| |
accessor needs to be initialized with either a filename or the dbalias and smkey
Definition at line 105 of file HLTTriggerConfigAccess.py.
105 def __init__(self, filename = None, dbalias = None, smkey = None,
106 useCrest = False, crestServer = ""):
108 accessor needs to be initialized with either a filename or the dbalias and smkey
110 super().
__init__(ConfigType.HLTJO, mainkey =
"properties",
111 filename = filename, dbalias = dbalias, dbkey = smkey,
112 useCrest=useCrest, crestServer=crestServer)
113 self.loader.setQuery({
114 2:
"SELECT JO.HJO_DATA FROM {schema}.SUPER_MASTER_TABLE SMT, {schema}.HLT_JOBOPTIONS JO WHERE JO.HJO_ID=SMT.SMT_HLT_JOBOPTIONS_ID AND SMT.SMT_ID=:dbkey",
115 1:
"SELECT JO.JO_CONTENT FROM {schema}.SUPER_MASTER_TABLE SMT, {schema}.JO_MASTER_TABLE JO WHERE JO.JO_ID=SMT.SMT_JO_MASTER_TABLE_ID AND SMT.SMT_ID=:dbkey"
118 if smkey
is not None:
119 log.info(f
"Loaded HLT job options {self.name()} with {len(self)} algorithms from {dbalias} with smk {smkey}{' using CREST' if useCrest else ''}")
120 elif filename
is not None:
121 log.info(f
"Loaded HLT job options {self.name()} with {len(self)} chains from file {filename}")
◆ algorithmNames()
def python.HLTTriggerConfigAccess.HLTJobOptionsAccess.algorithmNames |
( |
|
self | ) |
|
◆ algorithms()
def python.HLTTriggerConfigAccess.HLTJobOptionsAccess.algorithms |
( |
|
self | ) |
|
◆ name()
def python.HLTTriggerConfigAccess.HLTJobOptionsAccess.name |
( |
|
self | ) |
|
◆ printSummary()
def python.HLTTriggerConfigAccess.HLTJobOptionsAccess.printSummary |
( |
|
self | ) |
|
◆ properties()
def python.HLTTriggerConfigAccess.HLTJobOptionsAccess.properties |
( |
|
self, |
|
|
|
algName |
|
) |
| |
The documentation for this class was generated from the following file: