Main Page
Namespaces
Classes
Package Documentation
CalibCalorimetry
HcalAlgos
interface
HcalPulseContainmentManager.h
Go to the documentation of this file.
1
#ifndef CalibCalorimetry_HcalAlgos_HcalPulseContainmentManager_h
2
#define CalibCalorimetry_HcalAlgos_HcalPulseContainmentManager_h
3
4
#include "
CalibCalorimetry/HcalAlgos/interface/HcalPulseContainmentCorrection.h
"
5
#include "
CalibCalorimetry/HcalAlgos/interface/HcalPulseShapes.h
"
6
#include "
DataFormats/HcalDetId/interface/HcalDetId.h
"
7
#include "
CalibCalorimetry/HcalAlgos/interface/HcalTimeSlew.h
"
8
9
class
HcalPulseContainmentManager
{
10
public
:
11
HcalPulseContainmentManager
(
float
max_fracerror);
12
double
correction
(
const
HcalDetId
& detId,
int
toAdd
,
float
fixedphase_ns,
double
fc_ampl);
13
const
HcalPulseContainmentCorrection
*
get
(
const
HcalDetId
& detId,
int
toAdd
,
float
fixedphase_ns);
14
15
void
beginRun
(
edm::EventSetup
const
& es);
16
void
beginRun
(
const
HcalTopology
*topo,
const
edm::ESHandle<HcalTimeSlew>
& delay,
const
edm::ESHandle<HcalMCParams>
& mcParams,
const
edm::ESHandle<HcalRecoParams>
& recoParams);
17
void
endRun
();
18
19
void
setTimeSlew
(
const
HcalTimeSlew
* timeSlew) {
20
hcalTimeSlew_delay_
= timeSlew;
21
}
22
private
:
23
24
struct
HcalPulseContainmentEntry
{
25
HcalPulseContainmentEntry
(
int
toAdd,
float
fixedphase_ns,
const
HcalPulseShape
* shape,
const
HcalPulseContainmentCorrection
& correction)
26
:
toAdd_
(toAdd),
fixedphase_ns_
(fixedphase_ns),
shape_
(shape),
correction_
(correction) {}
27
int
toAdd_
;
28
float
fixedphase_ns_
;
29
const
HcalPulseShape
*
shape_
;
30
HcalPulseContainmentCorrection
correction_
;
31
};
32
33
std::vector<HcalPulseContainmentEntry>
entries_
;
34
HcalPulseShapes
shapes_
;
35
float
fixedphase_ns_
;
36
float
max_fracerror_
;
37
38
const
HcalTimeSlew
*
hcalTimeSlew_delay_
;
39
};
40
41
#endif
HcalPulseShapes.h
HcalPulseContainmentManager::max_fracerror_
float max_fracerror_
Definition:
HcalPulseContainmentManager.h:36
HcalPulseContainmentManager::hcalTimeSlew_delay_
const HcalTimeSlew * hcalTimeSlew_delay_
Definition:
HcalPulseContainmentManager.h:38
HcalTopology
Definition:
HcalTopology.h:25
HcalPulseContainmentManager::shapes_
HcalPulseShapes shapes_
Definition:
HcalPulseContainmentManager.h:34
HcalPulseContainmentManager::fixedphase_ns_
float fixedphase_ns_
Definition:
HcalPulseContainmentManager.h:35
HcalPulseShape
Definition:
HcalPulseShape.h:6
HcalPulseContainmentCorrection
Definition:
HcalPulseContainmentCorrection.h:15
HcalPulseContainmentManager::correction
double correction(const HcalDetId &detId, int toAdd, float fixedphase_ns, double fc_ampl)
Definition:
HcalPulseContainmentManager.cc:36
HcalPulseShapes
Definition:
HcalPulseShapes.h:24
HcalPulseContainmentManager::entries_
std::vector< HcalPulseContainmentEntry > entries_
Definition:
HcalPulseContainmentManager.h:33
HcalTimeSlew
Definition:
HcalTimeSlew.h:19
HcalDetId
Definition:
HcalDetId.h:12
HcalPulseContainmentManager::HcalPulseContainmentEntry::HcalPulseContainmentEntry
HcalPulseContainmentEntry(int toAdd, float fixedphase_ns, const HcalPulseShape *shape, const HcalPulseContainmentCorrection &correction)
Definition:
HcalPulseContainmentManager.h:25
HcalDetId.h
edm::ESHandle< HcalTimeSlew >
HcalPulseContainmentManager::setTimeSlew
void setTimeSlew(const HcalTimeSlew *timeSlew)
Definition:
HcalPulseContainmentManager.h:19
edm::EventSetup
Definition:
EventSetup.h:47
HcalPulseContainmentManager::endRun
void endRun()
Definition:
HcalPulseContainmentManager.cc:24
HcalPulseContainmentManager::HcalPulseContainmentEntry
Definition:
HcalPulseContainmentManager.h:24
HcalPulseContainmentManager::HcalPulseContainmentEntry::shape_
const HcalPulseShape * shape_
Definition:
HcalPulseContainmentManager.h:29
HcalPulseContainmentManager::HcalPulseContainmentEntry::correction_
HcalPulseContainmentCorrection correction_
Definition:
HcalPulseContainmentManager.h:30
HcalPulseContainmentManager::HcalPulseContainmentEntry::toAdd_
int toAdd_
Definition:
HcalPulseContainmentManager.h:27
HcalPulseContainmentCorrection.h
pfDeepCMVAJetTags_cfi.toAdd
toAdd
Definition:
pfDeepCMVAJetTags_cfi.py:9
HcalPulseContainmentManager
Definition:
HcalPulseContainmentManager.h:9
HcalPulseContainmentManager::HcalPulseContainmentEntry::fixedphase_ns_
float fixedphase_ns_
Definition:
HcalPulseContainmentManager.h:28
HcalPulseContainmentManager::beginRun
void beginRun(edm::EventSetup const &es)
Definition:
HcalPulseContainmentManager.cc:15
HcalPulseContainmentManager::HcalPulseContainmentManager
HcalPulseContainmentManager(float max_fracerror)
Definition:
HcalPulseContainmentManager.cc:7
HcalTimeSlew.h
Generated for CMSSW Reference Manual by
1.8.11