CMS 3D CMS Logo

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