CMS 3D CMS Logo

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

#include <EcalTPGStripStatus.h>

Public Member Functions

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

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 EcalTPGStripStatus.h.

Constructor & Destructor Documentation

◆ EcalTPGStripStatus()

EcalTPGStripStatus::EcalTPGStripStatus ( )

Definition at line 3 of file EcalTPGStripStatus.cc.

3 {}

◆ ~EcalTPGStripStatus()

EcalTPGStripStatus::~EcalTPGStripStatus ( )

Definition at line 5 of file EcalTPGStripStatus.cc.

5 {}

Member Function Documentation

◆ getMap()

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

Definition at line 15 of file EcalTPGStripStatus.h.

References map_.

Referenced by ecaldqm::TrigPrimTask::beginEvent(), ecaldqm::TrigPrimTask::runOnRealTPs(), and EcalFenixStripFormatEE::setParameters().

15 { return map_; }
std::map< uint32_t, uint16_t > map_

◆ serialize()

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

◆ setValue()

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

Definition at line 7 of file EcalTPGStripStatus.cc.

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

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

7 { map_[id] = val; }
std::map< uint32_t, uint16_t > map_

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 21 of file EcalTPGStripStatus.h.

◆ cond::serialization::access

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

Definition at line 21 of file EcalTPGStripStatus.h.

Member Data Documentation

◆ map_

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

Definition at line 19 of file EcalTPGStripStatus.h.

Referenced by getMap(), and setValue().