ATLAS Offline Software
MasterTableLoader.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TrigConf_MasterTableLoader
6 #define TrigConf_MasterTableLoader
7 
10 
11 #include <string>
12 
13 namespace TrigConf {
14 
16  class MasterTableLoader : virtual public IMasterTableLoader, public DBLoader {
17  public:
18 
25  MasterTableLoader(StorageMgr& sm, coral::ISessionProxy& session) :
26  IMasterTableLoader(), DBLoader(sm, session) {}
27 
29  virtual ~MasterTableLoader() override = default;
30 
31 
32  bool load(ThresholdConfig& thrcfg) override;
33  bool load(CTPConfig& ctpc) override;
34  bool load(Muctpi& muctpi) override;
35  bool load(TXC::L1TopoMenu& l1topo) override;
36  private:
37  bool loadMasterKeys(int SuperMasterKey, int& Lvl1MasterKey, std::string & menuName);
38 
40  int mt_id_for_next_run();
41 
42  };
43 }
44 
45 #endif
46 
TrigConf::Muctpi
Definition: Muctpi.h:12
TrigConf::ThresholdConfig
Definition: ThresholdConfig.h:17
IMasterTableLoader.h
TrigConf::MasterTableLoader::~MasterTableLoader
virtual ~MasterTableLoader() override=default
destructor
TrigConf::StorageMgr
Database Storage Manager, controls the database session and the different loader classes for DB acces...
Definition: StorageMgr.h:23
TrigConf::IMasterTableLoader
Interface for loaders of the LVL1 trigger configuration.
Definition: IMasterTableLoader.h:25
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition: Config.h:22
TrigConf::DBLoader
Base class for loaders of configurations from the TriggerDB.
Definition: DBLoader.h:20
DBLoader.h
TrigConf::MasterTableLoader::MasterTableLoader
MasterTableLoader(StorageMgr &sm, coral::ISessionProxy &session)
constructor
Definition: MasterTableLoader.h:25
TrigConf::MasterTableLoader::mt_id_for_next_run
int mt_id_for_next_run()
next run configuration key (depreciated)
Definition: MasterTableLoader.cxx:181
TrigConf::CTPConfig
Definition: CTPConfig.h:27
TrigConf::MasterTableLoader::loadMasterKeys
bool loadMasterKeys(int SuperMasterKey, int &Lvl1MasterKey, std::string &menuName)
Definition: MasterTableLoader.cxx:21
TrigConf::MasterTableLoader::load
bool load(ThresholdConfig &thrcfg) override
Load the LVL1 trigger thresholds from the configuration source.
Definition: MasterTableLoader.cxx:77
TXC::L1TopoMenu
Definition: L1TopoMenu.h:25
TrigConf::MasterTableLoader
TriggerDB loader of the LVL1 trigger configuration.
Definition: MasterTableLoader.h:16