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

Date:
2008/11/14 11:38:45
Revision:
1.4
Id:
VEcalCalibBlock.h,v 1.4 2008/11/14 11:38:45 presotto Exp
Author
Author:
presotto

Definition at line 17 of file VEcalCalibBlock.h.

Constructor & Destructor Documentation

VEcalCalibBlock::VEcalCalibBlock ( int  numberOfElements)
inline

ctor

Definition at line 22 of file VEcalCalibBlock.h.

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

dtor

Definition at line 25 of file VEcalCalibBlock.h.

25 {} ;

Member Function Documentation

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

retrieve the coefficients

Definition at line 37 of file VEcalCalibBlock.h.

References getHLTprescales::index, and m_coefficients.

37 { 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 46 of file VEcalCalibBlock.h.

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

unsigned int VEcalCalibBlock::m_numberOfElements
protected