]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/PHOS/AliHLTPHOSDataCorruptor.h
A new function for calculating the mean crossed material (A.Dainese, A.Gheata)
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSDataCorruptor.h
CommitLineData
f809259d 1#ifndef ALIHLTPHOSDATACORRUPTOR_H
2#define ALIHLTPHOSDATACORRUPTOR_H
3
4#include <Rtypes.h>
5
6class AliHLTPHOSPulseGenerator;
7class TRandom;
8
9class 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