// $Id: RecoHmaxByShapeMethod.hh,v 1.4 2005/01/05 13:08:19 pesce Exp $ // Author: R.Pesce 2005/01/04 /***************************************************************************** * ESAF: Euso Simulation and Analysis Framework * * * * Id: RecoHmaxByShapeMethod * * Package: * * Coordinator: * * * *****************************************************************************/ #ifndef __RECOHMAXBYSHAPEMETHOD_HH__ #define __RECOHMAXBYSHAPEMETHOD_HH__ #include "TObject.h" #include "TH1F.h" //////////////////////////////////////////////////////////////////////////////// // // // RecoHmaxByShapeMethod // // // // // // // //////////////////////////////////////////////////////////////////////////////// class RecoHmaxByShapeMethod : public TObject { public: RecoHmaxByShapeMethod(); // ctor RecoHmaxByShapeMethod( const RecoHmaxByShapeMethod& ); // copy ctor virtual ~RecoHmaxByShapeMethod(); // dtor void Clear(); // clear method virtual void Copy ( RecoHmaxByShapeMethod& ) const; // copy to a new object // setters inline void SetQuality(Double_t t) { fQuality = t; } inline void SetHmax(Double_t t) { fHmax = t; } inline void SetErrorHmax(Double_t t) { fErrorHmax = t; } void SetTempHisto(TH1F*); // getters inline Double_t GetQuality() const { return fQuality; } inline Double_t GetHmax() const { return fHmax; } inline Double_t GetErrorHmax() const { return fErrorHmax; } inline TH1F* GetHisto() const { return fTempHisto; } private: Double_t fQuality; // reconstruction quality variable defined by the the module responsible Double_t fHmax; // reconstructed altitude of shower maximum by shape method in km Double_t fErrorHmax; // error in the reconstuction of fHmax in km (estimated with MC) TH1F *fTempHisto; // histo with temporal distribution fit. ClassDef(RecoHmaxByShapeMethod,1) }; #endif /* __RECOHMAXBYSHAPEMETHOD_HH__ */