ATLAS Offline Software
Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
TrigConf::StorageMgr Class Reference

Database Storage Manager, controls the database session and the different loader classes for DB access. More...

#include <StorageMgr.h>

Inheritance diagram for TrigConf::StorageMgr:
Collaboration diagram for TrigConf::StorageMgr:

Public Member Functions

 StorageMgr (const std::string &cs, const std::string &user="", const std::string &password="", std::ostream &o=std::cout)
 constructor More...
 
 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)
 constructor More...
 
virtual ~StorageMgr () override
 destructor More...
 
void setLevel (MSGTC::Level lvl) override
 
void setCTPVersion (unsigned int v) override
 
void setL1Version (unsigned int v) override
 
unsigned int ctpVersion () const override
 
unsigned int l1Version () const override
 
SessionMgrsessionMgr ()
 creates and returns a new database session manager More...
 
virtual IL1TopoMenuLoaderl1topoMenuLoader () override
 
virtual IMasterTableLoadermasterTableLoader () override
 
virtual IMenuLoadermenuLoader () override
 
virtual IMuctpiLoadermuctpiLoader () override
 
virtual IDeadTimeLoaderdeadTimeLoader () override
 
virtual IPrescaledClockLoaderprescaledClockLoader () override
 
virtual IRandomLoaderrandomLoader () override
 
virtual IThresholdConfigLoaderthresholdConfigLoader () override
 
virtual ITriggerThresholdLoadertriggerThresholdLoader () override
 
virtual ITriggerThresholdValueLoadertriggerThresholdValueLoader () override
 
virtual IThresholdMonitorLoaderthresholdMonitorLoader () override
 
virtual ICTPFilesLoaderctpFilesLoader () override
 
virtual ICaloJetInputLoadercaloJetInputLoader () override
 
virtual ICaloSinCosLoadercaloSinCosLoader () override
 
virtual ICaloInfoLoadercaloInfoLoader () override
 
virtual ILutCamLoaderlutcamLoader () override
 
virtual IPrescaleSetLoaderprescaleSetLoader () override
 
virtual IPrioritySetLoaderprioritySetLoader () override
 
virtual IBunchGroupLoaderbunchGroupLoader () override
 
virtual IBunchGroupSetLoaderbunchGroupSetLoader () override
 
virtual ICTPConfigLoaderctpConfigLoader () override
 
virtual ICTPConfigLoaderctpConfigOnlineLoader () override
 
virtual IHLTFrameLoaderhltFrameLoader () override
 
virtual IJobOptionTableLoaderjobOptionTableLoader () override
 
IHLTPrescaleSetLoaderhltPrescaleSetLoader ()
 
IHLTPrescaleSetCollectionLoaderhltPrescaleSetCollectionLoader ()
 
IMuonThresholdSetLoadermuonThresholdSetLoader ()
 
void closeSession ()
 
void setUseFrontier (bool useFrontier)
 
bool useFrontier () const
 
void setRetrialPeriod (int retrialPeriod)
 
void setRetrialTimeout (int retrialTimeout)
 
void setConnectionTimeout (int connectionTimeout)
 
int retrialPeriod () const
 
int retrialTimeout () const
 
int connectionTimeout () const
 
bool msgLvl (const MSGTC::Level lvl) const
 Test the output level. More...
 
MsgStreamTCmsg () const
 The standard message stream. More...
 
MsgStreamTCmsg (const MSGTC::Level lvl) const
 The standard message stream. More...
 

Protected Attributes

IMasterTableLoaderm_masterTableLoader { nullptr }
 
IMenuLoaderm_menuLoader { nullptr }
 
IMuctpiLoaderm_muctpiLoader { nullptr }
 
IDeadTimeLoaderm_deadTimeLoader { nullptr }
 
IPrescaledClockLoaderm_prescaledClockLoader { nullptr }
 
IRandomLoaderm_randomLoader { nullptr }
 
IThresholdConfigLoaderm_thresholdConfigLoader { nullptr }
 
ITriggerThresholdLoaderm_triggerThresholdLoader { nullptr }
 
ITriggerThresholdValueLoaderm_triggerThresholdValueLoader { nullptr }
 
IThresholdMonitorLoaderm_thresholdMonitorLoader { nullptr }
 
ICTPFilesLoaderm_ctpFilesLoader { nullptr }
 
ICaloJetInputLoaderm_caloJetInputLoader { nullptr }
 
ICaloSinCosLoaderm_caloSinCosLoader { nullptr }
 
ICaloInfoLoaderm_caloInfoLoader { nullptr }
 
ILutCamLoaderm_lutCamLoader { nullptr }
 
IPrescaleSetLoaderm_prescaleSetLoader { nullptr }
 
IPrioritySetLoaderm_prioritySetLoader { nullptr }
 
IBunchGroupLoaderm_bunchGroupLoader { nullptr }
 
IBunchGroupSetLoaderm_bunchGroupSetLoader { nullptr }
 
ICTPConfigLoaderm_ctpConfigLoader { nullptr }
 
IMuonThresholdSetLoaderm_muonThresholdSetLoader { nullptr }
 
IHLTFrameLoaderm_HLTFrameLoader { nullptr }
 
IJobOptionTableLoaderm_jobOptionTableLoader { nullptr }
 
IL1TopoMenuLoaderm_l1topoMenuLoader { nullptr }
 
unsigned int m_ctpVersion { 0 }
 
unsigned int m_l1Version { 0 }
 

Private Member Functions

template<class L >
L * NewLoader ()
 

Private Attributes

IHLTPrescaleSetLoaderm_hltPrescaleSetLoader { nullptr }
 
IHLTPrescaleSetCollectionLoaderm_hltPrescaleSetCollectionLoader { nullptr }
 
SessionMgrm_sessionMgr { nullptr }
 
std::string m_cs {""}
 connection string More...
 
std::string m_dbtype {""}
 db type More...
 
std::string m_dbserver {""}
 db server More...
 
std::string m_dbname {""}
 db name More...
 
std::string m_user {""}
 user name
More...
 
std::string m_password {""}
 password
More...
 
bool m_useFrontier {false}
 using frontier to connect to oracle (if set, disables sqlite) More...
 
int m_retrialPeriod {0}
 
int m_retrialTimeout {0}
 
int m_connectionTimeout {0}
 
boost::thread_specific_ptr< MsgStreamTCm_msg_tls
 MsgStreamTC instance (a std::cout like with print-out levels) More...
 
std::string m_name
 

Detailed Description

Database Storage Manager, controls the database session and the different loader classes for DB access.

Definition at line 23 of file StorageMgr.h.

Constructor & Destructor Documentation

◆ 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
csconnection string
See also
SessionMgr::SessionMgr()
Parameters
useruser name, if not specified the XML authentication will be used
passwordpassword string (only used in connection with a user name)
ooutput stream for all messages

Definition at line 42 of file StorageMgr.cxx.

45  :
46  TrigConfMessaging("DBStorageMgr")
47  , m_cs( cs )
48  , m_user( user )
49  , m_password( pass )
50 {}

◆ 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 
)

constructor

Parameters
typeServer technology
See also
SessionMgr::SessionMgr()
Parameters
serverServer name
See also
SessionMgr::SessionMgr()
Parameters
nameDatabase name, or schema name, or alias
See also
SessionMgr::SessionMgr()
Parameters
useruser name, if not specified the XML authentication will be used
passwordpassword string (only used in connection with a user name)
ooutput stream for all messages

Definition at line 52 of file StorageMgr.cxx.

57  :
58  TrigConfMessaging("DBStorageMgr")
59  , m_dbtype( type )
60  , m_dbserver( server )
61  , m_dbname( name )
62  , m_user( user )
63  , m_password( pass )
64 {}

◆ ~StorageMgr()

StorageMgr::~StorageMgr ( )
overridevirtual

destructor

Definition at line 67 of file StorageMgr.cxx.

67  {
70  delete m_sessionMgr;
71 }

Member Function Documentation

◆ bunchGroupLoader()

TrigConf::IBunchGroupLoader & TrigConf::StorageMgr::bunchGroupLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 201 of file StorageMgr.cxx.

201  {
202  if( ! m_bunchGroupLoader ) m_bunchGroupLoader = NewLoader<BunchGroupLoader>();
203  return *m_bunchGroupLoader;
204 }

◆ bunchGroupSetLoader()

TrigConf::IBunchGroupSetLoader & TrigConf::StorageMgr::bunchGroupSetLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 206 of file StorageMgr.cxx.

206  {
207  if( ! m_bunchGroupSetLoader ) m_bunchGroupSetLoader = NewLoader<BunchGroupSetLoader>();
208  return *m_bunchGroupSetLoader;
209 }

◆ caloInfoLoader()

TrigConf::ICaloInfoLoader & TrigConf::StorageMgr::caloInfoLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 170 of file StorageMgr.cxx.

170  {
171  if( ! m_caloInfoLoader ) m_caloInfoLoader = NewLoader<CaloInfoLoader>();
172  return *m_caloInfoLoader;
173 }

◆ caloJetInputLoader()

TrigConf::ICaloJetInputLoader & TrigConf::StorageMgr::caloJetInputLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 160 of file StorageMgr.cxx.

160  {
161  if( ! m_caloJetInputLoader ) m_caloJetInputLoader = NewLoader<CaloJetInputLoader>();
162  return *m_caloJetInputLoader;
163 }

◆ caloSinCosLoader()

TrigConf::ICaloSinCosLoader & TrigConf::StorageMgr::caloSinCosLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 165 of file StorageMgr.cxx.

165  {
166  if( ! m_caloSinCosLoader ) m_caloSinCosLoader = NewLoader<CaloSinCosLoader>();
167  return *m_caloSinCosLoader;
168 }

◆ closeSession()

void StorageMgr::closeSession ( )

Definition at line 82 of file StorageMgr.cxx.

82  {
83  this->sessionMgr().closeSession();
84 }

◆ connectionTimeout()

int TrigConf::StorageMgr::connectionTimeout ( ) const
inline

Definition at line 112 of file StorageMgr.h.

112 { return m_connectionTimeout; }

◆ ctpConfigLoader()

TrigConf::ICTPConfigLoader & TrigConf::StorageMgr::ctpConfigLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 211 of file StorageMgr.cxx.

211  {
212  if( ! m_ctpConfigLoader ) m_ctpConfigLoader = NewLoader<CTPConfigLoader>();
213  return *m_ctpConfigLoader;
214 }

◆ ctpConfigOnlineLoader()

TrigConf::ICTPConfigLoader & TrigConf::StorageMgr::ctpConfigOnlineLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 216 of file StorageMgr.cxx.

216  {
217  return ctpConfigLoader();
218 }

◆ ctpFilesLoader()

TrigConf::ICTPFilesLoader & TrigConf::StorageMgr::ctpFilesLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 180 of file StorageMgr.cxx.

181 {
182  if( ! m_ctpFilesLoader ) m_ctpFilesLoader = NewLoader<CTPFilesLoader>();
183  return *m_ctpFilesLoader;
184 }

◆ ctpVersion()

unsigned int TrigConf::StorageMgr::ctpVersion ( ) const
inlineoverridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 63 of file StorageMgr.h.

63 { return m_ctpVersion; }

◆ deadTimeLoader()

TrigConf::IDeadTimeLoader & TrigConf::StorageMgr::deadTimeLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 130 of file StorageMgr.cxx.

130  {
131  if( ! m_deadTimeLoader ) m_deadTimeLoader = NewLoader<DeadTimeLoader>();
132  return *m_deadTimeLoader;
133 }

◆ hltFrameLoader()

TrigConf::IHLTFrameLoader & TrigConf::StorageMgr::hltFrameLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 225 of file StorageMgr.cxx.

225  {
226  if( ! m_HLTFrameLoader ) m_HLTFrameLoader = NewLoader<HLTFrameLoader>();
227  return *m_HLTFrameLoader;
228 }

◆ hltPrescaleSetCollectionLoader()

TrigConf::IHLTPrescaleSetCollectionLoader & TrigConf::StorageMgr::hltPrescaleSetCollectionLoader ( )

Definition at line 240 of file StorageMgr.cxx.

240  {
241  if( ! m_hltPrescaleSetCollectionLoader ) m_hltPrescaleSetCollectionLoader = NewLoader<HLTPrescaleSetCollectionLoader>();
243 }

◆ hltPrescaleSetLoader()

TrigConf::IHLTPrescaleSetLoader & TrigConf::StorageMgr::hltPrescaleSetLoader ( )

Definition at line 235 of file StorageMgr.cxx.

235  {
236  if( ! m_hltPrescaleSetLoader ) m_hltPrescaleSetLoader = NewLoader<HLTPrescaleSetLoader>();
237  return *m_hltPrescaleSetLoader;
238 }

◆ jobOptionTableLoader()

TrigConf::IJobOptionTableLoader & TrigConf::StorageMgr::jobOptionTableLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 230 of file StorageMgr.cxx.

230  {
231  if( ! m_jobOptionTableLoader ) m_jobOptionTableLoader = NewLoader<JobOptionTableLoader>();
232  return *m_jobOptionTableLoader;
233 }

◆ l1topoMenuLoader()

IL1TopoMenuLoader & StorageMgr::l1topoMenuLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 110 of file StorageMgr.cxx.

110  {
111  if (!m_l1topoMenuLoader) m_l1topoMenuLoader = NewLoader<L1TopoMenuLoader>();
112  return *m_l1topoMenuLoader;
113 }

◆ l1Version()

unsigned int TrigConf::StorageMgr::l1Version ( ) const
inlineoverridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 64 of file StorageMgr.h.

64 { return m_l1Version; }

◆ lutcamLoader()

TrigConf::ILutCamLoader & TrigConf::StorageMgr::lutcamLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 186 of file StorageMgr.cxx.

186  {
187  if( ! m_lutCamLoader ) m_lutCamLoader = NewLoader<LutCamLoader>();
188  return *m_lutCamLoader;
189 }

◆ masterTableLoader()

TrigConf::IMasterTableLoader & TrigConf::StorageMgr::masterTableLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 115 of file StorageMgr.cxx.

115  {
116  if (!m_masterTableLoader) m_masterTableLoader = NewLoader<MasterTableLoader>();
117  return *m_masterTableLoader;
118 }

◆ menuLoader()

TrigConf::IMenuLoader & TrigConf::StorageMgr::menuLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 120 of file StorageMgr.cxx.

120  {
121  if( ! m_menuLoader ) m_menuLoader = NewLoader<MenuLoader>();
122  return *m_menuLoader;
123 }

◆ 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.

82  {
83  MsgStreamTC* ms = m_msg_tls.get();
84  if (!ms) {
85  ms = new MsgStreamTC(m_name);
86  m_msg_tls.reset(ms);
87  }
88  return *ms;
89  }

◆ msg() [2/2]

MsgStreamTC & TrigConf::TrigConfMessaging::msg ( const MSGTC::Level  lvl) const
inlineinherited

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.

92  {
93  return msg() << lvl;
94  }

◆ msgLvl()

bool TrigConf::TrigConfMessaging::msgLvl ( const MSGTC::Level  lvl) const
inlineinherited

Test the output level.

Parameters
lvlThe message level to test against
Returns
boolean Indicting if messages at given level will be printed
Return values
trueMessages at level "lvl" will be printed

Definition at line 70 of file TrigConfMessaging.h.

71  {
72  if (msg().level() <= lvl) {
73  msg() << lvl;
74  return true;
75  }
76  else {
77  return false;
78  }
79  }

◆ muctpiLoader()

TrigConf::IMuctpiLoader & TrigConf::StorageMgr::muctpiLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 125 of file StorageMgr.cxx.

125  {
126  if( ! m_muctpiLoader ) m_muctpiLoader = NewLoader<MuctpiLoader>();
127  return *m_muctpiLoader;
128 }

◆ muonThresholdSetLoader()

TrigConf::IMuonThresholdSetLoader & TrigConf::StorageMgr::muonThresholdSetLoader ( )

Definition at line 220 of file StorageMgr.cxx.

220  {
221  if( ! m_muonThresholdSetLoader ) m_muonThresholdSetLoader = NewLoader<MuonThresholdSetLoader>();
222  return *m_muonThresholdSetLoader;
223 }

◆ NewLoader()

template<class L >
L* TrigConf::StorageMgr::NewLoader ( )
inlineprivate

Definition at line 117 of file StorageMgr.h.

117  {
118  return new L( *this, this->sessionMgr().createSession() );
119  }

◆ prescaledClockLoader()

TrigConf::IPrescaledClockLoader & TrigConf::StorageMgr::prescaledClockLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 135 of file StorageMgr.cxx.

135  {
136  if( ! m_prescaledClockLoader ) m_prescaledClockLoader = NewLoader<PrescaledClockLoader>();
137  return *m_prescaledClockLoader;
138 }

◆ prescaleSetLoader()

TrigConf::IPrescaleSetLoader & TrigConf::StorageMgr::prescaleSetLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 191 of file StorageMgr.cxx.

191  {
192  if( ! m_prescaleSetLoader ) m_prescaleSetLoader = NewLoader<PrescaleSetLoader>();
193  return *m_prescaleSetLoader;
194 }

◆ prioritySetLoader()

TrigConf::IPrioritySetLoader & TrigConf::StorageMgr::prioritySetLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 196 of file StorageMgr.cxx.

196  {
197  if( ! m_prioritySetLoader ) m_prioritySetLoader = NewLoader<PrioritySetLoader>();
198  return *m_prioritySetLoader;
199 }

◆ randomLoader()

TrigConf::IRandomLoader & TrigConf::StorageMgr::randomLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 140 of file StorageMgr.cxx.

140  {
141  if( ! m_randomLoader ) m_randomLoader = NewLoader<RandomLoader>();
142  return *m_randomLoader;
143 }

◆ retrialPeriod()

int TrigConf::StorageMgr::retrialPeriod ( ) const
inline

Definition at line 110 of file StorageMgr.h.

110 { return m_retrialPeriod; }

◆ retrialTimeout()

int TrigConf::StorageMgr::retrialTimeout ( ) const
inline

Definition at line 111 of file StorageMgr.h.

111 { return m_retrialTimeout; }

◆ sessionMgr()

SessionMgr & StorageMgr::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

Definition at line 108 of file StorageMgr.h.

◆ setCTPVersion()

void TrigConf::StorageMgr::setCTPVersion ( unsigned int  v)
inlineoverridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 61 of file StorageMgr.h.

61 { m_ctpVersion = v; }

◆ setL1Version()

void TrigConf::StorageMgr::setL1Version ( unsigned int  v)
inlineoverridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 62 of file StorageMgr.h.

62 { m_l1Version = v; }

◆ setLevel()

void StorageMgr::setLevel ( MSGTC::Level  lvl)
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 76 of file StorageMgr.cxx.

76  {
77  msg().setLevel(lvl);
78 }

◆ setRetrialPeriod()

void TrigConf::StorageMgr::setRetrialPeriod ( int  retrialPeriod)
inline

Definition at line 106 of file StorageMgr.h.

◆ setRetrialTimeout()

void TrigConf::StorageMgr::setRetrialTimeout ( int  retrialTimeout)
inline

Definition at line 107 of file StorageMgr.h.

◆ setUseFrontier()

void TrigConf::StorageMgr::setUseFrontier ( bool  useFrontier)
inline

Definition at line 103 of file StorageMgr.h.

◆ thresholdConfigLoader()

TrigConf::IThresholdConfigLoader & TrigConf::StorageMgr::thresholdConfigLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 145 of file StorageMgr.cxx.

145  {
146  if( ! m_thresholdConfigLoader ) m_thresholdConfigLoader = NewLoader<ThresholdConfigLoader>();
147  return *m_thresholdConfigLoader;
148 }

◆ thresholdMonitorLoader()

TrigConf::IThresholdMonitorLoader & TrigConf::StorageMgr::thresholdMonitorLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 175 of file StorageMgr.cxx.

175  {
176  if( ! m_thresholdMonitorLoader ) m_thresholdMonitorLoader = NewLoader<ThresholdMonitorLoader>();
177  return *m_thresholdMonitorLoader;
178 }

◆ triggerThresholdLoader()

TrigConf::ITriggerThresholdLoader & TrigConf::StorageMgr::triggerThresholdLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 150 of file StorageMgr.cxx.

150  {
151  if( ! m_triggerThresholdLoader ) m_triggerThresholdLoader = NewLoader<TriggerThresholdLoader>();
152  return *m_triggerThresholdLoader;
153 }

◆ triggerThresholdValueLoader()

TrigConf::ITriggerThresholdValueLoader & TrigConf::StorageMgr::triggerThresholdValueLoader ( )
overridevirtual

Implements TrigConf::IStorageMgr.

Definition at line 155 of file StorageMgr.cxx.

155  {
156  if( ! m_triggerThresholdValueLoader ) m_triggerThresholdValueLoader = NewLoader<TriggerThresholdValueLoader>();
158 }

◆ useFrontier()

bool TrigConf::StorageMgr::useFrontier ( ) const
inline

Definition at line 104 of file StorageMgr.h.

104 { return m_useFrontier; }

Member Data Documentation

◆ m_bunchGroupLoader

IBunchGroupLoader* TrigConf::StorageMgrBase::m_bunchGroupLoader { nullptr }
protectedinherited

Definition at line 70 of file StorageMgrBase.h.

◆ m_bunchGroupSetLoader

IBunchGroupSetLoader* TrigConf::StorageMgrBase::m_bunchGroupSetLoader { nullptr }
protectedinherited

Definition at line 71 of file StorageMgrBase.h.

◆ m_caloInfoLoader

ICaloInfoLoader* TrigConf::StorageMgrBase::m_caloInfoLoader { nullptr }
protectedinherited

Definition at line 66 of file StorageMgrBase.h.

◆ m_caloJetInputLoader

ICaloJetInputLoader* TrigConf::StorageMgrBase::m_caloJetInputLoader { nullptr }
protectedinherited

Definition at line 64 of file StorageMgrBase.h.

◆ m_caloSinCosLoader

ICaloSinCosLoader* TrigConf::StorageMgrBase::m_caloSinCosLoader { nullptr }
protectedinherited

Definition at line 65 of file StorageMgrBase.h.

◆ m_connectionTimeout

int TrigConf::StorageMgr::m_connectionTimeout {0}
private

Definition at line 135 of file StorageMgr.h.

◆ m_cs

std::string TrigConf::StorageMgr::m_cs {""}
private

connection string

Definition at line 125 of file StorageMgr.h.

◆ m_ctpConfigLoader

ICTPConfigLoader* TrigConf::StorageMgrBase::m_ctpConfigLoader { nullptr }
protectedinherited

Definition at line 72 of file StorageMgrBase.h.

◆ m_ctpFilesLoader

ICTPFilesLoader* TrigConf::StorageMgrBase::m_ctpFilesLoader { nullptr }
protectedinherited

Definition at line 63 of file StorageMgrBase.h.

◆ m_ctpVersion

unsigned int TrigConf::StorageMgrBase::m_ctpVersion { 0 }
protectedinherited

Definition at line 78 of file StorageMgrBase.h.

◆ m_dbname

std::string TrigConf::StorageMgr::m_dbname {""}
private

db name

Definition at line 128 of file StorageMgr.h.

◆ m_dbserver

std::string TrigConf::StorageMgr::m_dbserver {""}
private

db server

Definition at line 127 of file StorageMgr.h.

◆ m_dbtype

std::string TrigConf::StorageMgr::m_dbtype {""}
private

db type

Definition at line 126 of file StorageMgr.h.

◆ m_deadTimeLoader

IDeadTimeLoader* TrigConf::StorageMgrBase::m_deadTimeLoader { nullptr }
protectedinherited

Definition at line 56 of file StorageMgrBase.h.

◆ m_HLTFrameLoader

IHLTFrameLoader* TrigConf::StorageMgrBase::m_HLTFrameLoader { nullptr }
protectedinherited

Definition at line 74 of file StorageMgrBase.h.

◆ m_hltPrescaleSetCollectionLoader

IHLTPrescaleSetCollectionLoader* TrigConf::StorageMgr::m_hltPrescaleSetCollectionLoader { nullptr }
private

Definition at line 122 of file StorageMgr.h.

◆ m_hltPrescaleSetLoader

IHLTPrescaleSetLoader* TrigConf::StorageMgr::m_hltPrescaleSetLoader { nullptr }
private

Definition at line 121 of file StorageMgr.h.

◆ m_jobOptionTableLoader

IJobOptionTableLoader* TrigConf::StorageMgrBase::m_jobOptionTableLoader { nullptr }
protectedinherited

Definition at line 75 of file StorageMgrBase.h.

◆ m_l1topoMenuLoader

IL1TopoMenuLoader* TrigConf::StorageMgrBase::m_l1topoMenuLoader { nullptr }
protectedinherited

Definition at line 76 of file StorageMgrBase.h.

◆ m_l1Version

unsigned int TrigConf::StorageMgrBase::m_l1Version { 0 }
protectedinherited

Definition at line 79 of file StorageMgrBase.h.

◆ m_lutCamLoader

ILutCamLoader* TrigConf::StorageMgrBase::m_lutCamLoader { nullptr }
protectedinherited

Definition at line 67 of file StorageMgrBase.h.

◆ m_masterTableLoader

IMasterTableLoader* TrigConf::StorageMgrBase::m_masterTableLoader { nullptr }
protectedinherited

Definition at line 53 of file StorageMgrBase.h.

◆ m_menuLoader

IMenuLoader* TrigConf::StorageMgrBase::m_menuLoader { nullptr }
protectedinherited

Definition at line 54 of file StorageMgrBase.h.

◆ m_msg_tls

boost::thread_specific_ptr<MsgStreamTC> TrigConf::TrigConfMessaging::m_msg_tls
mutableprivateinherited

MsgStreamTC instance (a std::cout like with print-out levels)

Definition at line 66 of file TrigConfMessaging.h.

◆ m_muctpiLoader

IMuctpiLoader* TrigConf::StorageMgrBase::m_muctpiLoader { nullptr }
protectedinherited

Definition at line 55 of file StorageMgrBase.h.

◆ m_muonThresholdSetLoader

IMuonThresholdSetLoader* TrigConf::StorageMgrBase::m_muonThresholdSetLoader { nullptr }
protectedinherited

Definition at line 73 of file StorageMgrBase.h.

◆ m_name

std::string TrigConf::TrigConfMessaging::m_name
privateinherited

Definition at line 67 of file TrigConfMessaging.h.

◆ m_password

std::string TrigConf::StorageMgr::m_password {""}
private

password

Definition at line 130 of file StorageMgr.h.

◆ m_prescaledClockLoader

IPrescaledClockLoader* TrigConf::StorageMgrBase::m_prescaledClockLoader { nullptr }
protectedinherited

Definition at line 57 of file StorageMgrBase.h.

◆ m_prescaleSetLoader

IPrescaleSetLoader* TrigConf::StorageMgrBase::m_prescaleSetLoader { nullptr }
protectedinherited

Definition at line 68 of file StorageMgrBase.h.

◆ m_prioritySetLoader

IPrioritySetLoader* TrigConf::StorageMgrBase::m_prioritySetLoader { nullptr }
protectedinherited

Definition at line 69 of file StorageMgrBase.h.

◆ m_randomLoader

IRandomLoader* TrigConf::StorageMgrBase::m_randomLoader { nullptr }
protectedinherited

Definition at line 58 of file StorageMgrBase.h.

◆ m_retrialPeriod

int TrigConf::StorageMgr::m_retrialPeriod {0}
private

Definition at line 133 of file StorageMgr.h.

◆ m_retrialTimeout

int TrigConf::StorageMgr::m_retrialTimeout {0}
private

Definition at line 134 of file StorageMgr.h.

◆ m_sessionMgr

SessionMgr* TrigConf::StorageMgr::m_sessionMgr { nullptr }
private

Definition at line 124 of file StorageMgr.h.

◆ m_thresholdConfigLoader

IThresholdConfigLoader* TrigConf::StorageMgrBase::m_thresholdConfigLoader { nullptr }
protectedinherited

Definition at line 59 of file StorageMgrBase.h.

◆ m_thresholdMonitorLoader

IThresholdMonitorLoader* TrigConf::StorageMgrBase::m_thresholdMonitorLoader { nullptr }
protectedinherited

Definition at line 62 of file StorageMgrBase.h.

◆ m_triggerThresholdLoader

ITriggerThresholdLoader* TrigConf::StorageMgrBase::m_triggerThresholdLoader { nullptr }
protectedinherited

Definition at line 60 of file StorageMgrBase.h.

◆ m_triggerThresholdValueLoader

ITriggerThresholdValueLoader* TrigConf::StorageMgrBase::m_triggerThresholdValueLoader { nullptr }
protectedinherited

Definition at line 61 of file StorageMgrBase.h.

◆ 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

user name

Definition at line 129 of file StorageMgr.h.


The documentation for this class was generated from the following files:
TrigConf::StorageMgrBase::m_ctpFilesLoader
ICTPFilesLoader * m_ctpFilesLoader
Definition: StorageMgrBase.h:63
TrigConf::StorageMgrBase::m_HLTFrameLoader
IHLTFrameLoader * m_HLTFrameLoader
Definition: StorageMgrBase.h:74
TrigConf::StorageMgr::m_retrialPeriod
int m_retrialPeriod
Definition: StorageMgr.h:133
TrigConf::StorageMgrBase::m_caloInfoLoader
ICaloInfoLoader * m_caloInfoLoader
Definition: StorageMgrBase.h:66
TrigConf::SessionMgr::setDbServer
void setDbServer(const std::string &s)
Definition: SessionMgr.cxx:125
TrigConf::StorageMgr::useFrontier
bool useFrontier() const
Definition: StorageMgr.h:104
TrigConf::TrigConfMessaging::m_msg_tls
boost::thread_specific_ptr< MsgStreamTC > m_msg_tls
MsgStreamTC instance (a std::cout like with print-out levels)
Definition: TrigConfMessaging.h:66
TrigConf::StorageMgrBase::m_thresholdMonitorLoader
IThresholdMonitorLoader * m_thresholdMonitorLoader
Definition: StorageMgrBase.h:62
TrigConf::StorageMgrBase::m_muctpiLoader
IMuctpiLoader * m_muctpiLoader
Definition: StorageMgrBase.h:55
TrigConf::StorageMgr::m_dbserver
std::string m_dbserver
db server
Definition: StorageMgr.h:127
TrigConf::StorageMgr::m_useFrontier
bool m_useFrontier
using frontier to connect to oracle (if set, disables sqlite)
Definition: StorageMgr.h:131
TrigConf::StorageMgrBase::m_bunchGroupLoader
IBunchGroupLoader * m_bunchGroupLoader
Definition: StorageMgrBase.h:70
TrigConf::SessionMgr::setDbName
void setDbName(const std::string &s)
Definition: SessionMgr.cxx:131
TrigConf::StorageMgrBase::m_triggerThresholdValueLoader
ITriggerThresholdValueLoader * m_triggerThresholdValueLoader
Definition: StorageMgrBase.h:61
TrigConf::SessionMgr::setUseFrontier
void setUseFrontier(bool useFrontier)
Definition: SessionMgr.h:50
TrigConf::SessionMgr::setRetrialPeriod
void setRetrialPeriod(int retrialPeriod)
Definition: SessionMgr.h:51
TrigConf::StorageMgr::retrialPeriod
int retrialPeriod() const
Definition: StorageMgr.h:110
TrigConf::StorageMgr::m_cs
std::string m_cs
connection string
Definition: StorageMgr.h:125
TrigConf::StorageMgr::m_user
std::string m_user
user name
Definition: StorageMgr.h:129
python.SystemOfUnits.ms
int ms
Definition: SystemOfUnits.py:132
TrigConf::SessionMgr
Manager of the database session.
Definition: SessionMgr.h:30
TrigConf::StorageMgrBase::m_lutCamLoader
ILutCamLoader * m_lutCamLoader
Definition: StorageMgrBase.h:67
TrigConf::StorageMgr::m_password
std::string m_password
password
Definition: StorageMgr.h:130
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
TrigConf::StorageMgr::ctpConfigLoader
virtual ICTPConfigLoader & ctpConfigLoader() override
Definition: StorageMgr.cxx:211
TrigConf::StorageMgr::m_sessionMgr
SessionMgr * m_sessionMgr
Definition: StorageMgr.h:124
TrigConf::StorageMgrBase::m_masterTableLoader
IMasterTableLoader * m_masterTableLoader
Definition: StorageMgrBase.h:53
TrigConf::StorageMgrBase::m_caloSinCosLoader
ICaloSinCosLoader * m_caloSinCosLoader
Definition: StorageMgrBase.h:65
TrigConf::StorageMgr::m_dbname
std::string m_dbname
db name
Definition: StorageMgr.h:128
TrigConf::TrigConfMessaging::m_name
std::string m_name
Definition: TrigConfMessaging.h:67
TrigConf::StorageMgrBase::m_menuLoader
IMenuLoader * m_menuLoader
Definition: StorageMgrBase.h:54
TrigConf::TrigConfMessaging::msg
MsgStreamTC & msg() const
The standard message stream.
Definition: TrigConfMessaging.h:81
TrigConf::TrigConfMessaging::TrigConfMessaging
TrigConfMessaging()=delete
TrigConf::StorageMgrBase::m_l1topoMenuLoader
IL1TopoMenuLoader * m_l1topoMenuLoader
Definition: StorageMgrBase.h:76
TrigConf::StorageMgr::retrialTimeout
int retrialTimeout() const
Definition: StorageMgr.h:111
TrigConf::StorageMgrBase::m_thresholdConfigLoader
IThresholdConfigLoader * m_thresholdConfigLoader
Definition: StorageMgrBase.h:59
TrigConf::StorageMgrBase::m_deadTimeLoader
IDeadTimeLoader * m_deadTimeLoader
Definition: StorageMgrBase.h:56
TrigConf::StorageMgr::m_connectionTimeout
int m_connectionTimeout
Definition: StorageMgr.h:135
TrigConf::name
Definition: HLTChainList.h:35
TrigConf::StorageMgrBase::m_randomLoader
IRandomLoader * m_randomLoader
Definition: StorageMgrBase.h:58
TrigConf::StorageMgrBase::m_ctpVersion
unsigned int m_ctpVersion
Definition: StorageMgrBase.h:78
TrigConf::StorageMgr::sessionMgr
SessionMgr & sessionMgr()
creates and returns a new database session manager
Definition: StorageMgr.cxx:88
WriteBchToCool.user
user
Definition: WriteBchToCool.py:76
TrigConf::StorageMgrBase::m_prescaleSetLoader
IPrescaleSetLoader * m_prescaleSetLoader
Definition: StorageMgrBase.h:68
python.PyAthena.v
v
Definition: PyAthena.py:154
TrigConf::StorageMgrBase::m_prioritySetLoader
IPrioritySetLoader * m_prioritySetLoader
Definition: StorageMgrBase.h:69
TrigConf::StorageMgr::m_hltPrescaleSetLoader
IHLTPrescaleSetLoader * m_hltPrescaleSetLoader
Definition: StorageMgr.h:121
TrigConf::StorageMgr::m_dbtype
std::string m_dbtype
db type
Definition: StorageMgr.h:126
TrigConf::SessionMgr::setDbPassword
void setDbPassword(const std::string &s)
Definition: SessionMgr.cxx:143
TrigConf::StorageMgrBase::m_prescaledClockLoader
IPrescaledClockLoader * m_prescaledClockLoader
Definition: StorageMgrBase.h:57
TrigConf::StorageMgr::connectionTimeout
int connectionTimeout() const
Definition: StorageMgr.h:112
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TrigConf::SessionMgr::setRetrialTimeout
void setRetrialTimeout(int retrialTimeout)
Definition: SessionMgr.h:52
TrigConf::StorageMgrBase::m_muonThresholdSetLoader
IMuonThresholdSetLoader * m_muonThresholdSetLoader
Definition: StorageMgrBase.h:73
TrigConf::SessionMgr::closeSession
void closeSession()
close open sessions
Definition: SessionMgr.cxx:59
TrigConf::StorageMgr::m_retrialTimeout
int m_retrialTimeout
Definition: StorageMgr.h:134
TrigConf::SessionMgr::setDbUser
void setDbUser(const std::string &s)
Definition: SessionMgr.cxx:137
TrigConf::MsgStreamTC::setLevel
void setLevel(MSGTC::Level lvl)
Set message level of stream.
Definition: Trigger/TrigConfiguration/TrigConfBase/Root/MsgStream.cxx:52
TrigConf::StorageMgrBase::m_l1Version
unsigned int m_l1Version
Definition: StorageMgrBase.h:79
python.html.AtlRunQueryDQSummary.server
server
Definition: AtlRunQueryDQSummary.py:22
TrigConf::StorageMgr::m_hltPrescaleSetCollectionLoader
IHLTPrescaleSetCollectionLoader * m_hltPrescaleSetCollectionLoader
Definition: StorageMgr.h:122
TrigConf::StorageMgrBase::m_bunchGroupSetLoader
IBunchGroupSetLoader * m_bunchGroupSetLoader
Definition: StorageMgrBase.h:71
TrigConf::StorageMgrBase::m_jobOptionTableLoader
IJobOptionTableLoader * m_jobOptionTableLoader
Definition: StorageMgrBase.h:75
TrigConf::SessionMgr::setConnectionTimeout
void setConnectionTimeout(int connectionTimeout)
Definition: SessionMgr.h:53
TrigConf::SessionMgr::setConnectionString
void setConnectionString(const std::string &connStr)
Definition: SessionMgr.h:49
TrigConf::StorageMgrBase::m_triggerThresholdLoader
ITriggerThresholdLoader * m_triggerThresholdLoader
Definition: StorageMgrBase.h:60
TrigConf::SessionMgr::setDbType
void setDbType(const std::string &s)
Definition: SessionMgr.cxx:119
TrigConf::StorageMgrBase::m_ctpConfigLoader
ICTPConfigLoader * m_ctpConfigLoader
Definition: StorageMgrBase.h:72
TrigConf::StorageMgrBase::m_caloJetInputLoader
ICaloJetInputLoader * m_caloJetInputLoader
Definition: StorageMgrBase.h:64