]>
Commit | Line | Data |
---|---|---|
3ed012c1 | 1 | /************************************************************************** |
2 | * This file is property of and copyright by the ALICE HLT Project * | |
3 | * All rights reserved. * | |
4 | * * | |
5 | * Primary Authors: Oystein Djuvsland * | |
6 | * * | |
7 | * Permission to use, copy, modify and distribute this software and its * | |
8 | * documentation strictly for non-commercial purposes is hereby granted * | |
9 | * without fee, provided that the above copyright notice appears in all * | |
10 | * copies and that both the copyright notice and this permission notice * | |
11 | * appear in the supporting documentation. The authors make no claims * | |
12 | * about the suitability of this software for any purpose. It is * | |
13 | * provided "as is" without express or implied warranty. * | |
14 | **************************************************************************/ | |
15 | ||
16 | #ifndef ALIHLTPHOSSANITYINSPECTOR_H | |
17 | #define ALIHLTPHOSSANITYINSPECTOR_H | |
18 | ||
19 | #include "AliHLTPHOSBase.h" | |
ab38011b | 20 | //#include "AliHLTAltroData.h" |
3ed012c1 | 21 | #include "Rtypes.h" |
22 | ||
ab38011b | 23 | class AliHLTAltroData; |
24 | ||
3ed012c1 | 25 | class AliHLTPHOSSanityInspector : public AliHLTPHOSBase |
26 | { | |
27 | ||
28 | public: | |
29 | AliHLTPHOSSanityInspector(); | |
30 | ||
31 | virtual ~AliHLTPHOSSanityInspector(); | |
32 | ||
ab38011b | 33 | Int_t CheckInsanity(UInt_t* data, Int_t nSamples); |
34 | Int_t CheckInsanity(Int_t* data, Int_t nSamples); | |
3ed012c1 | 35 | |
ab38011b | 36 | Int_t CheckAndHealInsanity(UInt_t* data, Int_t nSamples); //Not completely reliable |
37 | Int_t CheckAndHealInsanity(Int_t* data, Int_t nSamples); //Not completely reliable | |
3ed012c1 | 38 | |
39 | void SetMaxDifference(Int_t maxDiff) { fMaxDifference = maxDiff; } | |
40 | ||
41 | private: | |
ab38011b | 42 | Int_t fMaxDifference; //comment |
3ed012c1 | 43 | |
44 | ClassDef(AliHLTPHOSSanityInspector, 1); | |
45 | }; | |
46 | ||
47 | #endif |