CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
EcalLaserAPDPNRatios Class Reference

#include <EcalLaserAPDPNRatios.h>

Classes

struct  EcalLaserAPDPNpair
 
struct  EcalLaserTimeStamp
 

Public Types

typedef EcalCondObjectContainer< EcalLaserAPDPNpairEcalLaserAPDPNRatiosMap
 
typedef std::vector< EcalLaserTimeStampEcalLaserTimeStampMap
 

Public Member Functions

 EcalLaserAPDPNRatios ()
 
const EcalLaserAPDPNRatiosMapgetLaserMap () const
 
const EcalLaserTimeStampMapgetTimeMap () const
 
void setTime (int hashedIndex, const EcalLaserTimeStamp &value)
 
void setValue (uint32_t rawId, const EcalLaserAPDPNpair &value)
 
 ~EcalLaserAPDPNRatios ()
 

Private Member Functions

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

Private Attributes

EcalLaserAPDPNRatiosMap laser_map
 
EcalLaserTimeStampMap time_map
 

Friends

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

Detailed Description

Author: Vladlen Timciuc, Caltech Created: 10 July 2007

Id
EcalLaserAPDPNRatios.h,v 1.5 2007/09/27 09:42:55 ferriff Exp

Definition at line 14 of file EcalLaserAPDPNRatios.h.

Member Typedef Documentation

◆ EcalLaserAPDPNRatiosMap

Definition at line 33 of file EcalLaserAPDPNRatios.h.

◆ EcalLaserTimeStampMap

Definition at line 34 of file EcalLaserAPDPNRatios.h.

Constructor & Destructor Documentation

◆ EcalLaserAPDPNRatios()

EcalLaserAPDPNRatios::EcalLaserAPDPNRatios ( )
inline

Definition at line 36 of file EcalLaserAPDPNRatios.h.

36 : time_map(92){}; // FIXME

◆ ~EcalLaserAPDPNRatios()

EcalLaserAPDPNRatios::~EcalLaserAPDPNRatios ( )
inline

Definition at line 37 of file EcalLaserAPDPNRatios.h.

37 {};

Member Function Documentation

◆ getLaserMap()

const EcalLaserAPDPNRatiosMap& EcalLaserAPDPNRatios::getLaserMap ( ) const
inline

◆ getTimeMap()

const EcalLaserTimeStampMap& EcalLaserAPDPNRatios::getTimeMap ( ) const
inline

Definition at line 43 of file EcalLaserAPDPNRatios.h.

43 { return time_map; }

References time_map.

Referenced by EcalTrivialObjectAnalyzer::analyze(), and EcalLaserDbService::getLaserCorrection().

◆ serialize()

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

◆ setTime()

void EcalLaserAPDPNRatios::setTime ( int  hashedIndex,
const EcalLaserTimeStamp value 
)
inline

◆ setValue()

void EcalLaserAPDPNRatios::setValue ( uint32_t  rawId,
const EcalLaserAPDPNpair value 
)
inline

Definition at line 39 of file EcalLaserAPDPNRatios.h.

39 { laser_map[rawId] = value; };

References laser_map, and relativeConstraints::value.

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

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 49 of file EcalLaserAPDPNRatios.h.

◆ cond::serialization::access

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

Definition at line 49 of file EcalLaserAPDPNRatios.h.

Member Data Documentation

◆ laser_map

EcalLaserAPDPNRatiosMap EcalLaserAPDPNRatios::laser_map
private

Definition at line 46 of file EcalLaserAPDPNRatios.h.

Referenced by getLaserMap(), and setValue().

◆ time_map

EcalLaserTimeStampMap EcalLaserAPDPNRatios::time_map
private

Definition at line 47 of file EcalLaserAPDPNRatios.h.

Referenced by getTimeMap(), and setTime().

EcalLaserAPDPNRatios::laser_map
EcalLaserAPDPNRatiosMap laser_map
Definition: EcalLaserAPDPNRatios.h:46
EcalLaserAPDPNRatios::time_map
EcalLaserTimeStampMap time_map
Definition: EcalLaserAPDPNRatios.h:47
relativeConstraints.value
value
Definition: relativeConstraints.py:53
ecalpyutils::hashedIndex
int hashedIndex(int ieta, int iphi)
Definition: EcalPyUtils.cc:38