CMS 3D CMS Logo

Public Member Functions | Private Attributes

EcalTPGLut Class Reference

#include <EcalTPGLut.h>

List of all members.

Public Member Functions

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

Private Attributes

unsigned int lut_ [1024]

Detailed Description

Definition at line 4 of file EcalTPGLut.h.


Constructor & Destructor Documentation

EcalTPGLut::EcalTPGLut ( )

Definition at line 3 of file EcalTPGLut.cc.

{ }
EcalTPGLut::EcalTPGLut ( const EcalTPGLut tpgLut)

Definition at line 6 of file EcalTPGLut.cc.

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

{ 
  const unsigned int * lut = tpgLut.getLut() ;
  for (unsigned int i=0 ; i<1024 ; i++) lut_[i] = lut[i] ;
}
EcalTPGLut::~EcalTPGLut ( )

Definition at line 12 of file EcalTPGLut.cc.

{ }

Member Function Documentation

const unsigned int * EcalTPGLut::getLut ( ) const

Definition at line 15 of file EcalTPGLut.cc.

References lut_.

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

{ 
  return lut_ ;
}
EcalTPGLut & EcalTPGLut::operator= ( const EcalTPGLut tpgLut)

Definition at line 25 of file EcalTPGLut.cc.

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

                                                            {
  const unsigned int * lut = tpgLut.getLut() ;
  for (unsigned int i=0 ; i<1024 ; i++) lut_[i] = lut[i] ;
  return *this;
}
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().

{
  for (unsigned int i=0 ; i<1024 ; i++) lut_[i] = lut[i] ;
}

Member Data Documentation

unsigned int EcalTPGLut::lut_[1024] [private]

Definition at line 18 of file EcalTPGLut.h.

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