test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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);
12  HcalSiPMShape(const HcalSiPMShape & other);
13 
14  virtual ~HcalSiPMShape() {}
15 
16  virtual double operator() (double time) const;
17 
18  virtual double timeToRise() const {return 3.5;}
19 
20 protected:
21  virtual double analyticPulseShape(double t, unsigned int signalShape) const;
22  void computeShape(unsigned int signalShape);
23 
24 private:
25 
26  int nBins_;
27  std::vector<double> nt_;
28 
29 };
30 
31 #endif //HcalSimAlgos_HcalSiPMShape_h
HcalSiPMShape(unsigned int signalShape=203)
Definition: HcalSiPMShape.cc:7
virtual double operator()(double time) const
virtual double analyticPulseShape(double t, unsigned int signalShape) 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:27
void computeShape(unsigned int signalShape)
virtual ~HcalSiPMShape()
Definition: HcalSiPMShape.h:14