CMS 3D CMS Logo

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

#include <EcalTPGWeights.h>

Public Member Functions

 EcalTPGWeights ()
 
void getValues (uint32_t &w0, uint32_t &w1, uint32_t &w2, uint32_t &w3, uint32_t &w4) const
 
void setValues (const uint32_t &w0, const uint32_t &w1, const uint32_t &w2, const uint32_t &w3, const uint32_t &w4)
 
 ~EcalTPGWeights ()
 

Private Member Functions

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

Private Attributes

uint32_t w0_
 
uint32_t w1_
 
uint32_t w2_
 
uint32_t w3_
 
uint32_t w4_
 

Friends

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

Detailed Description

Definition at line 9 of file EcalTPGWeights.h.

Constructor & Destructor Documentation

EcalTPGWeights::EcalTPGWeights ( )

Definition at line 4 of file EcalTPGWeights.cc.

5  : w0_(0), w1_(0), w2_(0), w3_(0), w4_(0)
6 { }
EcalTPGWeights::~EcalTPGWeights ( )

Definition at line 8 of file EcalTPGWeights.cc.

9 { }

Member Function Documentation

void EcalTPGWeights::getValues ( uint32_t &  w0,
uint32_t &  w1,
uint32_t &  w2,
uint32_t &  w3,
uint32_t &  w4 
) const

Definition at line 11 of file EcalTPGWeights.cc.

References w0_, w1_, w2_, w3_, and w4_.

16 {
17  w0 = w0_ ;
18  w1 = w1_ ;
19  w2 = w2_ ;
20  w3 = w3_ ;
21  w4 = w4_ ;
22 }
common ppss p3p6s2 common epss epspn46 common const1 w2
Definition: inclppp.h:1
common ppss p3p6s2 common epss epspn46 common const1 w4
Definition: inclppp.h:1
common ppss p3p6s2 common epss epspn46 common const1 w3
Definition: inclppp.h:1
template<class Archive >
void EcalTPGWeights::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void EcalTPGWeights::setValues ( const uint32_t &  w0,
const uint32_t &  w1,
const uint32_t &  w2,
const uint32_t &  w3,
const uint32_t &  w4 
)

Definition at line 24 of file EcalTPGWeights.cc.

References w0_, w1_, w2, w2_, w3, w3_, w4, and w4_.

Referenced by popcon::EcalTPGWeightIdMapHandler::getNewObjects(), and EcalTrigPrimESProducer::produceWeight().

29 {
30  w0_ = w0 ;
31  w1_ = w1 ;
32  w2_ = w2 ;
33  w3_ = w3 ;
34  w4_ = w4 ;
35 }
common ppss p3p6s2 common epss epspn46 common const1 w2
Definition: inclppp.h:1
common ppss p3p6s2 common epss epspn46 common const1 w4
Definition: inclppp.h:1
common ppss p3p6s2 common epss epspn46 common const1 w3
Definition: inclppp.h:1

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 36 of file EcalTPGWeights.h.

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

Definition at line 36 of file EcalTPGWeights.h.

Member Data Documentation

uint32_t EcalTPGWeights::w0_
private

Definition at line 28 of file EcalTPGWeights.h.

Referenced by getValues(), and setValues().

uint32_t EcalTPGWeights::w1_
private

Definition at line 29 of file EcalTPGWeights.h.

Referenced by getValues(), and setValues().

uint32_t EcalTPGWeights::w2_
private

Definition at line 30 of file EcalTPGWeights.h.

Referenced by getValues(), and setValues().

uint32_t EcalTPGWeights::w3_
private

Definition at line 31 of file EcalTPGWeights.h.

Referenced by getValues(), and setValues().

uint32_t EcalTPGWeights::w4_
private

Definition at line 32 of file EcalTPGWeights.h.

Referenced by getValues(), and setValues().