// ESAF : Euso Simulation and Analysis Framework // $Id: MasterShowerModule.hh,v 1.1 2004/09/27 19:15:18 naumov Exp $ // Author: Dmitry V.Naumov σΕΞ, 24 2004 /***************************************************************************** * ESAF: Euso Simulation and Analysis Framework * * * * Id: MasterShowerModule * * Package: * * Coordinator: * * * *****************************************************************************/ #ifndef __MASTERSHOWERMODULE_HH_ #define __MASTERSHOWERMODULE_HH_ #include "euso.hh" #include "RecoModule.hh" #include "RecoPixelData.hh" #include class RecoEvent; class RecoRootEvent; class TH1F; //////////////////////////////////////////////////////////////////////////////// // // // MasterShowerModule // // // // // // // //////////////////////////////////////////////////////////////////////////////// class MasterShowerModule : public RecoModule { public: // ctor MasterShowerModule(); // dtor virtual ~MasterShowerModule(); // 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: vector fPointsId; // vector cluster; // all cluster in one vector RecoEvent *fEv; // pointer to teh reco event Int_t fNumPoints; Int_t fNumHits; Double_t fEnergy; // assumed energy 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 TVector3 fOmega; // reconstructed unit vector along the shower direction Float_t fGtuLength; // Gate Time Unit length in microsecond Float_t fFirstHit; // First time hit of the event Float_t fLastHit; // Last time hit of the event Float_t fMeanBackground; // Mean value of the background in the event TH1F* fTemp; // temporary histogram ClassDef(MasterShowerModule,0) }; #endif /* __MASTERSHOWERMODULE_HH_ */