CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
EcalTPGTowerStatus Class Reference

#include <EcalTPGTowerStatus.h>

Public Member Functions

 EcalTPGTowerStatus ()
 
const std::map< uint32_t, uint16_t > & getMap () const
 
void setValue (const uint32_t &id, const uint16_t &val)
 
 ~EcalTPGTowerStatus ()
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::map< uint32_t, uint16_t > map_
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 9 of file EcalTPGTowerStatus.h.

Constructor & Destructor Documentation

◆ EcalTPGTowerStatus()

EcalTPGTowerStatus::EcalTPGTowerStatus ( )

Definition at line 3 of file EcalTPGTowerStatus.cc.

3 {}

◆ ~EcalTPGTowerStatus()

EcalTPGTowerStatus::~EcalTPGTowerStatus ( )

Definition at line 5 of file EcalTPGTowerStatus.cc.

5 {}

Member Function Documentation

◆ getMap()

const std::map<uint32_t, uint16_t>& EcalTPGTowerStatus::getMap ( ) const
inline

◆ serialize()

template<class Archive >
void EcalTPGTowerStatus::serialize ( Archive &  ar,
const unsigned int  version 
)
private

◆ setValue()

void EcalTPGTowerStatus::setValue ( const uint32_t &  id,
const uint16_t &  val 
)

Definition at line 7 of file EcalTPGTowerStatus.cc.

7 { map_[id] = val; }

References triggerObjects_cff::id, map_, and heppy_batch::val.

Referenced by popcon::EcalTPGBadTTHandler::getNewObjects().

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 21 of file EcalTPGTowerStatus.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 21 of file EcalTPGTowerStatus.h.

Member Data Documentation

◆ map_

std::map<uint32_t, uint16_t> EcalTPGTowerStatus::map_
private

Definition at line 19 of file EcalTPGTowerStatus.h.

Referenced by getMap(), and setValue().

EcalTPGTowerStatus::map_
std::map< uint32_t, uint16_t > map_
Definition: EcalTPGTowerStatus.h:19
heppy_batch.val
val
Definition: heppy_batch.py:351
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:29