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=206);
13 
14  ~HcalSiPMShape() override {}
15 
16  double operator() (double time) const override;
17 
18  double timeToRise() const override {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
Electronic response of the preamp.
Definition: CaloVShape.h:11
std::vector< double > nt_
Definition: HcalSiPMShape.h:26
HcalSiPMShape(unsigned int signalShape=206)
Definition: HcalSiPMShape.cc:6
void computeShape(unsigned int signalShape)
double operator()(double time) const override
~HcalSiPMShape() override
Definition: HcalSiPMShape.h:14
double timeToRise() const override
Definition: HcalSiPMShape.h:18