]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSDA2.h
bugfix: external interface was calling AliHLTComponent::Init twice since r27483
[u/mrichter/AliRoot.git] / PHOS / AliPHOSDA2.h
CommitLineData
6a34dadb 1#ifndef AliPHOSDA2_H
2#define AliPHOSDA2_H
3
4#include "TNamed.h"
5#include "TH1.h"
6#include "TH2.h"
7#include "TFile.h"
8
9class AliPHOSDA2 : public TNamed {
10
11 public:
12
13 AliPHOSDA2(Int_t module);
14 AliPHOSDA2(const AliPHOSDA2& );
15 AliPHOSDA2& operator= (const AliPHOSDA2& );
16 ~AliPHOSDA2();
17
18 void FillQualityHistograms(Float_t quality[64][56][2]);
19 Int_t GetModule() { return fMod; }
20 void UpdateHistoFile();
a4500091 21
22 const TH1F* GetQualityHistogram(Int_t X, Int_t Z, Int_t gain) const
23 { return fHQuality[X][Z][gain]; }
6a34dadb 24
25 private:
26
27 TFile* fHistoFile; // root file to store histograms in
28 TH1F* fHQuality[64][56][2]; // "quality" for high and low gains
29 Int_t fMod; // PHOS module number (0..4)
30 TH2F* fMaps[2]; // 2D quality map for low and high gains.
31
32 ClassDef(AliPHOSDA2,1)
33
34};
35
36#endif