]>
Commit | Line | Data |
---|---|---|
ab38011b | 1 | |
2 | /************************************************************************** | |
3 | * This file is property of and copyright by the ALICE HLT Project * | |
4 | * All rights reserved. * | |
5 | * * | |
6 | * Primary Authors: Oystein Djuvsland * | |
7 | * * | |
8 | * Permission to use, copy, modify and distribute this software and its * | |
9 | * documentation strictly for non-commercial purposes is hereby granted * | |
10 | * without fee, provided that the above copyright notice appears in all * | |
11 | * copies and that both the copyright notice and this permission notice * | |
12 | * appear in the supporting documentation. The authors make no claims * | |
13 | * about the suitability of this software for any purpose. It is * | |
14 | * provided "as is" without express or implied warranty. * | |
15 | **************************************************************************/ | |
5c6503dc | 16 | #ifndef ALIHLTPHOSCHANNELCOUNTER_H |
17 | #define ALIHLTPHOSCHANNELCOUNTER_H | |
18 | ||
19 | #include "AliHLTPHOSBase.h" | |
20 | ||
21 | class AliHLTPHOSRcuCellEnergyDataStruct; | |
22 | class AliHLTPHOSConstants; | |
23 | class TH2I; | |
24 | class TH2F; | |
25 | //class AliHLTPHOSBase; | |
26 | ||
27 | using namespace PhosHLTConst; | |
28 | ||
29 | class AliHLTPHOSChannelCounter : public AliHLTPHOSBase | |
30 | { | |
31 | public: | |
32 | AliHLTPHOSChannelCounter(); | |
ab38011b | 33 | virtual ~AliHLTPHOSChannelCounter(); |
5c6503dc | 34 | |
ab38011b | 35 | void CountChannels(AliHLTPHOSRcuCellEnergyDataStruct* cellEnergy); |
36 | void PrintOutOfSyncChannels(Int_t nEvents); | |
37 | void FillHistograms(Int_t nEvents); | |
38 | void WriteHistograms(const char* name); | |
5c6503dc | 39 | |
40 | private: | |
41 | ||
ab38011b | 42 | UInt_t fChannelArrayPtr[N_XCOLUMNS_MOD][N_ZROWS_MOD][N_GAINS]; //comment |
43 | TH2I *fHistHighGainPtr; //comment | |
44 | TH2I *fHistLowGainPtr; //comment | |
45 | TH2F *fHistHighRatioPtr; //comment | |
46 | TH2F *fHistLowRatioPtr; //comment | |
5c6503dc | 47 | |
48 | // ClassDef(AliHLTPHOSChannelCounter, 1); | |
49 | }; | |
50 | ||
51 | #endif |