Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef HcalSimAlgos_HcalShape_h
0002 #define HcalSimAlgos_HcalShape_h
0003 #include <vector>
0004 
0005 #include "SimCalorimetry/CaloSimAlgos/interface/CaloVShape.h"
0006 #include "CalibCalorimetry/HcalAlgos/interface/HcalPulseShapes.h"
0007 /**
0008 
0009    \class HcalShape
0010 
0011    \brief  shaper for Hcal (not for HF)
0012    
0013 */
0014 
0015 class HcalShape : public CaloVShape {
0016 public:
0017   HcalShape();
0018   void setShape(int shapeType);
0019   double operator()(double time) const override;
0020   double timeToRise() const override;
0021 
0022 private:
0023   HcalPulseShapes::Shape shape_;
0024 };
0025 
0026 #endif