]>
Commit | Line | Data |
---|---|---|
178c5972 | 1 | #ifndef ALIFMDPEDESTALDA_H |
2 | #define ALIFMDPEDESTALDA_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights | |
5 | * reserved. | |
6 | * | |
7 | * See cxx source for full Copyright notice | |
8 | */ | |
9 | // This class implements the pedestal detector algorithm (DA) for the FMD. | |
10 | // It uses 51200 TH1S histograms to store the data for each channel of the FMD. | |
11 | // The mean and standard deviation of a histogram define the pedestal and | |
12 | // the noise for that channel. | |
13 | ||
14 | ||
15 | #include "AliFMDBaseDA.h" | |
16 | #include "TH1.h" | |
17 | #include "TObjArray.h" | |
18 | ||
19 | class AliFMDPedestalDA: public AliFMDBaseDA { | |
20 | ||
21 | public: | |
22 | AliFMDPedestalDA() ; | |
23 | AliFMDPedestalDA(const AliFMDPedestalDA & pedDA) ; | |
24 | AliFMDPedestalDA& operator = (const AliFMDPedestalDA & pedDA) ; | |
25 | virtual ~AliFMDPedestalDA(); | |
26 | void Init(); | |
27 | ||
28 | protected: | |
29 | ||
30 | void AddChannelContainer(TObjArray* sectorArray, UShort_t det, Char_t ring, UShort_t sec, UShort_t strip); | |
31 | void FillChannels(AliFMDDigit* digit); | |
32 | void Analyse(UShort_t det, Char_t ring, UShort_t sec, UShort_t strip); | |
33 | void WriteHeaderToFile(); | |
34 | void FinishEvent() {} | |
35 | private: | |
36 | TH1S* GetChannel(UShort_t det, Char_t ring, UShort_t sec, UShort_t strip); | |
37 | ||
38 | ClassDef(AliFMDPedestalDA,0) | |
39 | ||
40 | }; | |
41 | #endif |