// ESAF : Euso Simulation and Analysis Framework // $Id: HmaxForProtonModule.hh,v 1.3 2004/09/17 17:55:52 naumov Exp $ // Naumov Dmitry created Jul, 4 2004 #ifndef __HMAXFORPROTONMODULE_HH_ #define __HMAXFORPROTONMODULE_HH_ #include "euso.hh" #include "RecoModule.hh" class RecoRootEvent; class RecoEvent; class HmaxForProtonModule : public RecoModule { public: // ctor HmaxForProtonModule(); // dtor virtual ~HmaxForProtonModule(); // Init method: called at the beginning of a run Bool_t Init(); // called before each event process Bool_t PreProcess(); // event processing Bool_t Process( RecoEvent* ); // called after processing an event Bool_t PostProcess(); // save root output virtual Bool_t SaveRootData( RecoRootEvent* ); // called at the end of each run Bool_t Done(); // memory clean void UserMemoryClean(); // Get reconstructed Theta Double_t GetTheta() {return fTheta;} // Depth in the Atmosphere corresponding to the Shower Maximum Double_t XMaxEstimate(); private: Double_t fEnergy; Double_t fTheta; Double_t fPhi; Double_t fAltitude; ClassDef(HmaxForProtonModule,0) }; #endif /* __HMAXFORPROTONMODULE_HH_ */