// ESAF : Euso Simulation and Analysis Framework // $Id: XmaxModule.hh,v 1.4 2004/09/27 19:15:57 naumov Exp $ // Naumov Dmitry created Jul, 4 2004 #ifndef __XMAXMODULE_HH_ #define __XMAXMODULE_HH_ #include "euso.hh" #include "RecoModule.hh" #include class RecoEvent; class RecoRootEvent; class XmaxModule : public RecoModule { public: // ctor XmaxModule(); // dtor virtual ~XmaxModule(); // 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(); private: Int_t fNum; // event number vector fPointsId; // Int_t fNumPoints; Double_t fTheta; // reconstrustructed from the previous module Theta zenith angle Double_t fPhi; // reconstrustructed from the previous module Phi azimuthal angle Double_t fAltitude; // reconstructed altitude of shower maximum by shape method Double_t fXmax; // reconstructed Xmax for altitude of shower maximum by shape method Double_t fAltitudeProton; // reconstructed altitude of shower maximum for proton Double_t fXmaxP; // reconstructed Xmax for altitude of shower maximum for proton ClassDef(XmaxModule,0) }; #endif /* __XMAXMODULE_HH_ */