|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TrigConf_DBLoader
6 #define TrigConf_DBLoader
10 #include "RelationalAccess/ISessionProxy.h"
bool loadL1MenuKey(int SuperMasterKey, int &Lvl1MenuKey)
get l1 menu id from super master
virtual int verbose() const override
virtual MSGTC::Level outputLevel() const override
virtual void setVerbose(int v) override
StorageMgr & m_storageMgr
reference to the storage manager
unsigned int triggerDBSchemaVersion()
coral::ISessionProxy & m_session
CORAL interface to database session.
Interface class for loaders.
virtual void setLevel(MSGTC::Level lvl) override
access to output stream
DBLoader(StorageMgr &sm, coral::ISessionProxy &session)
constructor
Database Storage Manager, controls the database session and the different loader classes for DB acces...
Forward iterator to traverse the main components of the trigger configuration.
virtual ~DBLoader() override=default
destructor
Base class for loaders of configurations from the TriggerDB.
bool m_sessionOwner
remember if the loader started the session in the first place
MsgStreamTC & msg() const
The standard message stream.
MSGTC::Level level()
Return message level of stream.
Class to provide easy access to TrigConf::MsgStream for TrigConf classes.
void commitSession()
commit session if not already done
std::tuple< unsigned int, unsigned int > loadSchemaVersion() const
get DB schema version and run number
void startSession()
start session if not already active
Messaging base class for TrigConf code shared with Lvl1 ( AthMessaging)
bool loadL1MasterKey(int SuperMasterKey, int &Lvl1MasterKey)
get l1 master from super master