9 class AliPHOSDA1 : public TNamed {
13 AliPHOSDA1(Int_t module);
14 AliPHOSDA1(Int_t module, TH2F oldTimeEnergy[64][56][2]);
15 AliPHOSDA1(const AliPHOSDA1& );
16 AliPHOSDA1& operator= (const AliPHOSDA1& );
19 void FillHistograms(Float_t e[64][56][2], Float_t t[64][56][2]);
20 Int_t GetModule() { return fMod; }
21 void UpdateHistoFile();
22 void SetWriteToFile(Bool_t write);
24 const TH2F* GetTimeEnergyHistogram(Int_t X, Int_t Z, Int_t gain) const
25 { return fTimeEnergy[X][Z][gain]; }
26 const TH1F* GetHgLgRatioHistogram(Int_t X, Int_t Z) const
27 { return fHgLgRatio[X][Z]; }
31 TFile* fHistoFile; // root file to store histograms in
32 TH1F* fHgLgRatio[64][56]; // high gain to low gain ratio
33 TH2F* fTimeEnergy[64][56][2]; // time and energy
34 Int_t fMod; // PHOS module number (0..4)
35 Bool_t fWriteToFile; // kTRUE to save histograms to ROOT file (default)
37 ClassDef(AliPHOSDA1,1)