|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef TRIGCONFIO_TRIGDBLOADER_H
13 #define TRIGCONFIO_TRIGDBLOADER_H
28 class QueryDefinition;
37 TrigDBLoader(
const std::string & loaderName,
const std::string & connection);
63 const std::map<size_t, QueryDefinition> & queries)
const;
char data[hepevt_bytes_allocation_ATLAS]
size_t schemaVersion(coral::ISessionProxy *session) const
access to TriggerDB schema version
Loader of trigger configurations from Json files.
Forward iterator to traverse the main components of the trigger configuration.
MSGTC::Level outputLevel() const
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.
bool writeRawFile(const coral::Blob &data, const std::string &outFileName) const
write data blob into file This can be used to write the DB content to file without going through a pt...
virtual ~TrigDBLoader() override
Destructor - cannot be defined here because QueryDefinition is an incomplete type.
void setLevel(MSGTC::Level lvl)
Messaging base class for TrigConf code shared with Lvl1 ( AthMessaging)
void setLevel(MSGTC::Level lvl)
Set message level of stream.
std::unique_ptr< coral::ISessionProxy > createDBSession() const
create (if needed) DB session and return the session proxy
QueryDefinition getQueryDefinition(size_t schemaVersion, const std::map< size_t, QueryDefinition > &queries) const
return query for given schemaVersion from possible queries
TrigDBLoader(const std::string &loaderName, const std::string &connection)
Constructor.