CMS 3D CMS Logo

CaloConfigHelper.h
Go to the documentation of this file.
1 // CaloConfigHelper.h
2 //
3 // Wrapper class for CaloConfig
4 
5 #ifndef CALO_CONFIG_HELPER_H__
6 #define CALO_CONFIG_HELPER_H__
7 
9 
10 namespace l1t {
11 
13  public:
14  CaloConfigHelper(CaloConfig& db, unsigned fwv, std::string epoch);
17  void UpdatePayload(const CaloConfig* db) { db_ = db; }
18  unsigned fwv() const { return db_->uconfig_[0]; }
19 
20  private:
21  const CaloConfig* db_; // We do not own this pointer...
22  };
23 } // namespace l1t
24 
25 #endif
l1t::CaloConfig
Definition: CaloConfig.h:24
dqmiodatasetharvest.db
db
Definition: dqmiodatasetharvest.py:119
l1t::CaloConfig::uconfig_
std::vector< unsigned > uconfig_
Definition: CaloConfig.h:34
l1t::CaloConfigHelper::db_
const CaloConfig * db_
Definition: CaloConfigHelper.h:21
l1t
delete x;
Definition: CaloConfig.h:22
l1t::CaloConfigHelper
Definition: CaloConfigHelper.h:12
l1t::CaloConfigHelper::fwv
unsigned fwv() const
Definition: CaloConfigHelper.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
l1t::CaloConfigHelper::CaloConfigHelper
CaloConfigHelper()
Definition: CaloConfigHelper.cc:12
CaloConfig.h
l1t::CaloConfigHelper::UpdatePayload
void UpdatePayload(const CaloConfig *db)
Definition: CaloConfigHelper.h:17