]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/PHOS/AliHLTPHOSDataCorruptor.h
AliHLTTPCHistogramHandlerComponent: Added general funcionality to handle all histograms.
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSDataCorruptor.h
CommitLineData
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
10class AliHLTPHOSPulseGenerator;
11class TRandom;
12
13class 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