Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CalibCalorimetry
HcalAlgos
interface
HcalPulseContainmentCorrection.h
Go to the documentation of this file.
1
#ifndef CALIBCALORIMETRY_HCALALGOS_HCALPULSECONTAINMENTCORRECTION_H
2
#define CALIBCALORIMETRY_HCALALGOS_HCALPULSECONTAINMENTCORRECTION_H 1
3
4
#include <map>
5
class
HcalPulseShape
;
6
14
class
HcalPulseContainmentCorrection
{
15
public
:
16
HcalPulseContainmentCorrection
(
int
num_samples,
17
float
fixedphase_ns,
18
float
max_fracerror);
19
HcalPulseContainmentCorrection
(
const
HcalPulseShape
* shape,
20
int
num_samples,
21
float
fixedphase_ns,
22
float
max_fracerror);
23
double
getCorrection
(
double
fc_ampl)
const
;
24
double
fractionContained
(
double
fc_ampl)
const
{
return
1.0/this->
getCorrection
(fc_ampl); }
25
26
private
:
27
std::map<double,double>
mCorFactors_
;
28
};
29
30
#endif
HcalPulseContainmentCorrection::getCorrection
double getCorrection(double fc_ampl) const
Definition:
HcalPulseContainmentCorrection.cc:50
HcalPulseShape
Definition:
HcalPulseShape.h:6
HcalPulseContainmentCorrection
Definition:
HcalPulseContainmentCorrection.h:14
HcalPulseContainmentCorrection::mCorFactors_
std::map< double, double > mCorFactors_
Definition:
HcalPulseContainmentCorrection.h:27
HcalPulseContainmentCorrection::HcalPulseContainmentCorrection
HcalPulseContainmentCorrection(int num_samples, float fixedphase_ns, float max_fracerror)
Generate energy correction factors based on a predetermined phase of the hit + time slew...
Definition:
HcalPulseContainmentCorrection.cc:17
HcalPulseContainmentCorrection::fractionContained
double fractionContained(double fc_ampl) const
Definition:
HcalPulseContainmentCorrection.h:24
Generated for CMSSW Reference Manual by
1.8.5