CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/CalibCalorimetry/HcalAlgos/interface/HcalShapeIntegrator.h

Go to the documentation of this file.
00001 #ifndef HcalAlgos_HcalShapeIntegrator_h
00002 #define HcalAlgos_HcalShapeIntegrator_h
00003 
00009 #include "CalibCalorimetry/HcalAlgos/interface/HcalPulseShapes.h"
00010 #include <vector>
00011 
00012 class HcalShapeIntegrator
00013 {
00014 public:
00015   HcalShapeIntegrator( const HcalPulseShapes::Shape* aShape ) ;
00016   float operator()(double startTime, double stopTime) const;
00017 
00018 private:
00019   float at(double time) const;
00020 
00021   int nbin_;
00022   std::vector<float> v_;
00023 };
00024 
00025 #endif
00026