CMS 3D CMS Logo

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 () const
 
void UpdatePayload (const CaloConfig *db)
 

Private Attributes

const CaloConfigdb_
 

Detailed Description

Definition at line 12 of file CaloConfigHelper.h.

Constructor & Destructor Documentation

◆ CaloConfigHelper() [1/3]

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

Definition at line 7 of file CaloConfigHelper.cc.

References dqmiodatasetharvest::db, and fwv().

7  : db_(&db) {
8  db.uconfig_.push_back(fwv);
9  db.sconfig_.push_back(epoch);
10  }
const CaloConfig * db_
unsigned fwv() const

◆ CaloConfigHelper() [2/3]

l1t::CaloConfigHelper::CaloConfigHelper ( const CaloConfig db)

Definition at line 11 of file CaloConfigHelper.cc.

◆ CaloConfigHelper() [3/3]

l1t::CaloConfigHelper::CaloConfigHelper ( )

Definition at line 12 of file CaloConfigHelper.cc.

References dqmiodatasetharvest::db, and db_.

12  {
13  static const CaloConfig db;
14  db_ = &db;
15  }
const CaloConfig * db_

Member Function Documentation

◆ fwv()

unsigned l1t::CaloConfigHelper::fwv ( ) const
inline

Definition at line 18 of file CaloConfigHelper.h.

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

Referenced by CaloConfigHelper().

18 { return db_->uconfig_[0]; }
std::vector< unsigned > uconfig_
Definition: CaloConfig.h:34
const CaloConfig * db_

◆ UpdatePayload()

void l1t::CaloConfigHelper::UpdatePayload ( const CaloConfig db)
inline

Definition at line 17 of file CaloConfigHelper.h.

References dqmiodatasetharvest::db, and db_.

Member Data Documentation

◆ db_

const CaloConfig* l1t::CaloConfigHelper::db_
private

Definition at line 21 of file CaloConfigHelper.h.

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