CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
EcalTPGLut Class Reference

#include <EcalTPGLut.h>

Public Member Functions

 EcalTPGLut ()
 
 EcalTPGLut (const EcalTPGLut &)
 
const unsigned int * getLut () const
 
EcalTPGLutoperator= (const EcalTPGLut &)
 
void setLut (const unsigned int *lut)
 
 ~EcalTPGLut ()
 

Private Member Functions

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

Private Attributes

unsigned int lut_ [1024]
 

Friends

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

Detailed Description

Definition at line 6 of file EcalTPGLut.h.

Constructor & Destructor Documentation

EcalTPGLut::EcalTPGLut ( )

Definition at line 3 of file EcalTPGLut.cc.

4 { }
EcalTPGLut::EcalTPGLut ( const EcalTPGLut tpgLut)

Definition at line 6 of file EcalTPGLut.cc.

References getLut(), i, lumiPlot::lut, and lut_.

7 {
8  const unsigned int * lut = tpgLut.getLut() ;
9  for (unsigned int i=0 ; i<1024 ; i++) lut_[i] = lut[i] ;
10 }
int i
Definition: DBlmapReader.cc:9
tuple lut
Definition: lumiPlot.py:244
unsigned int lut_[1024]
Definition: EcalTPGLut.h:20
const unsigned int * getLut() const
Definition: EcalTPGLut.cc:15
EcalTPGLut::~EcalTPGLut ( )

Definition at line 12 of file EcalTPGLut.cc.

13 { }

Member Function Documentation

const unsigned int * EcalTPGLut::getLut ( ) const

Definition at line 15 of file EcalTPGLut.cc.

References lut_.

Referenced by EcalTPGLut(), and operator=().

16 {
17  return lut_ ;
18 }
unsigned int lut_[1024]
Definition: EcalTPGLut.h:20
EcalTPGLut & EcalTPGLut::operator= ( const EcalTPGLut tpgLut)

Definition at line 25 of file EcalTPGLut.cc.

References getLut(), i, lumiPlot::lut, and lut_.

25  {
26  const unsigned int * lut = tpgLut.getLut() ;
27  for (unsigned int i=0 ; i<1024 ; i++) lut_[i] = lut[i] ;
28  return *this;
29 }
int i
Definition: DBlmapReader.cc:9
tuple lut
Definition: lumiPlot.py:244
unsigned int lut_[1024]
Definition: EcalTPGLut.h:20
const unsigned int * getLut() const
Definition: EcalTPGLut.cc:15
template<class Archive >
void EcalTPGLut::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void EcalTPGLut::setLut ( const unsigned int *  lut)

Definition at line 20 of file EcalTPGLut.cc.

References i, and lut_.

21 {
22  for (unsigned int i=0 ; i<1024 ; i++) lut_[i] = lut[i] ;
23 }
int i
Definition: DBlmapReader.cc:9
tuple lut
Definition: lumiPlot.py:244
unsigned int lut_[1024]
Definition: EcalTPGLut.h:20

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 23 of file EcalTPGLut.h.

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

Definition at line 23 of file EcalTPGLut.h.

Member Data Documentation

unsigned int EcalTPGLut::lut_[1024]
private

Definition at line 20 of file EcalTPGLut.h.

Referenced by EcalTPGLut(), getLut(), operator=(), and setLut().