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