]>
Commit | Line | Data |
---|---|---|
f809259d | 1 | #ifndef ALIHLTPHOSDATACORRUPTOR_H |
2 | #define ALIHLTPHOSDATACORRUPTOR_H | |
56673b84 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | ||
f809259d | 7 | |
8 | #include <Rtypes.h> | |
9 | ||
10 | class AliHLTPHOSPulseGenerator; | |
11 | class TRandom; | |
12 | ||
13 | class AliHLTPHOSDataCorruptor | |
14 | { | |
15 | public: | |
16 | AliHLTPHOSDataCorruptor(); | |
17 | virtual ~ AliHLTPHOSDataCorruptor(); | |
18 | AliHLTPHOSDataCorruptor(const AliHLTPHOSDataCorruptor & ); | |
19 | AliHLTPHOSDataCorruptor & operator = (const AliHLTPHOSDataCorruptor &) | |
20 | { | |
21 | return *this; | |
22 | }; | |
23 | ||
24 | AliHLTPHOSPulseGenerator *fPulseGeneratorPtr; | |
25 | TRandom *fRandomGeneratorPtr; | |
26 | ||
27 | void MakeCorruptedData(Double_t *dataArray, int N); | |
28 | void MakeCorruptedDataTest(Double_t *dataArray, int N); | |
29 | void FlipBit(int *sample, int n); | |
30 | }; | |
31 | ||
32 | ||
33 | ||
34 | #endif |