Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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,
15
float
fixedphase_ns,
16
float
max_fracerror);
17
18
double
getCorrection
(
double
fc_ampl)
const
;
19
double
fractionContained
(
double
fc_ampl)
const
{
return
1.0/this->
getCorrection
(fc_ampl); }
20
21
private
:
22
std::map<double,double>
mCorFactors_
;
23
};
24
25
#endif
CastorPulseContainmentCorrection::mCorFactors_
std::map< double, double > mCorFactors_
Definition:
CastorPulseContainmentCorrection.h:22
CastorPulseContainmentCorrection::getCorrection
double getCorrection(double fc_ampl) const
Definition:
CastorPulseContainmentCorrection.cc:98
CastorPulseContainmentCorrection
Definition:
CastorPulseContainmentCorrection.h:12
CastorPulseContainmentCorrection::fractionContained
double fractionContained(double fc_ampl) const
Definition:
CastorPulseContainmentCorrection.h:19
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:81
Generated for CMSSW Reference Manual by
1.8.5