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 Attributes
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 Attributes

 COND_SERIALIZABLE
 
unsigned int lut_ [1024]
 

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
void EcalTPGLut::setLut ( const unsigned int *  lut)

Definition at line 20 of file EcalTPGLut.cc.

References i, and lut_.

Referenced by popcon::EcalTPGLutIdMapHandler::getNewObjects(), and EcalTrigPrimESProducer::produceLUT().

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

Member Data Documentation

EcalTPGLut::COND_SERIALIZABLE
private

Definition at line 23 of file EcalTPGLut.h.

unsigned int EcalTPGLut::lut_[1024]
private

Definition at line 20 of file EcalTPGLut.h.

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