]>
Commit | Line | Data |
---|---|---|
c810e10b | 1 | #ifndef AliPHOSDA1_H |
2 | #define AliPHOSDA1_H | |
3 | ||
4 | #include "TNamed.h" | |
5 | #include "TH1.h" | |
6 | #include "TH2F.h" | |
7 | #include "TFile.h" | |
8 | ||
9 | class AliPHOSDA1 : public TNamed { | |
10 | ||
11 | public: | |
12 | ||
13 | AliPHOSDA1(Int_t module); | |
14 | AliPHOSDA1(const AliPHOSDA1& ); | |
15 | AliPHOSDA1& operator= (const AliPHOSDA1& ); | |
16 | ~AliPHOSDA1(); | |
17 | ||
18 | void FillHistograms(Float_t e[64][56][2], Float_t t[64][56][2]); | |
19 | Int_t GetModule() { return fMod; } | |
20 | void UpdateHistoFile(); | |
21 | ||
22 | private: | |
23 | ||
24 | TFile* fHistoFile; // root file to store histograms in | |
25 | TH1F* fHgLgRatio[64][56]; // high gain to low gain ratio | |
26 | TH2F* fTimeEnergy[64][56][2]; // time and energy | |
27 | Int_t fMod; // PHOS module number (0..4) | |
28 | ||
29 | ClassDef(AliPHOSDA1,1) | |
30 | ||
31 | }; | |
32 | ||
33 | #endif |