Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
8
class
HcalPulseContainmentManager
{
9
public
:
10
HcalPulseContainmentManager
(
float
max_fracerror);
11
double
correction
(
const
HcalDetId
& detId,
int
toAdd
,
float
fixedphase_ns,
double
fc_ampl);
12
const
HcalPulseContainmentCorrection
*
get
(
const
HcalDetId
& detId,
int
toAdd
,
float
fixedphase_ns);
13
14
void
beginRun
(
edm::EventSetup
const
& es);
15
void
endRun
();
16
17
private
:
18
19
struct
HcalPulseContainmentEntry
{
20
HcalPulseContainmentEntry
(
int
toAdd,
float
fixedphase_ns,
const
HcalPulseShape
* shape,
const
HcalPulseContainmentCorrection
& correction)
21
:
toAdd_
(toAdd),
fixedphase_ns_
(fixedphase_ns),
shape_
(shape),
correction_
(correction) {}
22
int
toAdd_
;
23
float
fixedphase_ns_
;
24
const
HcalPulseShape
*
shape_
;
25
HcalPulseContainmentCorrection
correction_
;
26
};
27
28
std::vector<HcalPulseContainmentEntry>
entries_
;
29
HcalPulseShapes
shapes_
;
30
float
fixedphase_ns_
;
31
float
max_fracerror_
;
32
};
33
34
#endif
makeLayoutFileForGui.toAdd
list toAdd
Definition:
makeLayoutFileForGui.py:52
HcalPulseShapes.h
HcalPulseContainmentManager::max_fracerror_
float max_fracerror_
Definition:
HcalPulseContainmentManager.h:31
HcalPulseContainmentManager::shapes_
HcalPulseShapes shapes_
Definition:
HcalPulseContainmentManager.h:29
HcalPulseContainmentManager::fixedphase_ns_
float fixedphase_ns_
Definition:
HcalPulseContainmentManager.h:30
HcalPulseShape
Definition:
HcalPulseShape.h:6
HcalPulseContainmentCorrection
Definition:
HcalPulseContainmentCorrection.h:14
HcalPulseContainmentManager::correction
double correction(const HcalDetId &detId, int toAdd, float fixedphase_ns, double fc_ampl)
Definition:
HcalPulseContainmentManager.cc:24
HcalPulseShapes
Definition:
HcalPulseShapes.h:18
HcalPulseContainmentManager::entries_
std::vector< HcalPulseContainmentEntry > entries_
Definition:
HcalPulseContainmentManager.h:28
HcalDetId
Definition:
HcalDetId.h:12
HcalPulseContainmentManager::HcalPulseContainmentEntry::HcalPulseContainmentEntry
HcalPulseContainmentEntry(int toAdd, float fixedphase_ns, const HcalPulseShape *shape, const HcalPulseContainmentCorrection &correction)
Definition:
HcalPulseContainmentManager.h:20
HcalDetId.h
edm::EventSetup
Definition:
EventSetup.h:45
HcalPulseContainmentManager::endRun
void endRun()
Definition:
HcalPulseContainmentManager.cc:18
HcalPulseContainmentManager::HcalPulseContainmentEntry
Definition:
HcalPulseContainmentManager.h:19
HcalPulseContainmentManager::HcalPulseContainmentEntry::shape_
const HcalPulseShape * shape_
Definition:
HcalPulseContainmentManager.h:24
HcalPulseContainmentManager::HcalPulseContainmentEntry::correction_
HcalPulseContainmentCorrection correction_
Definition:
HcalPulseContainmentManager.h:25
HcalPulseContainmentManager::HcalPulseContainmentEntry::toAdd_
int toAdd_
Definition:
HcalPulseContainmentManager.h:22
HcalPulseContainmentCorrection.h
HcalPulseContainmentManager
Definition:
HcalPulseContainmentManager.h:8
HcalPulseContainmentManager::HcalPulseContainmentEntry::fixedphase_ns_
float fixedphase_ns_
Definition:
HcalPulseContainmentManager.h:23
HcalPulseContainmentManager::beginRun
void beginRun(edm::EventSetup const &es)
Definition:
HcalPulseContainmentManager.cc:11
HcalPulseContainmentManager::HcalPulseContainmentManager
HcalPulseContainmentManager(float max_fracerror)
Definition:
HcalPulseContainmentManager.cc:3
Generated for CMSSW Reference Manual by
1.8.5