CMS 3D CMS Logo

Public Member Functions | Protected Attributes

VEcalCalibBlock Class Reference

element for the single ECAL block intercalibration More...

#include <VEcalCalibBlock.h>

Inheritance diagram for VEcalCalibBlock:
IMACalibBlock L3CalibBlock

List of all members.

Public Member Functions

float at (const unsigned int index)
 retrieve the coefficients
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
virtual void reset ()=0
 reset the chi2 matrices
virtual int solve (int usingBlockSolver, double min, double max)=0
 solve the chi2 linear system
 VEcalCalibBlock (int numberOfElements)
 ctor
virtual ~VEcalCalibBlock ()
 dtor

Protected Attributes

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

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.

                                           :
      m_numberOfElements (numberOfElements) {} ;
virtual VEcalCalibBlock::~VEcalCalibBlock ( ) [inline, virtual]

dtor

Definition at line 25 of file VEcalCalibBlock.h.

{} ;

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.

{ return m_coefficients[index] ; }
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 IMACalibBlock, and L3CalibBlock.

virtual void VEcalCalibBlock::reset ( ) [pure virtual]

reset the chi2 matrices

Implemented in IMACalibBlock, and L3CalibBlock.

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

solve the chi2 linear system

Implemented in IMACalibBlock, and L3CalibBlock.


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]