]>
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) ; | |
72bc98e7 | 24 | // AliFMDPedestalDA& operator = (const AliFMDPedestalDA & pedDA) ; |
178c5972 | 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() {} | |
f7f0b643 | 35 | void Terminate(TFile* ); |
178c5972 | 36 | private: |
37 | TH1S* GetChannel(UShort_t det, Char_t ring, UShort_t sec, UShort_t strip); | |
c5b9fdec | 38 | |
f7f0b643 | 39 | Int_t fCurrentChannel; |
40 | TH1F fPedSummary; | |
41 | TH1F fNoiseSummary; | |
178c5972 | 42 | ClassDef(AliFMDPedestalDA,0) |
f7f0b643 | 43 | |
178c5972 | 44 | }; |
45 | #endif |