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  HcalSiPMShape(unsigned int signalShape = 206);
12 
13  ~HcalSiPMShape() override {}
14 
15  double operator()(double time) const override;
16 
17  double timeToRise() const override { return 0.0; }
18 
19 protected:
20  void computeShape(unsigned int signalShape);
21 
22 private:
23  int nBins_;
24  std::vector<double> nt_;
25 };
26 
27 #endif //HcalSimAlgos_HcalSiPMShape_h
Electronic response of the preamp.
Definition: CaloVShape.h:11
double operator()(double time) const override
std::vector< double > nt_
Definition: HcalSiPMShape.h:24
double timeToRise() const override
Definition: HcalSiPMShape.h:17
HcalSiPMShape(unsigned int signalShape=206)
Definition: HcalSiPMShape.cc:6
void computeShape(unsigned int signalShape)
~HcalSiPMShape() override
Definition: HcalSiPMShape.h:13