CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
CalibrationAlgorithm Class Reference

Algorithm for calibration runs. More...

#include <CalibrationAlgorithm.h>

Inheritance diagram for CalibrationAlgorithm:
CommissioningAlgorithm

Public Member Functions

 CalibrationAlgorithm (const edm::ParameterSet &pset, CalibrationAnalysis *const )
 
const Histohisto (int i) const
 
virtual ~CalibrationAlgorithm ()
 
- Public Member Functions inherited from CommissioningAlgorithm
void analysis (const std::vector< TH1 * > &)
 
 CommissioningAlgorithm (CommissioningAnalysis *const )
 
 CommissioningAlgorithm ()
 
virtual ~CommissioningAlgorithm ()
 

Private Member Functions

void analyse ()
 
 CalibrationAlgorithm ()
 
void correctDistribution (TH1 *) const
 
virtual void extract (const std::vector< TH1 * > &)
 
TF1 * fitPulse (TH1 *, float rangeLow=0, float rangeHigh=-1)
 
float maximum (TH1 *)
 
float turnOn (TH1 *)
 

Private Attributes

CalibrationAnalysiscal_
 
TF1 * deconv_fitter_
 
Histo histo_ [32]
 
TF1 * peak_fitter_
 

Additional Inherited Members

- Public Types inherited from CommissioningAlgorithm
typedef std::pair< TH1
*, std::string > 
Histo
 
- Protected Member Functions inherited from CommissioningAlgorithm
CommissioningAnalysis *const anal () const
 
uint32_t extractFedKey (const TH1 *const )
 

Detailed Description

Algorithm for calibration runs.

Author
C. Delaere

Definition at line 18 of file CalibrationAlgorithm.h.

Constructor & Destructor Documentation

CalibrationAlgorithm::CalibrationAlgorithm ( const edm::ParameterSet pset,
CalibrationAnalysis * const  anal 
)

Definition at line 20 of file CalibrationAlgorithm.cc.

virtual CalibrationAlgorithm::~CalibrationAlgorithm ( )
inlinevirtual

Definition at line 24 of file CalibrationAlgorithm.h.

24 {;}
CalibrationAlgorithm::CalibrationAlgorithm ( )
inlineprivate

Definition at line 30 of file CalibrationAlgorithm.h.

30 {;}

Member Function Documentation

void CalibrationAlgorithm::analyse ( )
privatevirtual

Performs histogram anaylsis.

Implements CommissioningAlgorithm.

Definition at line 101 of file CalibrationAlgorithm.cc.

void CalibrationAlgorithm::correctDistribution ( TH1 *  histo) const
private

Definition at line 251 of file CalibrationAlgorithm.cc.

void CalibrationAlgorithm::extract ( const std::vector< TH1 * > &  )
privatevirtual

Extracts and organises histograms.

Implements CommissioningAlgorithm.

Definition at line 46 of file CalibrationAlgorithm.cc.

TF1 * CalibrationAlgorithm::fitPulse ( TH1 *  histo,
float  rangeLow = 0,
float  rangeHigh = -1 
)
private

Definition at line 260 of file CalibrationAlgorithm.cc.

const Histo& CalibrationAlgorithm::histo ( int  i) const
inline

Definition at line 26 of file CalibrationAlgorithm.h.

References histo_, and i.

26 { return histo_[i]; }
int i
Definition: DBlmapReader.cc:9
float CalibrationAlgorithm::maximum ( TH1 *  h)
private

Definition at line 290 of file CalibrationAlgorithm.cc.

float CalibrationAlgorithm::turnOn ( TH1 *  h)
private

Definition at line 299 of file CalibrationAlgorithm.cc.

Member Data Documentation

CalibrationAnalysis* CalibrationAlgorithm::cal_
private

Definition at line 57 of file CalibrationAlgorithm.h.

TF1* CalibrationAlgorithm::deconv_fitter_
private

Fitter in deconvolution mode

Definition at line 52 of file CalibrationAlgorithm.h.

Histo CalibrationAlgorithm::histo_[32]
private

pulse shape

Definition at line 49 of file CalibrationAlgorithm.h.

Referenced by histo().

TF1* CalibrationAlgorithm::peak_fitter_
private

Fitter in peak mode

Definition at line 55 of file CalibrationAlgorithm.h.