src
SimCalorimetry
EcalSimAlgos
interface
EEShape.h
Go to the documentation of this file.
1
#ifndef EcalSimAlgos_EEShape_h
2
#define EcalSimAlgos_EEShape_h
3
4
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
5
#include "
SimCalorimetry/EcalSimAlgos/interface/EcalShapeBase.h
"
6
7
class
EEShape
:
public
EcalShapeBase
{
8
public
:
9
// useDB = false
10
EEShape
() :
EcalShapeBase
(
false
) {
buildMe
(); }
11
// useDB = true, buildMe is executed when setEventSetup and DB conditions are available
12
EEShape
(
edm::ConsumesCollector
iC) :
EcalShapeBase
(
true
),
espsToken_
(iC.
esConsumes
()) {}
13
14
protected
:
15
void
fillShape
(
float
& time_interval,
16
double
&
m_thresh
,
17
EcalShapeBase::DVec
& aVec,
18
const
edm::EventSetup
* es)
const override
;
19
20
private
:
21
edm::ESGetToken<EcalSimPulseShape, EcalSimPulseShapeRcd>
espsToken_
;
22
};
23
24
#endif
deDxTools::esConsumes
ESGetTokenH3DDVariant esConsumes(std::string const &Record, edm::ConsumesCollector &)
Definition:
DeDxTools.cc:283
EcalShapeBase::buildMe
void buildMe(const edm::EventSetup *=nullptr)
Definition:
EcalShapeBase.cc:29
EEShape::EEShape
EEShape()
Definition:
EEShape.h:10
funct::false
false
Definition:
Factorize.h:29
EcalShapeBase.h
EEShape::espsToken_
edm::ESGetToken< EcalSimPulseShape, EcalSimPulseShapeRcd > espsToken_
Definition:
EEShape.h:21
EEShape::fillShape
void fillShape(float &time_interval, double &m_thresh, EcalShapeBase::DVec &aVec, const edm::EventSetup *es) const override
Definition:
EEShape.cc:5
funct::true
true
Definition:
Factorize.h:173
edm::ESGetToken< EcalSimPulseShape, EcalSimPulseShapeRcd >
EcalShapeBase::DVec
std::vector< double > DVec
Definition:
EcalShapeBase.h:26
EcalShapeBase::m_thresh
double m_thresh
Definition:
EcalShapeBase.h:61
edm::EventSetup
Definition:
EventSetup.h:59
EEShape::EEShape
EEShape(edm::ConsumesCollector iC)
Definition:
EEShape.h:12
EcalShapeBase
Definition:
EcalShapeBase.h:24
ConsumesCollector.h
EEShape
Definition:
EEShape.h:7
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.14