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) {
hcalTimeSlew_delay_
= timeSlew; }
20
21
private
:
22
struct
HcalPulseContainmentEntry
{
23
HcalPulseContainmentEntry
(
int
toAdd,
24
float
fixedphase_ns,
25
const
HcalPulseShape
* shape,
26
const
HcalPulseContainmentCorrection
& correction)
27
:
toAdd_
(toAdd),
fixedphase_ns_
(fixedphase_ns),
shape_
(shape),
correction_
(correction) {}
28
int
toAdd_
;
29
float
fixedphase_ns_
;
30
const
HcalPulseShape
*
shape_
;
31
HcalPulseContainmentCorrection
correction_
;
32
};
33
34
std::vector<HcalPulseContainmentEntry>
entries_
;
35
HcalPulseShapes
shapes_
;
36
float
fixedphase_ns_
;
37
float
max_fracerror_
;
38
39
const
HcalTimeSlew
*
hcalTimeSlew_delay_
;
40
};
41
42
#endif
HcalPulseShapes.h
HcalPulseContainmentManager::max_fracerror_
float max_fracerror_
Definition:
HcalPulseContainmentManager.h:37
HcalPulseContainmentManager::hcalTimeSlew_delay_
const HcalTimeSlew * hcalTimeSlew_delay_
Definition:
HcalPulseContainmentManager.h:39
HcalPulseContainmentManager::shapes_
HcalPulseShapes shapes_
Definition:
HcalPulseContainmentManager.h:35
HcalPulseContainmentManager::fixedphase_ns_
float fixedphase_ns_
Definition:
HcalPulseContainmentManager.h:36
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:26
HcalPulseShapes
Definition:
HcalPulseShapes.h:21
HcalPulseContainmentManager::entries_
std::vector< HcalPulseContainmentEntry > entries_
Definition:
HcalPulseContainmentManager.h:34
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:23
HcalDetId.h
HcalPulseContainmentManager::setTimeSlew
void setTimeSlew(const HcalTimeSlew *timeSlew)
Definition:
HcalPulseContainmentManager.h:19
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:57
HcalPulseContainmentManager::HcalPulseContainmentEntry
Definition:
HcalPulseContainmentManager.h:22
HcalPulseContainmentManager::HcalPulseContainmentEntry::shape_
const HcalPulseShape * shape_
Definition:
HcalPulseContainmentManager.h:30
HcalPulseContainmentManager::HcalPulseContainmentEntry::correction_
HcalPulseContainmentCorrection correction_
Definition:
HcalPulseContainmentManager.h:31
HcalPulseContainmentManager::HcalPulseContainmentEntry::toAdd_
int toAdd_
Definition:
HcalPulseContainmentManager.h:28
HcalPulseContainmentCorrection.h
HcalPulseContainmentManager
Definition:
HcalPulseContainmentManager.h:10
HcalPulseContainmentManager::HcalPulseContainmentEntry::fixedphase_ns_
float fixedphase_ns_
Definition:
HcalPulseContainmentManager.h:29
HcalPulseContainmentManager::beginRun
void beginRun(edm::EventSetup const &es)
Definition:
HcalPulseContainmentManager.cc:12
HcalPulseContainmentManager::HcalPulseContainmentManager
HcalPulseContainmentManager(float max_fracerror)
Definition:
HcalPulseContainmentManager.cc:7
HcalTimeSlew.h
HLT_2018_cff.toAdd
toAdd
Definition:
HLT_2018_cff.py:50488
Generated for CMSSW Reference Manual by
1.8.11