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 (CaloConfig &db)
 
unsigned fwv ()
 

Private Attributes

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 db_, 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
std::vector< unsigned > uconfig_
Definition: CaloConfig.h:37
std::vector< std::string > sconfig_
Definition: CaloConfig.h:38
l1t::CaloConfigHelper::CaloConfigHelper ( CaloConfig db)

Definition at line 11 of file CaloConfigHelper.cc.

11  : db_(db) {
12 
13  }
tuple db
Definition: EcalCondDB.py:151

Member Function Documentation

unsigned l1t::CaloConfigHelper::fwv ( )
inline

Definition at line 16 of file CaloConfigHelper.h.

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

16 { return db_.uconfig_[0]; }
std::vector< unsigned > uconfig_
Definition: CaloConfig.h:37

Member Data Documentation

CaloConfig& l1t::CaloConfigHelper::db_
private

Definition at line 18 of file CaloConfigHelper.h.

Referenced by CaloConfigHelper(), and fwv().