ATLAS Offline Software
TriggerThresholdLoader.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 //
7 //NAME: TriggerThresholdLoader.h
8 //PACKAGE: TrigConfStorage
9 //
10 //AUTHOR: Johannes Haller (CERN) Johannes.Haller@cern.ch
11 //CREATED: 31. Oct. 2005
12 //
13 //PURPOSE:
14 //
15 //
17 
18 #ifndef TrigConf_TriggerThresholdLoader
19 #define TrigConf_TriggerThresholdLoader
20 
23 
24 namespace TrigConf {
25 
27  class TriggerThresholdLoader : virtual public ITriggerThresholdLoader, public DBLoader {
28  public:
29 
36  TriggerThresholdLoader( StorageMgr& sm, coral::ISessionProxy& session) :
37  DBLoader("TriggerThresholdLoader", sm, session), m_MenuId(0), m_LoadCableInfo(true) {}
38 
40  virtual ~TriggerThresholdLoader() override = default;
41 
42  virtual bool load( TriggerThreshold& data) override;
43 
44  void setLoadCableInfo(bool b) { m_LoadCableInfo = b; }
45  bool loadCableInfo() { return m_LoadCableInfo; }
46 
47  void setMenuId(const int& id);
48  int menuId();
49 
50  private:
51  int m_MenuId;
53  };
54 }
55 
56 #endif
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
TrigConf::TriggerThresholdLoader::TriggerThresholdLoader
TriggerThresholdLoader(StorageMgr &sm, coral::ISessionProxy &session)
constructor
Definition: TriggerThresholdLoader.h:36
TrigConf::TriggerThresholdLoader::load
virtual bool load(TriggerThreshold &data) override
Definition: TriggerThresholdLoader.cxx:30
ITriggerThresholdLoader.h
TrigConf::ITriggerThresholdLoader
Definition: ITriggerThresholdLoader.h:27
TrigConf::StorageMgr
Database Storage Manager, controls the database session and the different loader classes for DB acces...
Definition: StorageMgr.h:23
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition: Config.h:22
TrigConf::TriggerThresholdLoader::setMenuId
void setMenuId(const int &id)
Definition: TriggerThresholdLoader.cxx:270
TrigConf::DBLoader
Base class for loaders of configurations from the TriggerDB.
Definition: DBLoader.h:20
TrigConf::TriggerThresholdLoader::~TriggerThresholdLoader
virtual ~TriggerThresholdLoader() override=default
destructor
DBLoader.h
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
TrigConf::TriggerThresholdLoader::menuId
int menuId()
Definition: TriggerThresholdLoader.cxx:275
TrigConf::TriggerThresholdLoader
TriggerDB loader of the LVL1 trigger thresholds.
Definition: TriggerThresholdLoader.h:27
TrigConf::TriggerThresholdLoader::loadCableInfo
bool loadCableInfo()
Definition: TriggerThresholdLoader.h:45
TrigConf::TriggerThresholdLoader::setLoadCableInfo
void setLoadCableInfo(bool b)
Definition: TriggerThresholdLoader.h:44
TrigConf::TriggerThresholdLoader::m_LoadCableInfo
bool m_LoadCableInfo
Definition: TriggerThresholdLoader.h:52
TrigConf::TriggerThreshold
Definition: TriggerThreshold.h:20
TrigConf::TriggerThresholdLoader::m_MenuId
int m_MenuId
Definition: TriggerThresholdLoader.h:51