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
HcalSiPMShape::computeShape
void computeShape(unsigned int signalShape)
Definition: HcalSiPMShape.cc:20
HcalSiPMShape::nBins_
int nBins_
Definition: HcalSiPMShape.h:23
HcalSiPMShape::HcalSiPMShape
HcalSiPMShape(unsigned int signalShape=206)
Definition: HcalSiPMShape.cc:6
HcalSiPMShape::nt_
std::vector< double > nt_
Definition: HcalSiPMShape.h:24
HcalSiPMShape::operator()
double operator()(double time) const override
Definition: HcalSiPMShape.cc:13
HcalSiPMShape::timeToRise
double timeToRise() const override
Definition: HcalSiPMShape.h:17
HcalSiPMShape
Definition: HcalSiPMShape.h:8
trackingPlots.other
other
Definition: trackingPlots.py:1467
CaloVShape
Electronic response of the preamp.
Definition: CaloVShape.h:11
CaloVShape.h
HcalSiPMShape::~HcalSiPMShape
~HcalSiPMShape() override
Definition: HcalSiPMShape.h:13
ntuplemaker.time
time
Definition: ntuplemaker.py:310