CMS 3D CMS Logo

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