CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/CalibCalorimetry/HcalAlgos/src/HcalPulseContainmentAlgo.h

Go to the documentation of this file.
00001 #ifndef HcalAlgos_HcalPulseContainmentAlgo_h
00002 #define HcalAlgos_HcalPulseContainmentAlgo_h
00003 
00004 #include "CalibCalorimetry/HcalAlgos/interface/HcalPulseShape.h"
00005 #include "CalibCalorimetry/HcalAlgos/interface/HcalShapeIntegrator.h"
00006 
00007 class HcalPulseContainmentAlgo {
00008 public:
00009   HcalPulseContainmentAlgo(const HcalPulseShape * shape,
00010                       int num_samples,
00011                       double fixedphase_ns);
00012   HcalPulseContainmentAlgo(int num_samples,
00013                       double fixedphase_ns);
00014   std::pair<double,double> calcpair(double);
00015 private:
00016   void init(int num_samples);
00017   double fixedphasens_;
00018   double integrationwindowns_;
00019   double time0shiftns_;
00020   HcalShapeIntegrator integrator_;
00021 };
00022 
00023 #endif
00024