CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/CalibCalorimetry/EcalLaserAnalyzer/interface/Shape.h

Go to the documentation of this file.
00001 // Shape.h
00002 //
00011 #ifndef Shape_H
00012 #define Shape_H
00013 
00014 #include "TObject.h"
00015 
00016 class Shape: public TObject
00017 {
00018 public:
00020   virtual double eval(double t) const = 0 ;
00022   virtual double derivative(double t) const = 0 ;
00024   virtual double getTimeOfMax() const = 0 ;
00026   virtual bool fillShapeFor(int tower=0, int crystal=0, int gain=0) = 0 ; 
00027 
00028   ClassDef(Shape,1) // Definition of a general interface to pulse shapes
00029 };
00030 
00031 #endif