![]() |
ATLAS Offline Software
|
TriggerDB loader of the HLT job options. More...
#include <JobOptionTableLoader.h>
Classes | |
| class | SplitParam |
Public Member Functions | |
| JobOptionTableLoader (StorageMgr &sm, coral::ISessionProxy &session) | |
| constructor | |
| virtual | ~JobOptionTableLoader () override=default |
| destructor | |
| virtual bool | load (TrigConfData &data) |
| void | defineQueries () |
| MsgStreamTC & | msg () const |
| The standard message stream. | |
| MsgStreamTC & | msg (const MSGTC::Level lvl) const |
| The standard message stream. | |
| virtual void | setLevel (MSGTC::Level lvl) override |
| access to output stream | |
| virtual MSGTC::Level | outputLevel () const override |
| void | startSession () |
| start session if not already active | |
| void | commitSession () |
| commit session if not already done | |
| bool | loadL1MasterKey (int SuperMasterKey, int &Lvl1MasterKey) |
| get l1 master from super master | |
| bool | loadL1MenuKey (int SuperMasterKey, int &Lvl1MenuKey) |
| get l1 menu id from super master | |
| unsigned int | triggerDBSchemaVersion () |
| virtual int | verbose () const override |
| virtual void | setVerbose (int v) override |
| bool | isRun1 () |
| bool | isRun2 () |
| bool | msgLvl (const MSGTC::Level lvl) const |
| Test the output level. | |
| const std::string & | getName () const |
| name accessor | |
Protected Attributes | |
| StorageMgr & | m_storageMgr |
| reference to the storage manager | |
| coral::ISessionProxy & | m_session |
| CORAL interface to database session. | |
| bool | m_sessionOwner {false} |
| remember if the loader started the session in the first place | |
Private Member Functions | |
| bool | load (JobOptionTable &jot) override |
| bool | loadHLTMasterTable (int SuperMasterKey, int &masterTableID, int &triggerMenuID, int &l2SetupID, int &efSetupID) |
| bool | loadComponentNamesAndParameters (TrigConf::JobOptionTable &JOTable, const std::set< int > &compIDsToLoad) |
| bool | loadComponentNamesAndParameters (TrigConf::JobOptionTable &JOTable, const std::set< int > &compIDsToLoad, std::vector< SplitParam > &splitparams, std::set< int >::const_iterator ¤t, unsigned int batchSize) |
| std::set< int > | loadComponentIDsFromSetup (const int setup_id) |
| std::set< int > | loadComponentIDsFromMenu (const int menu_id, int triggerLevel) |
| std::set< int > | getChildCompIDs (const std::set< int > &compIDs) |
| std::string | buildCond_IN_ (const std::string &field, const std::set< int > &IDs, std::set< int >::const_iterator ¤t, unsigned int batchSize) |
| unsigned int | assembleSplitParameters (JobOptionTable &jot, const std::vector< SplitParam > &splitparams) |
| unsigned int | assembleSplitParameters2 (JobOptionTable &jot, const std::vector< SplitParam > &splitparams) |
| std::tuple< unsigned int, unsigned int > | loadSchemaVersion () const |
| get DB schema version and run number | |
Private Attributes | |
| int | m_verbose {1} |
| boost::thread_specific_ptr< MsgStreamTC > | m_msg_tls |
| MsgStreamTC instance (a std::cout like with print-out levels) | |
| std::string | m_name |
TriggerDB loader of the HLT job options.
Definition at line 35 of file JobOptionTableLoader.h.
|
inline |
constructor
| sm | reference to storage manager |
| session | reference to the database session |
Definition at line 48 of file JobOptionTableLoader.h.
|
overridevirtualdefault |
destructor
|
private |
Definition at line 410 of file JobOptionTableLoader.cxx.
|
private |
Definition at line 505 of file JobOptionTableLoader.cxx.
|
private |
Definition at line 267 of file JobOptionTableLoader.cxx.
|
inherited |
commit session if not already done
Definition at line 45 of file DBLoader.cxx.
| void TrigConf::JobOptionTableLoader::defineQueries | ( | ) |
|
private |
Definition at line 334 of file JobOptionTableLoader.cxx.
|
inlineinherited |
|
inlineinherited |
Definition at line 60 of file DBLoader.h.
|
inherited |
Definition at line 54 of file DBLoader.cxx.
|
overrideprivatevirtual |
Implements TrigConf::IJobOptionTableLoader.
Definition at line 548 of file JobOptionTableLoader.cxx.
|
virtual |
Definition at line 390 of file JobOptionTableLoader.cxx.
|
private |
Definition at line 205 of file JobOptionTableLoader.cxx.
|
private |
Definition at line 167 of file JobOptionTableLoader.cxx.
|
private |
Definition at line 90 of file JobOptionTableLoader.cxx.
|
private |
|
private |
Definition at line 34 of file JobOptionTableLoader.cxx.
|
inherited |
get l1 master from super master
Definition at line 128 of file DBLoader.cxx.
|
inherited |
get l1 menu id from super master
Definition at line 167 of file DBLoader.cxx.
|
privateinherited |
get DB schema version and run number
Definition at line 81 of file DBLoader.cxx.
|
inline |
The standard message stream.
Returns a reference to the message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 52 of file TrigConfMessaging.h.
|
inline |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 58 of file TrigConfMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 75 of file TrigConfMessaging.h.
|
inlineoverridevirtualinherited |
Implements TrigConf::ILoader.
Definition at line 40 of file DBLoader.h.
|
overridevirtualinherited |
access to output stream
Implements TrigConf::ILoader.
Definition at line 60 of file DBLoader.cxx.
|
inlineoverridevirtualinherited |
|
inherited |
start session if not already active
Definition at line 35 of file DBLoader.cxx.
|
inherited |
Definition at line 76 of file DBLoader.cxx.
|
inlineoverridevirtualinherited |
|
mutableprivateinherited |
MsgStreamTC instance (a std::cout like with print-out levels)
Definition at line 71 of file TrigConfMessaging.h.
|
privateinherited |
Definition at line 72 of file TrigConfMessaging.h.
|
protectedinherited |
CORAL interface to database session.
Definition at line 68 of file DBLoader.h.
|
protectedinherited |
remember if the loader started the session in the first place
Definition at line 69 of file DBLoader.h.
|
protectedinherited |
reference to the storage manager
Definition at line 67 of file DBLoader.h.
|
privateinherited |
Definition at line 64 of file DBLoader.h.