CMS 3D CMS Logo

EBShape.h
Go to the documentation of this file.
1 #ifndef EcalSimAlgos_EBShape_h
2 #define EcalSimAlgos_EBShape_h
3 
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
void fillShape(float &time_interval, double &m_thresh, EcalShapeBase::DVec &aVec, const edm::EventSetup *es) const override
Definition: EBShape.cc:5
std::vector< double > DVec
Definition: EcalShapeBase.h:26
Definition: EBShape.h:6
void buildMe(const edm::EventSetup *=0)
EBShape(bool useDB)
Definition: EBShape.h:8