test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
VEcalCalibBlock Class Referenceabstract

element for the single ECAL block intercalibration More...

#include <VEcalCalibBlock.h>

Inheritance diagram for VEcalCalibBlock:
IMACalibBlock L3CalibBlock

Public Member Functions

float at (const unsigned int index)
 retrieve the coefficients More...
 
virtual void Fill (std::map< int, double >::const_iterator, std::map< int, double >::const_iterator, double pTk, double pSubtract, double sigma=1.)=0
 insert an entry More...
 
virtual void reset ()=0
 reset the chi2 matrices More...
 
virtual int solve (int usingBlockSolver, double min, double max)=0
 solve the chi2 linear system More...
 
 VEcalCalibBlock (int numberOfElements)
 ctor More...
 
virtual ~VEcalCalibBlock ()
 dtor More...
 

Protected Attributes

std::map< unsigned int, float > m_coefficients
 map of coefficients More...
 
unsigned int m_numberOfElements
 The only parameter! More...
 

Detailed Description

element for the single ECAL block intercalibration

Definition at line 13 of file VEcalCalibBlock.h.

Constructor & Destructor Documentation

VEcalCalibBlock::VEcalCalibBlock ( int  numberOfElements)
inline

ctor

Definition at line 18 of file VEcalCalibBlock.h.

18  :
19  m_numberOfElements (numberOfElements) {} ;
unsigned int m_numberOfElements
The only parameter!
virtual VEcalCalibBlock::~VEcalCalibBlock ( )
inlinevirtual

dtor

Definition at line 21 of file VEcalCalibBlock.h.

21 {} ;

Member Function Documentation

float VEcalCalibBlock::at ( const unsigned int  index)
inline

retrieve the coefficients

Definition at line 33 of file VEcalCalibBlock.h.

References cmsHarvester::index, and m_coefficients.

33 { return m_coefficients[index] ; }
std::map< unsigned int, float > m_coefficients
map of coefficients
virtual void VEcalCalibBlock::Fill ( std::map< int, double >::const_iterator  ,
std::map< int, double >::const_iterator  ,
double  pTk,
double  pSubtract,
double  sigma = 1. 
)
pure virtual

insert an entry

Implemented in L3CalibBlock, and IMACalibBlock.

virtual void VEcalCalibBlock::reset ( )
pure virtual

reset the chi2 matrices

Implemented in L3CalibBlock, and IMACalibBlock.

Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().

virtual int VEcalCalibBlock::solve ( int  usingBlockSolver,
double  min,
double  max 
)
pure virtual

solve the chi2 linear system

Implemented in L3CalibBlock, and IMACalibBlock.

Member Data Documentation

std::map<unsigned int, float> VEcalCalibBlock::m_coefficients
protected

map of coefficients

Definition at line 42 of file VEcalCalibBlock.h.

Referenced by at(), IMACalibBlock::fillMap(), and L3CalibBlock::solve().

unsigned int VEcalCalibBlock::m_numberOfElements
protected