#if !defined (__CINT__) || defined (__MAKECINT__) #include "TH1.h" #include "TH2.h" #include "TProfile.h" #include #include #include #include #endif class TFwdDetAnaModule: public TStnModule { public: struct Hist_t { TH1F* fBscCounts[18]; TH1F* fRptCounts[3]; TH1F* fRpsCounts[3][2][40]; TH1F* fMpSumTowerCounts[2][18]; TH1F* fMpTowerCounts[2][84]; }; protected: // pointers to the data blocks used TFwdDetDataBlock* fFwdDetDataBlock; // histograms filled Hist_t fHist; bool firstBsc; bool firstRpt; bool firstRps; bool firstMp; // stub finder public: TFwdDetAnaModule(const char* name="FwdDetAna", const char* title="FwdDetAna"); ~TFwdDetAnaModule(); // ****** accessors Hist_t* GetHist () { return &fHist; } TFwdDetDataBlock* GetFwdDataBlock() { return fFwdDetDataBlock; } // ****** setters // ****** overloaded methods of // TStnModule int BeginJob(); int BeginRun(); int Event (int ientry); int EndJob (); // ****** other methods void BookHistograms(); void DisplayEvent(); char GetBscSide(int ch); int GetBscStation(int ch); int GetBscCounter(int ch); ClassDef(TFwdDetAnaModule,0) };