File indexing completed on 2024-04-06 12:29:21
0001 #ifndef CastorSim_CastorShape_h
0002 #define CastorSim_CastorShape_h
0003 #include <vector>
0004
0005 #include "SimCalorimetry/CaloSimAlgos/interface/CaloVShape.h"
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 class CastorShape : public CaloVShape {
0016 public:
0017 CastorShape();
0018 CastorShape(const CastorShape &d);
0019
0020 ~CastorShape() override {}
0021
0022 double operator()(double time) const override;
0023 double timeToRise() const override;
0024
0025 private:
0026 void computeShapeCastor();
0027
0028 int nbin_;
0029 std::vector<float> nt_;
0030 };
0031
0032 #endif