]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/PHOS/AliHLTPHOSChannelCounter.h
Coding conventions and minor fixes
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSChannelCounter.h
CommitLineData
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
21class AliHLTPHOSRcuCellEnergyDataStruct;
22class AliHLTPHOSConstants;
23class TH2I;
24class TH2F;
25//class AliHLTPHOSBase;
26
27using namespace PhosHLTConst;
28
29class AliHLTPHOSChannelCounter : public AliHLTPHOSBase
30{
31public:
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
40private:
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