"Bad Channels Finder" Detector Algorithm introduced.
[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();
21
22 private:
23
24 TFile* fHistoFile; // root file to store histograms in
25 TH1F* fHQuality[64][56][2]; // "quality" for high and low gains
26 Int_t fMod; // PHOS module number (0..4)
27 TH2F* fMaps[2]; // 2D quality map for low and high gains.
28
29 ClassDef(AliPHOSDA2,1)
30
31};
32
33#endif