Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
SimCalorimetry
EcalSimAlgos
interface
APDShape.h
Go to the documentation of this file.
1
#ifndef EcalSimAlgos_APDShape_h
2
#define EcalSimAlgos_APDShape_h
3
4
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
5
#include "
SimCalorimetry/EcalSimAlgos/interface/EcalShapeBase.h
"
6
7
class
APDShape
:
public
EcalShapeBase
{
8
public
:
9
// useDB = false
10
APDShape
() :
EcalShapeBase
(
false
) {
buildMe
(); }
11
// useDB = true, buildMe is executed when setEventSetup and DB conditions are available
12
APDShape
(
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
APDShape
Definition:
APDShape.h:7
EcalShapeBase::buildMe
void buildMe(const edm::EventSetup *=nullptr)
Definition:
EcalShapeBase.cc:29
funct::false
false
Definition:
Factorize.h:29
EcalShapeBase.h
APDShape::fillShape
void fillShape(float &time_interval, double &m_thresh, EcalShapeBase::DVec &aVec, const edm::EventSetup *es) const override
Definition:
APDShape.cc:7
funct::true
true
Definition:
Factorize.h:173
APDShape::APDShape
APDShape()
Definition:
APDShape.h:10
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
APDShape::APDShape
APDShape(edm::ConsumesCollector iC)
Definition:
APDShape.h:12
EcalShapeBase
Definition:
EcalShapeBase.h:24
ConsumesCollector.h
DeDxTools::esConsumes
ESGetTokenH3DDVariant esConsumes(std::string const &Reccord, edm::ConsumesCollector &)
Definition:
DeDxTools.cc:283
APDShape::espsToken_
edm::ESGetToken< EcalSimPulseShape, EcalSimPulseShapeRcd > espsToken_
Definition:
APDShape.h:21
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.5