CMS 3D CMS Logo

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::VEcalCalibBlock ( int  numberOfElements)
inline

ctor

Definition at line 16 of file VEcalCalibBlock.h.

16 : m_numberOfElements(numberOfElements) {}
unsigned int m_numberOfElements
The only parameter!

◆ ~VEcalCalibBlock()

virtual VEcalCalibBlock::~VEcalCalibBlock ( )
inlinevirtual

dtor

Definition at line 18 of file VEcalCalibBlock.h.

18 {}

Member Function Documentation

◆ at()

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

retrieve the coefficients

Definition at line 30 of file VEcalCalibBlock.h.

References m_coefficients.

30 { return m_coefficients[index]; }
std::map< unsigned int, float > m_coefficients
map of coefficients

◆ Fill()

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.

◆ reset()

virtual void VEcalCalibBlock::reset ( )
pure virtual

◆ solve()

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

◆ m_coefficients

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

map of coefficients

Definition at line 38 of file VEcalCalibBlock.h.

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

◆ m_numberOfElements

unsigned int VEcalCalibBlock::m_numberOfElements
protected