ATLAS Offline Software
ThresholdConfigLoader.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: ThresholdConfigLoader.h
8 //PACKAGE: TrigConfStorage
9 //
10 //AUTHOR: J.Haller (CERN) Johannes.Haller@cern.ch
11 //CREATED: 31. Oct. 2005
12 //
13 //PURPOSE:
14 //
15 //
17 #ifndef TrigConf_ThresholdConfigLoader
18 #define TrigConf_ThresholdConfigLoader
19 
22 
23 namespace TrigConf {
24 
26  class ThresholdConfigLoader : virtual public IThresholdConfigLoader, public DBLoader {
27  public:
28 
35  ThresholdConfigLoader( StorageMgr& sm, coral::ISessionProxy& session)
36  : DBLoader("ThresholdConfigLoader", sm, session) {}
37 
38  virtual ~ThresholdConfigLoader() override = default;
39 
40  virtual bool load( ThresholdConfig& data) override;
41 
42  private:
43 
44  void loadCaloInfo( ThresholdConfig& thrConfig, long caloInfoId );
45 
46  };
47 }
48 
49 #endif
TrigConf::ThresholdConfigLoader::load
virtual bool load(ThresholdConfig &data) override
Definition: ThresholdConfigLoader.cxx:43
TrigConf::ThresholdConfig
Definition: ThresholdConfig.h:17
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
TrigConf::ThresholdConfigLoader::~ThresholdConfigLoader
virtual ~ThresholdConfigLoader() override=default
TrigConf::StorageMgr
Database Storage Manager, controls the database session and the different loader classes for DB acces...
Definition: StorageMgr.h:23
TrigConf::ThresholdConfigLoader::ThresholdConfigLoader
ThresholdConfigLoader(StorageMgr &sm, coral::ISessionProxy &session)
constructor
Definition: ThresholdConfigLoader.h:35
TrigConf::ThresholdConfigLoader::loadCaloInfo
void loadCaloInfo(ThresholdConfig &thrConfig, long caloInfoId)
Definition: ThresholdConfigLoader.cxx:448
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition: Config.h:22
TrigConf::ThresholdConfigLoader
TriggerDB loader of the LVL1 trigger threshold configuration.
Definition: ThresholdConfigLoader.h:26
TrigConf::IThresholdConfigLoader
Definition: IThresholdConfigLoader.h:27
TrigConf::DBLoader
Base class for loaders of configurations from the TriggerDB.
Definition: DBLoader.h:20
DBLoader.h
IThresholdConfigLoader.h