src
CalibCalorimetry
HcalAlgos
src
HcalPulseContainmentAlgo.h
Go to the documentation of this file.
1
#ifndef HcalAlgos_HcalPulseContainmentAlgo_h
2
#define HcalAlgos_HcalPulseContainmentAlgo_h
3
4
#include "
CalibCalorimetry/HcalAlgos/interface/HcalPulseShape.h
"
5
#include "
CalibCalorimetry/HcalAlgos/interface/HcalShapeIntegrator.h
"
6
7
class
HcalTimeSlew
;
8
9
class
HcalPulseContainmentAlgo
{
10
public
:
11
HcalPulseContainmentAlgo
(
const
HcalPulseShape
* shape,
12
int
num_samples,
13
double
fixedphase_ns,
14
bool
phaseAsInSim,
15
const
HcalTimeSlew
* hcalTimeSlew_delay);
16
HcalPulseContainmentAlgo
(
int
num_samples,
17
double
fixedphase_ns,
18
bool
phaseAsInSim,
19
const
HcalTimeSlew
* hcalTimeSlew_delay);
20
std::pair<double, double>
calcpair
(
double
);
21
22
private
:
23
void
init
(
int
num_samples);
24
double
fixedphasens_
;
25
double
integrationwindowns_
;
26
double
time0shiftns_
;
27
bool
phaseAsInSim_
;
28
HcalShapeIntegrator
integrator_
;
29
const
HcalTimeSlew
*
hcalTimeSlew_delay_
;
30
};
31
32
#endif
HcalPulseContainmentAlgo::time0shiftns_
double time0shiftns_
Definition:
HcalPulseContainmentAlgo.h:26
HcalPulseContainmentAlgo::HcalPulseContainmentAlgo
HcalPulseContainmentAlgo(const HcalPulseShape *shape, int num_samples, double fixedphase_ns, bool phaseAsInSim, const HcalTimeSlew *hcalTimeSlew_delay)
Definition:
HcalPulseContainmentAlgo.cc:23
HcalShapeIntegrator
Definition:
HcalShapeIntegrator.h:12
HcalPulseContainmentAlgo
Definition:
HcalPulseContainmentAlgo.h:9
HcalPulseContainmentAlgo::calcpair
std::pair< double, double > calcpair(double)
Definition:
HcalPulseContainmentAlgo.cc:70
HcalPulseContainmentAlgo::phaseAsInSim_
bool phaseAsInSim_
Definition:
HcalPulseContainmentAlgo.h:27
HcalPulseContainmentAlgo::integrator_
HcalShapeIntegrator integrator_
Definition:
HcalPulseContainmentAlgo.h:28
HcalPulseShape
Definition:
HcalPulseShape.h:6
HcalPulseContainmentAlgo::hcalTimeSlew_delay_
const HcalTimeSlew * hcalTimeSlew_delay_
Definition:
HcalPulseContainmentAlgo.h:29
HcalShapeIntegrator.h
HcalTimeSlew
Definition:
HcalTimeSlew.h:19
HcalPulseContainmentAlgo::fixedphasens_
double fixedphasens_
Definition:
HcalPulseContainmentAlgo.h:24
HcalPulseContainmentAlgo::init
void init(int num_samples)
Definition:
HcalPulseContainmentAlgo.cc:35
HcalPulseContainmentAlgo::integrationwindowns_
double integrationwindowns_
Definition:
HcalPulseContainmentAlgo.h:25
HcalPulseShape.h
Generated for CMSSW Reference Manual by
1.8.14