Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:29:31

0001 #ifndef HcalSimAlgos_ZDCShape_h
0002 #define HcalSimAlgos_ZDCShape_h
0003 #include <vector>
0004 
0005 #include "SimCalorimetry/CaloSimAlgos/interface/CaloVShape.h"
0006 
0007 /**
0008   
0009    \class ZDCShape
0010   
0011    \brief  shaper for ZDC
0012      
0013 */
0014 
0015 class ZDCShape : public CaloVShape {
0016 public:
0017   ZDCShape();
0018   ZDCShape(const ZDCShape& d);
0019 
0020   ~ZDCShape() override {}
0021 
0022   double operator()(double time) const override;
0023   double timeToRise() const override;
0024 
0025 private:
0026   void computeShapeZDC();
0027 
0028   int nbin_;
0029   std::vector<float> nt_;
0030 };
0031 
0032 #endif