Main Page
Namespaces
Classes
Package Documentation
CalibCalorimetry
CastorCalib
interface
CastorPulseContainmentCorrection.h
Go to the documentation of this file.
1
#ifndef CALIBCALORIMETRY_CASTORALGOS_CASTORPULSECONTAINMENTCORRECTION_H
2
#define CALIBCALORIMETRY_CASTORALGOS_CASTORPULSECONTAINMENTCORRECTION_H 1
3
4
#include <map>
5
12
class
CastorPulseContainmentCorrection
{
13
public
:
14
CastorPulseContainmentCorrection
(
int
num_samples,
float
fixedphase_ns,
float
max_fracerror);
15
16
double
getCorrection
(
double
fc_ampl)
const
;
17
double
fractionContained
(
double
fc_ampl)
const
{
return
1.0 / this->
getCorrection
(fc_ampl); }
18
19
private
:
20
std::map<double, double>
mCorFactors_
;
21
};
22
23
#endif
CastorPulseContainmentCorrection::getCorrection
double getCorrection(double fc_ampl) const
Definition:
CastorPulseContainmentCorrection.cc:92
CastorPulseContainmentCorrection
Definition:
CastorPulseContainmentCorrection.h:12
CastorPulseContainmentCorrection::fractionContained
double fractionContained(double fc_ampl) const
Definition:
CastorPulseContainmentCorrection.h:17
CastorPulseContainmentCorrection::mCorFactors_
std::map< double, double > mCorFactors_
Definition:
CastorPulseContainmentCorrection.h:20
CastorPulseContainmentCorrection::CastorPulseContainmentCorrection
CastorPulseContainmentCorrection(int num_samples, float fixedphase_ns, float max_fracerror)
Generate energy correction factors based on a predetermined phase of the hit + time slew...
Definition:
CastorPulseContainmentCorrection.cc:76
Generated for CMSSW Reference Manual by
1.8.11