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
#include "
FWCore/Framework/interface/ESHandle.h
"
9
10
class
HcalPulseContainmentManager
{
11
public
:
12
HcalPulseContainmentManager
(
float
max_fracerror);
13
double
correction
(
const
HcalDetId
& detId,
int
toAdd
,
float
fixedphase_ns,
double
fc_ampl);
14
const
HcalPulseContainmentCorrection
*
get
(
const
HcalDetId
& detId,
int
toAdd
,
float
fixedphase_ns);
15
16
void
beginRun
(
edm::EventSetup
const
& es);
17
void
beginRun
(
const
HcalDbService
* conditions,
const
HcalTimeSlew
* delay);
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
HcalPulseContainmentManager::shapes_
HcalPulseShapes shapes_
Definition:
HcalPulseContainmentManager.h:34
HcalPulseContainmentManager::fixedphase_ns_
float fixedphase_ns_
Definition:
HcalPulseContainmentManager.h:35
HcalDbService
Definition:
HcalDbService.h:26
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:31
HcalPulseShapes
Definition:
HcalPulseShapes.h:21
HcalPulseContainmentManager::entries_
std::vector< HcalPulseContainmentEntry > entries_
Definition:
HcalPulseContainmentManager.h:33
HcalTimeSlew
Definition:
HcalTimeSlew.h:19
HcalDetId
Definition:
HcalDetId.h:13
HcalPulseContainmentManager::HcalPulseContainmentEntry::HcalPulseContainmentEntry
HcalPulseContainmentEntry(int toAdd, float fixedphase_ns, const HcalPulseShape *shape, const HcalPulseContainmentCorrection &correction)
Definition:
HcalPulseContainmentManager.h:25
HcalDetId.h
HcalPulseContainmentManager::setTimeSlew
void setTimeSlew(const HcalTimeSlew *timeSlew)
Definition:
HcalPulseContainmentManager.h:19
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:54
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:10
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