CMS 3D CMS Logo

HcalSiPMShape.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 #ifndef HcalSimAlgos_HcalSiPMShape_h
3 #define HcalSimAlgos_HcalSiPMShape_h
4 
6 #include <vector>
7 
8 class HcalSiPMShape : public CaloVShape {
9 public:
10 
11  HcalSiPMShape(unsigned int signalShape=203);
13 
14  virtual ~HcalSiPMShape() {}
15 
16  virtual double operator() (double time) const;
17 
18  virtual double timeToRise() const {return 0.0;}
19 
20 protected:
21  void computeShape(unsigned int signalShape);
22 
23 private:
24 
25  int nBins_;
26  std::vector<double> nt_;
27 
28 };
29 
30 #endif //HcalSimAlgos_HcalSiPMShape_h
HcalSiPMShape(unsigned int signalShape=203)
Definition: HcalSiPMShape.cc:6
virtual double operator()(double time) const
Electronic response of the preamp.
Definition: CaloVShape.h:11
virtual double timeToRise() const
Definition: HcalSiPMShape.h:18
std::vector< double > nt_
Definition: HcalSiPMShape.h:26
void computeShape(unsigned int signalShape)
virtual ~HcalSiPMShape()
Definition: HcalSiPMShape.h:14