|
ATLAS Offline Software
|
Database Storage Manager, controls the database session and the different loader classes for DB access.
More...
#include <StorageMgr.h>
Database Storage Manager, controls the database session and the different loader classes for DB access.
Definition at line 23 of file StorageMgr.h.
◆ StorageMgr() [1/2]
TrigConf::StorageMgr::StorageMgr |
( |
const std::string & |
cs, |
|
|
const std::string & |
user = "" , |
|
|
const std::string & |
password = "" , |
|
|
std::ostream & |
o = std::cout |
|
) |
| |
constructor
- Parameters
-
- See also
- SessionMgr::SessionMgr()
- Parameters
-
user | user name, if not specified the XML authentication will be used |
password | password string (only used in connection with a user name) |
o | output stream for all messages |
Definition at line 42 of file StorageMgr.cxx.
◆ StorageMgr() [2/2]
TrigConf::StorageMgr::StorageMgr |
( |
const std::string & |
type, |
|
|
const std::string & |
server, |
|
|
const std::string & |
name, |
|
|
const std::string & |
user, |
|
|
const std::string & |
password, |
|
|
std::ostream & |
o = std::cout |
|
) |
| |
◆ ~StorageMgr()
StorageMgr::~StorageMgr |
( |
| ) |
|
|
overridevirtual |
◆ bunchGroupLoader()
◆ bunchGroupSetLoader()
◆ caloInfoLoader()
◆ caloJetInputLoader()
◆ caloSinCosLoader()
◆ closeSession()
void StorageMgr::closeSession |
( |
| ) |
|
◆ connectionTimeout()
int TrigConf::StorageMgr::connectionTimeout |
( |
| ) |
const |
|
inline |
◆ ctpConfigLoader()
◆ ctpConfigOnlineLoader()
◆ ctpFilesLoader()
◆ ctpVersion()
unsigned int TrigConf::StorageMgr::ctpVersion |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ deadTimeLoader()
◆ hltFrameLoader()
◆ hltPrescaleSetCollectionLoader()
◆ hltPrescaleSetLoader()
◆ jobOptionTableLoader()
◆ l1topoMenuLoader()
◆ l1Version()
unsigned int TrigConf::StorageMgr::l1Version |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ lutcamLoader()
◆ masterTableLoader()
◆ menuLoader()
◆ msg() [1/2]
MsgStreamTC & TrigConf::TrigConfMessaging::msg |
( |
| ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 81 of file TrigConfMessaging.h.
◆ msg() [2/2]
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 91 of file TrigConfMessaging.h.
◆ msgLvl()
Test the output level.
- Parameters
-
lvl | The message level to test against |
- Returns
- boolean Indicting if messages at given level will be printed
- Return values
-
true | Messages at level "lvl" will be printed |
Definition at line 70 of file TrigConfMessaging.h.
◆ muctpiLoader()
◆ muonThresholdSetLoader()
◆ NewLoader()
template<class L >
L* TrigConf::StorageMgr::NewLoader |
( |
| ) |
|
|
inlineprivate |
◆ prescaledClockLoader()
◆ prescaleSetLoader()
◆ prioritySetLoader()
◆ randomLoader()
◆ retrialPeriod()
int TrigConf::StorageMgr::retrialPeriod |
( |
| ) |
const |
|
inline |
◆ retrialTimeout()
int TrigConf::StorageMgr::retrialTimeout |
( |
| ) |
const |
|
inline |
◆ sessionMgr()
creates and returns a new database session manager
Definition at line 88 of file StorageMgr.cxx.
◆ setConnectionTimeout()
void TrigConf::StorageMgr::setConnectionTimeout |
( |
int |
connectionTimeout | ) |
|
|
inline |
◆ setCTPVersion()
void TrigConf::StorageMgr::setCTPVersion |
( |
unsigned int |
v | ) |
|
|
inlineoverridevirtual |
◆ setL1Version()
void TrigConf::StorageMgr::setL1Version |
( |
unsigned int |
v | ) |
|
|
inlineoverridevirtual |
◆ setLevel()
◆ setRetrialPeriod()
void TrigConf::StorageMgr::setRetrialPeriod |
( |
int |
retrialPeriod | ) |
|
|
inline |
◆ setRetrialTimeout()
void TrigConf::StorageMgr::setRetrialTimeout |
( |
int |
retrialTimeout | ) |
|
|
inline |
◆ setUseFrontier()
void TrigConf::StorageMgr::setUseFrontier |
( |
bool |
useFrontier | ) |
|
|
inline |
◆ thresholdConfigLoader()
◆ thresholdMonitorLoader()
◆ triggerThresholdLoader()
◆ triggerThresholdValueLoader()
◆ useFrontier()
bool TrigConf::StorageMgr::useFrontier |
( |
| ) |
const |
|
inline |
◆ m_bunchGroupLoader
◆ m_bunchGroupSetLoader
◆ m_caloInfoLoader
◆ m_caloJetInputLoader
◆ m_caloSinCosLoader
◆ m_connectionTimeout
int TrigConf::StorageMgr::m_connectionTimeout {0} |
|
private |
◆ m_cs
std::string TrigConf::StorageMgr::m_cs {""} |
|
private |
◆ m_ctpConfigLoader
◆ m_ctpFilesLoader
◆ m_ctpVersion
unsigned int TrigConf::StorageMgrBase::m_ctpVersion { 0 } |
|
protectedinherited |
◆ m_dbname
std::string TrigConf::StorageMgr::m_dbname {""} |
|
private |
◆ m_dbserver
std::string TrigConf::StorageMgr::m_dbserver {""} |
|
private |
◆ m_dbtype
std::string TrigConf::StorageMgr::m_dbtype {""} |
|
private |
◆ m_deadTimeLoader
◆ m_HLTFrameLoader
◆ m_hltPrescaleSetCollectionLoader
◆ m_hltPrescaleSetLoader
◆ m_jobOptionTableLoader
◆ m_l1topoMenuLoader
◆ m_l1Version
unsigned int TrigConf::StorageMgrBase::m_l1Version { 0 } |
|
protectedinherited |
◆ m_lutCamLoader
ILutCamLoader* TrigConf::StorageMgrBase::m_lutCamLoader { nullptr } |
|
protectedinherited |
◆ m_masterTableLoader
◆ m_menuLoader
IMenuLoader* TrigConf::StorageMgrBase::m_menuLoader { nullptr } |
|
protectedinherited |
◆ m_msg_tls
boost::thread_specific_ptr<MsgStreamTC> TrigConf::TrigConfMessaging::m_msg_tls |
|
mutableprivateinherited |
◆ m_muctpiLoader
IMuctpiLoader* TrigConf::StorageMgrBase::m_muctpiLoader { nullptr } |
|
protectedinherited |
◆ m_muonThresholdSetLoader
◆ m_name
std::string TrigConf::TrigConfMessaging::m_name |
|
privateinherited |
◆ m_password
std::string TrigConf::StorageMgr::m_password {""} |
|
private |
◆ m_prescaledClockLoader
◆ m_prescaleSetLoader
◆ m_prioritySetLoader
◆ m_randomLoader
IRandomLoader* TrigConf::StorageMgrBase::m_randomLoader { nullptr } |
|
protectedinherited |
◆ m_retrialPeriod
int TrigConf::StorageMgr::m_retrialPeriod {0} |
|
private |
◆ m_retrialTimeout
int TrigConf::StorageMgr::m_retrialTimeout {0} |
|
private |
◆ m_sessionMgr
SessionMgr* TrigConf::StorageMgr::m_sessionMgr { nullptr } |
|
private |
◆ m_thresholdConfigLoader
◆ m_thresholdMonitorLoader
◆ m_triggerThresholdLoader
◆ m_triggerThresholdValueLoader
◆ m_useFrontier
bool TrigConf::StorageMgr::m_useFrontier {false} |
|
private |
using frontier to connect to oracle (if set, disables sqlite)
Definition at line 131 of file StorageMgr.h.
◆ m_user
std::string TrigConf::StorageMgr::m_user {""} |
|
private |
The documentation for this class was generated from the following files:
ICTPFilesLoader * m_ctpFilesLoader
IHLTFrameLoader * m_HLTFrameLoader
ICaloInfoLoader * m_caloInfoLoader
void setDbServer(const std::string &s)
boost::thread_specific_ptr< MsgStreamTC > m_msg_tls
MsgStreamTC instance (a std::cout like with print-out levels)
IThresholdMonitorLoader * m_thresholdMonitorLoader
IMuctpiLoader * m_muctpiLoader
std::string m_dbserver
db server
bool m_useFrontier
using frontier to connect to oracle (if set, disables sqlite)
IBunchGroupLoader * m_bunchGroupLoader
void setDbName(const std::string &s)
ITriggerThresholdValueLoader * m_triggerThresholdValueLoader
void setUseFrontier(bool useFrontier)
void setRetrialPeriod(int retrialPeriod)
int retrialPeriod() const
std::string m_cs
connection string
std::string m_user
user name
Manager of the database session.
ILutCamLoader * m_lutCamLoader
std::string m_password
password
virtual ICTPConfigLoader & ctpConfigLoader() override
SessionMgr * m_sessionMgr
IMasterTableLoader * m_masterTableLoader
ICaloSinCosLoader * m_caloSinCosLoader
std::string m_dbname
db name
IMenuLoader * m_menuLoader
MsgStreamTC & msg() const
The standard message stream.
TrigConfMessaging()=delete
IL1TopoMenuLoader * m_l1topoMenuLoader
int retrialTimeout() const
IThresholdConfigLoader * m_thresholdConfigLoader
IDeadTimeLoader * m_deadTimeLoader
IRandomLoader * m_randomLoader
unsigned int m_ctpVersion
SessionMgr & sessionMgr()
creates and returns a new database session manager
IPrescaleSetLoader * m_prescaleSetLoader
IPrioritySetLoader * m_prioritySetLoader
IHLTPrescaleSetLoader * m_hltPrescaleSetLoader
std::string m_dbtype
db type
void setDbPassword(const std::string &s)
IPrescaledClockLoader * m_prescaledClockLoader
int connectionTimeout() const
void setRetrialTimeout(int retrialTimeout)
IMuonThresholdSetLoader * m_muonThresholdSetLoader
void closeSession()
close open sessions
void setDbUser(const std::string &s)
void setLevel(MSGTC::Level lvl)
Set message level of stream.
IHLTPrescaleSetCollectionLoader * m_hltPrescaleSetCollectionLoader
IBunchGroupSetLoader * m_bunchGroupSetLoader
IJobOptionTableLoader * m_jobOptionTableLoader
void setConnectionTimeout(int connectionTimeout)
void setConnectionString(const std::string &connStr)
ITriggerThresholdLoader * m_triggerThresholdLoader
void setDbType(const std::string &s)
ICTPConfigLoader * m_ctpConfigLoader
ICaloJetInputLoader * m_caloJetInputLoader