]>
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 | ||
18 | #ifndef ALIHLTPHOSNOISEMAPPER_H | |
19 | #define ALIHLTPHOSNOISEMAPPER_H | |
20 | ||
21 | #include <AliHLTPHOSBase.h> | |
22 | ||
23 | class AliHLTPHOSDigitContainerDataStruct; | |
24 | ||
25 | /** | |
26 | ||
27 | ||
28 | @author Oystein Djuvsland <oystein.djuvsland@gmail.com> | |
29 | */ | |
30 | class AliHLTPHOSNoiseMapper : public AliHLTPHOSBase | |
31 | { | |
32 | public: | |
33 | AliHLTPHOSNoiseMapper(); | |
34 | ||
35 | ~AliHLTPHOSNoiseMapper(); | |
36 | ||
37 | void MapNoisyChannels(AliHLTPHOSDigitContainerDataStruct *fDigitContainer); | |
38 | ||
39 | //void SetChannelArray ( Int_t* val ) { fChannelArrayPtr = val; } | |
40 | void GetChannelArray(Int_t channelArray[N_XCOLUMNS_MOD][N_ZROWS_MOD][N_GAINS]); | |
41 | void SetNoiseThreshold ( Float_t val ) { fNoiseThreshold = val; } | |
42 | Float_t GetNoiseThreshold() const { return fNoiseThreshold; } | |
43 | ||
44 | ||
45 | private: | |
46 | ||
47 | Int_t fChannelArray[N_XCOLUMNS_MOD][N_ZROWS_MOD][N_GAINS]; | |
48 | Float_t fNoiseThreshold; | |
49 | ||
50 | }; | |
51 | ||
52 | #endif |