SimCalorimetry
EcalSimAlgos
interface
EBShape.h
Go to the documentation of this file.
1
#ifndef EcalSimAlgos_EBShape_h
2
#define EcalSimAlgos_EBShape_h
3
4
#include "
SimCalorimetry/EcalSimAlgos/interface/EcalShapeBase.h
"
5
6
class
EBShape
:
public
EcalShapeBase
{
7
public
:
8
EBShape
(
bool
useDB
) :
EcalShapeBase
(
useDB
) {
9
if
(!
useDB
)
10
buildMe
();
11
}
// if useDB = true, then buildMe is executed when setEventSetup and DB conditions are available
12
//EBShape():EcalShapeBase(false){;}
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
21
#endif
EcalShapeBase::m_thresh
double m_thresh
Definition:
EcalShapeBase.h:61
EBShape
Definition:
EBShape.h:6
EcalShapeBase::DVec
std::vector< double > DVec
Definition:
EcalShapeBase.h:26
EBShape::fillShape
void fillShape(float &time_interval, double &m_thresh, EcalShapeBase::DVec &aVec, const edm::EventSetup *es) const override
Definition:
EBShape.cc:5
EBShape::EBShape
EBShape(bool useDB)
Definition:
EBShape.h:8
EcalShapeBase
Definition:
EcalShapeBase.h:24
SiStripMonitorPedestals_cfi.useDB
useDB
Definition:
SiStripMonitorPedestals_cfi.py:15
EcalShapeBase.h
edm::EventSetup
Definition:
EventSetup.h:57
EcalShapeBase::buildMe
void buildMe(const edm::EventSetup *=nullptr)
Definition:
EcalShapeBase.cc:29
Generated for CMSSW Reference Manual by
1.8.16