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
delete x;
Definition: CaloConfig.h:22
std::vector< unsigned > uconfig_
Definition: CaloConfig.h:34
const CaloConfig * db_
unsigned fwv() const
void UpdatePayload(const CaloConfig *db)