]>
Commit | Line | Data |
---|---|---|
f809259d | 1 | #ifndef ALIHLTPHOSDATACORRUPTOR_H |
2 | #define ALIHLTPHOSDATACORRUPTOR_H | |
3 | ||
4 | #include <Rtypes.h> | |
5 | ||
6 | class AliHLTPHOSPulseGenerator; | |
7 | class TRandom; | |
8 | ||
9 | class AliHLTPHOSDataCorruptor | |
10 | { | |
11 | public: | |
12 | AliHLTPHOSDataCorruptor(); | |
13 | virtual ~ AliHLTPHOSDataCorruptor(); | |
14 | AliHLTPHOSDataCorruptor(const AliHLTPHOSDataCorruptor & ); | |
15 | AliHLTPHOSDataCorruptor & operator = (const AliHLTPHOSDataCorruptor &) | |
16 | { | |
17 | return *this; | |
18 | }; | |
19 | ||
20 | AliHLTPHOSPulseGenerator *fPulseGeneratorPtr; | |
21 | TRandom *fRandomGeneratorPtr; | |
22 | ||
23 | void MakeCorruptedData(Double_t *dataArray, int N); | |
24 | void MakeCorruptedDataTest(Double_t *dataArray, int N); | |
25 | void FlipBit(int *sample, int n); | |
26 | }; | |
27 | ||
28 | ||
29 | ||
30 | #endif |