ATLAS Offline Software
L1TopoMenuLoader.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TrigConf_L1TopoMenuLoader
6 #define TrigConf_L1TopoMenuLoader
7 
11 
12 #include <set>
13 
14 namespace TrigConf {
15 
17  class L1TopoMenuLoader : public IL1TopoMenuLoader, public DBLoader {
18  public:
19 
25  L1TopoMenuLoader( StorageMgr& sm, coral::ISessionProxy& session) :
26  IL1TopoMenuLoader(), DBLoader("L1TopoMenuLoader", sm, session) {}
27 
29  virtual ~L1TopoMenuLoader() override = default;
30 
31  virtual bool load( TXC::L1TopoMenu& ) override;
32 
33  bool loadTopoAlgos( TXC::L1TopoMenu& tcaTarget);
34 // bool loadAlgInput( TXC::L1TopoConfigAlg& tcaTarget, const int& );
35 // bool loadAlgOutput( TXC::L1TopoConfigAlg& tcaTarget, const int& ta_id, const int& );
36 // bool loadAlgRegister( TXC::L1TopoConfigAlg& tcaTarget, const int& ta_id );
37 // bool loadAlgFixed( TXC::L1TopoConfigAlg& tcaTarget, const int& ta_id );
38  bool loadOutputList( TXC::L1TopoMenu& tcaTarget, const int& ctplinkid);
39  bool loadTopoConfig( TXC::L1TopoMenu& tcaTarget);
40 
41 
42  bool loadAllAlgsInput( std::map<uint, TXC::L1TopoConfigAlg> & idToAlgMap );
43  bool loadAllAlgsOutput( std::map<uint, TXC::L1TopoConfigAlg> & idToAlgMap );
44  bool loadAllAlgsRegister( std::map<uint, TXC::L1TopoConfigAlg> & idToAlgMap );
45  bool loadAllAlgsFixed( std::map<uint, TXC::L1TopoConfigAlg> & idToAlgMap );
46 
47  };
48 }
49 
50 #endif
TrigConf::L1TopoMenuLoader::L1TopoMenuLoader
L1TopoMenuLoader(StorageMgr &sm, coral::ISessionProxy &session)
constructor
Definition: L1TopoMenuLoader.h:25
TrigConf::L1TopoMenuLoader::loadTopoConfig
bool loadTopoConfig(TXC::L1TopoMenu &tcaTarget)
Definition: L1TopoMenuLoader.cxx:672
L1TopoMenu.h
TrigConf::L1TopoMenuLoader::loadAllAlgsInput
bool loadAllAlgsInput(std::map< uint, TXC::L1TopoConfigAlg > &idToAlgMap)
Definition: L1TopoMenuLoader.cxx:152
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::L1TopoMenuLoader::loadAllAlgsOutput
bool loadAllAlgsOutput(std::map< uint, TXC::L1TopoConfigAlg > &idToAlgMap)
Definition: L1TopoMenuLoader.cxx:225
TrigConf::L1TopoMenuLoader::loadOutputList
bool loadOutputList(TXC::L1TopoMenu &tcaTarget, const int &ctplinkid)
Definition: L1TopoMenuLoader.cxx:620
TrigConf::L1TopoMenuLoader
TriggerDB loader of the HLT menu.
Definition: L1TopoMenuLoader.h:17
TrigConf::DBLoader
Base class for loaders of configurations from the TriggerDB.
Definition: DBLoader.h:20
TrigConf::L1TopoMenuLoader::loadAllAlgsRegister
bool loadAllAlgsRegister(std::map< uint, TXC::L1TopoConfigAlg > &idToAlgMap)
Definition: L1TopoMenuLoader.cxx:302
DBLoader.h
TrigConf::L1TopoMenuLoader::~L1TopoMenuLoader
virtual ~L1TopoMenuLoader() override=default
destructor
TrigConf::L1TopoMenuLoader::loadAllAlgsFixed
bool loadAllAlgsFixed(std::map< uint, TXC::L1TopoConfigAlg > &idToAlgMap)
Definition: L1TopoMenuLoader.cxx:379
IL1TopoMenuLoader.h
TrigConf::L1TopoMenuLoader::load
virtual bool load(TXC::L1TopoMenu &) override
Definition: L1TopoMenuLoader.cxx:26
TrigConf::L1TopoMenuLoader::loadTopoAlgos
bool loadTopoAlgos(TXC::L1TopoMenu &tcaTarget)
Definition: L1TopoMenuLoader.cxx:51
TrigConf::IL1TopoMenuLoader
Definition: IL1TopoMenuLoader.h:16
TXC::L1TopoMenu
Definition: L1TopoMenu.h:25