CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/SimCalorimetry/CaloSimAlgos/interface/CaloCachedShapeIntegrator.h

Go to the documentation of this file.
00001 #ifndef CaloSimAlgos_CaloCachedShapeIntegrator_h
00002 #define CaloSimAlgos_CaloCachedShapeIntegrator_h
00003 
00009 #include "SimCalorimetry/CaloSimAlgos/interface/CaloVShape.h"
00010 #include <vector>
00011 
00012 class CaloCachedShapeIntegrator: public CaloVShape
00013 {
00014    public:
00015 
00016       CaloCachedShapeIntegrator( const CaloVShape* aShape ) ;
00017 
00018       virtual ~CaloCachedShapeIntegrator() ;
00019 
00020       virtual double operator () ( double startTime ) const ;
00021       virtual double timeToRise()                     const ;
00022 
00023    private:
00024 
00025       std::vector<double> v_;
00026       double timeToRise_;
00027 };
00028 
00029 #endif
00030