00001 // PulseFit.h 00002 // 00003 // Class which computes 00004 // 00005 // last change : $Date: 2012/02/09 10:07:33 $ 00006 // by : $Author: eulisse $ 00007 // 00008 00009 #ifndef PulseFit_H 00010 #define PulseFit_H 00011 00012 00013 #include "TObject.h" 00014 #include <CalibCalorimetry/EcalLaserAnalyzer/interface/Shape.h> 00015 00016 class PulseFit: public TObject 00017 { 00018 public: 00019 // Default Constructor, mainly for Root 00020 PulseFit() ; 00021 00022 // Destructor: Does nothing? 00023 virtual ~PulseFit() ; 00024 00025 // Get reconstructed values 00026 double getAmplitude() const ; 00027 double getTime() const ; 00028 double getPedestal() const ; 00029 double getChi2() const ; 00030 00032 int getSmCrystalNb() const ; 00033 00035 void setSmCrystalNb(const int & crystalNb) ; 00036 00037 protected: 00038 double amplitude_ ; 00039 double time_ ; 00040 double pedestal_ ; 00041 double chi2_ ; 00042 int smCrystalNb_ ; 00043 00044 //H4Analysis * h4ana_ ; //!< pointer to current analysis 00045 //H4Shape * shape_ ; //!< pointer to current shape 00046 00047 // ClassDef(PulseFit,1) //!< The processed part of the class is persistant 00048 } ; 00049 00050 #endif