CMS 3D CMS Logo

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

#include <EcalTimeDependentCorrections.h>

Classes

struct  Times
 
struct  Values
 

Public Types

typedef std::vector< TimesEcalTimeMap
 
typedef EcalCondObjectContainer< ValuesEcalValueMap
 

Public Member Functions

 EcalTimeDependentCorrections ()
 
const EcalTimeMapgetTimeMap () const
 
const EcalValueMapgetValueMap () const
 
void setTime (int hashedIndex, const Times &value)
 
void setValue (uint32_t rawId, const Values &value)
 
 ~EcalTimeDependentCorrections ()
 

Private Member Functions

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

Private Attributes

EcalTimeMap time_map
 
EcalValueMap value_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.6 2009/06/24 09:42:27 fra Exp

Definition at line 14 of file EcalTimeDependentCorrections.h.

Member Typedef Documentation

◆ EcalTimeMap

Definition at line 34 of file EcalTimeDependentCorrections.h.

◆ EcalValueMap

Definition at line 33 of file EcalTimeDependentCorrections.h.

Constructor & Destructor Documentation

◆ EcalTimeDependentCorrections()

EcalTimeDependentCorrections::EcalTimeDependentCorrections ( )
inline

Definition at line 36 of file EcalTimeDependentCorrections.h.

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

◆ ~EcalTimeDependentCorrections()

EcalTimeDependentCorrections::~EcalTimeDependentCorrections ( )
inline

Definition at line 37 of file EcalTimeDependentCorrections.h.

37 {};

Member Function Documentation

◆ getTimeMap()

const EcalTimeMap& EcalTimeDependentCorrections::getTimeMap ( ) const
inline

Definition at line 43 of file EcalTimeDependentCorrections.h.

43 { return time_map; }

References time_map.

Referenced by EcalLaserDbService::getLaserCorrection().

◆ getValueMap()

const EcalValueMap& EcalTimeDependentCorrections::getValueMap ( ) const
inline

Definition at line 40 of file EcalTimeDependentCorrections.h.

40 { return value_map; }

References value_map.

Referenced by EcalLaserDbService::getLaserCorrection().

◆ serialize()

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

◆ setTime()

void EcalTimeDependentCorrections::setTime ( int  hashedIndex,
const Times value 
)
inline

◆ setValue()

void EcalTimeDependentCorrections::setValue ( uint32_t  rawId,
const Values value 
)
inline

Definition at line 39 of file EcalTimeDependentCorrections.h.

39 { value_map[rawId] = value; };

References relativeConstraints::value, and value_map.

Referenced by EcalTestDevDB::generateEcalLinearCorrections().

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 49 of file EcalTimeDependentCorrections.h.

◆ cond::serialization::access

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

Definition at line 49 of file EcalTimeDependentCorrections.h.

Member Data Documentation

◆ time_map

EcalTimeMap EcalTimeDependentCorrections::time_map
private

Definition at line 47 of file EcalTimeDependentCorrections.h.

Referenced by getTimeMap(), and setTime().

◆ value_map

EcalValueMap EcalTimeDependentCorrections::value_map
private

Definition at line 46 of file EcalTimeDependentCorrections.h.

Referenced by getValueMap(), and setValue().

EcalTimeDependentCorrections::time_map
EcalTimeMap time_map
Definition: EcalTimeDependentCorrections.h:47
relativeConstraints.value
value
Definition: relativeConstraints.py:53
EcalTimeDependentCorrections::value_map
EcalValueMap value_map
Definition: EcalTimeDependentCorrections.h:46
ecalpyutils::hashedIndex
int hashedIndex(int ieta, int iphi)
Definition: EcalPyUtils.cc:38