test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
l1t::CaloConfigHelper Class Reference

#include <CaloConfigHelper.h>

Public Member Functions

 CaloConfigHelper (CaloConfig &db, unsigned fwv, std::string epoch)
 
 CaloConfigHelper (const CaloConfig &db)
 
 CaloConfigHelper ()
 
unsigned fwv ()
 
void UpdatePayload (const CaloConfig *db)
 

Private Attributes

const CaloConfigdb_
 

Detailed Description

Definition at line 12 of file CaloConfigHelper.h.

Constructor & Destructor Documentation

l1t::CaloConfigHelper::CaloConfigHelper ( CaloConfig db,
unsigned  fwv,
std::string  epoch 
)

Definition at line 7 of file CaloConfigHelper.cc.

References l1t::CaloConfig::sconfig_, and l1t::CaloConfig::uconfig_.

7  : db_(&db) {
8  db.uconfig_.push_back(fwv);
9  db.sconfig_.push_back(epoch);
10  }
tuple db
Definition: EcalCondDB.py:151
const CaloConfig * db_
l1t::CaloConfigHelper::CaloConfigHelper ( const CaloConfig db)

Definition at line 11 of file CaloConfigHelper.cc.

11  : db_(&db) {
12 
13  }
tuple db
Definition: EcalCondDB.py:151
const CaloConfig * db_
l1t::CaloConfigHelper::CaloConfigHelper ( )

Definition at line 14 of file CaloConfigHelper.cc.

References EcalCondDB::db, and db_.

14  {
15  static CaloConfig db;
16  db_ = &db;
17  }
tuple db
Definition: EcalCondDB.py:151
const CaloConfig * db_

Member Function Documentation

unsigned l1t::CaloConfigHelper::fwv ( )
inline

Definition at line 19 of file CaloConfigHelper.h.

References db_, and l1t::CaloConfig::uconfig_.

19 { return db_->uconfig_[0]; }
std::vector< unsigned > uconfig_
Definition: CaloConfig.h:37
const CaloConfig * db_
void l1t::CaloConfigHelper::UpdatePayload ( const CaloConfig db)
inline

Definition at line 18 of file CaloConfigHelper.h.

References EcalCondDB::db, and db_.

18 { db_ = db; }
tuple db
Definition: EcalCondDB.py:151
const CaloConfig * db_

Member Data Documentation

const CaloConfig* l1t::CaloConfigHelper::db_
private

Definition at line 21 of file CaloConfigHelper.h.

Referenced by CaloConfigHelper(), fwv(), and UpdatePayload().