CMS 3D CMS Logo

ZDCShape.h
Go to the documentation of this file.
1 #ifndef HcalSimAlgos_ZDCShape_h
2 #define HcalSimAlgos_ZDCShape_h
3 #include <vector>
4 
6 
15 class ZDCShape : public CaloVShape {
16 public:
17  ZDCShape();
18  ZDCShape(const ZDCShape& d);
19 
20  ~ZDCShape() override {}
21 
22  double operator()(double time) const override;
23  double timeToRise() const override;
24 
25 private:
26  void computeShapeZDC();
27 
28  int nbin_;
29  std::vector<float> nt_;
30 };
31 
32 #endif
protons_cff.time
time
Definition: protons_cff.py:35
ZDCShape::operator()
double operator()(double time) const override
Definition: ZDCShape.cc:31
ZDCShape::nbin_
int nbin_
Definition: ZDCShape.h:28
ZDCShape::computeShapeZDC
void computeShapeZDC()
Definition: ZDCShape.cc:10
ZDCShape::ZDCShape
ZDCShape()
Definition: ZDCShape.cc:4
ZDCShape::nt_
std::vector< float > nt_
Definition: ZDCShape.h:29
ZDCShape::timeToRise
double timeToRise() const override
Definition: ZDCShape.cc:8
ZDCShape
shaper for ZDC
Definition: ZDCShape.h:15
CaloVShape
Electronic response of the preamp.
Definition: CaloVShape.h:11
CaloVShape.h
ZDCShape::~ZDCShape
~ZDCShape() override
Definition: ZDCShape.h:20
ztail.d
d
Definition: ztail.py:151