CMS 3D CMS Logo

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