]>
Commit | Line | Data |
---|---|---|
5c6503dc | 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 | **************************************************************************/ | |
16 | ||
17 | #ifndef ALIHLTPHOSENERGYEQUALIZER_H | |
18 | #define ALIHLTPHOSENERGYEQUALIZER_H | |
19 | ||
20 | class AliHLTPHOSEnergyEqualizer : public AliHLTPHOSBase | |
21 | { | |
22 | ||
23 | public: | |
24 | AliHLTPHOSEnergyEqualizer(); | |
25 | ||
26 | virtual ~AliHLTPHOSEnergyEqualizer(); | |
27 | ||
28 | void SetGlobalHighGainConversionFactor(Float_t factor) { fGlobalHighGainFactor = factor; } | |
29 | void SetGlobalLowGainConversionFactor(Float_t factor) { fGlobalLowGainFactor = factor; } | |
30 | void SetGlobalConversion() { fGlobalConversion = true; } | |
31 | ||
32 | void SetDigitContainer(AliHLTPHOSDigitContainerStruct *digConPtr) { fDigitContainerPtr = digConPtr; } | |
33 | ||
34 | Int_t MakeDigits(AliHLTPHOSRcuCellEnergyDataStruct*); | |
35 | ||
36 | private: | |
37 | AliHLTPHOSDigitContainerStruct *fDigitContainerPtr; | |
38 | ||
39 | Float_t fGlobalHighGainFactor; | |
40 | Float_t fGlobalLowGainFactor; | |
41 | Bool_t fGlobalConversion; | |
42 | ||
43 | ClassImp(AliHLTPHOSEnergyEqualizer, 1); | |
44 | ||
45 | #endif |