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::EcalTPGWeights ( )

Definition at line 3 of file EcalTPGWeights.cc.

3 : w0_(0), w1_(0), w2_(0), w3_(0), w4_(0) {}

◆ ~EcalTPGWeights()

EcalTPGWeights::~EcalTPGWeights ( )

Definition at line 5 of file EcalTPGWeights.cc.

5 {}

Member Function Documentation

◆ getValues()

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

Definition at line 7 of file EcalTPGWeights.cc.

7  {
8  w0 = w0_;
9  w1 = w1_;
10  w2 = w2_;
11  w3 = w3_;
12  w4 = w4_;
13 }

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

◆ serialize()

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

◆ setValues()

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 15 of file EcalTPGWeights.cc.

16  {
17  w0_ = w0;
18  w1_ = w1;
19  w2_ = w2;
20  w3_ = w3;
21  w4_ = w4;
22 }

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

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 24 of file EcalTPGWeights.h.

◆ cond::serialization::access

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

Definition at line 24 of file EcalTPGWeights.h.

Member Data Documentation

◆ w0_

uint32_t EcalTPGWeights::w0_
private

Definition at line 18 of file EcalTPGWeights.h.

Referenced by getValues(), and setValues().

◆ w1_

uint32_t EcalTPGWeights::w1_
private

Definition at line 19 of file EcalTPGWeights.h.

Referenced by getValues(), and setValues().

◆ w2_

uint32_t EcalTPGWeights::w2_
private

Definition at line 20 of file EcalTPGWeights.h.

Referenced by getValues(), and setValues().

◆ w3_

uint32_t EcalTPGWeights::w3_
private

Definition at line 21 of file EcalTPGWeights.h.

Referenced by getValues(), and setValues().

◆ w4_

uint32_t EcalTPGWeights::w4_
private

Definition at line 22 of file EcalTPGWeights.h.

Referenced by getValues(), and setValues().

w2
common ppss p3p6s2 common epss epspn46 common const1 w2
Definition: inclppp.h:1
EcalTPGWeights::w3_
uint32_t w3_
Definition: EcalTPGWeights.h:21
EcalTPGWeights::w1_
uint32_t w1_
Definition: EcalTPGWeights.h:19
EcalTPGWeights::w0_
uint32_t w0_
Definition: EcalTPGWeights.h:18
EcalTPGWeights::w4_
uint32_t w4_
Definition: EcalTPGWeights.h:22
EcalTPGWeights::w2_
uint32_t w2_
Definition: EcalTPGWeights.h:20
w4
common ppss p3p6s2 common epss epspn46 common const1 w4
Definition: inclppp.h:1
w3
common ppss p3p6s2 common epss epspn46 common const1 w3
Definition: inclppp.h:1