Added docs and fixed a bug
[u/mrichter/AliRoot.git] / FMD / AliFMDRawReader.h
CommitLineData
e802be3e 1#ifndef ALIFMDRAWREADER_H
2#define ALIFMDRAWREADER_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
4 * reserved.
5 *
6 * Latest changes by Christian Holm Christensen <cholm@nbi.dk>
7 *
8 * See cxx source for full Copyright notice
9 */
10/* $Id$ */
11//____________________________________________________________________
12//
13// Class to read ADC values from a AliRawReader object.
14//
e802be3e 15#ifndef ROOT_TTask
16# include <TTask.h>
17#endif
18
19//____________________________________________________________________
20class AliRawReader;
21class AliFMD;
22
23
24//____________________________________________________________________
25class AliFMDRawReader : public TTask
26{
27public:
28 AliFMDRawReader(AliFMD* fmd, AliRawReader* reader);
29
30 virtual void Exec(Option_t* option="");
31 void SetSampleRate(UShort_t sampleRate=1) { fSampleRate = sampleRate; }
32protected:
33 AliFMD* fFMD; //! Pointer to detector description
34 AliRawReader* fReader; //! Pointer to raw reader
35 UShort_t fSampleRate; // The sample rate (if 0, inferred from data)
36 ClassDef(AliFMDRawReader, 0) // Read FMD raw data into a cache
37};
38
39#endif
40//____________________________________________________________________
41//
42// Local Variables:
43// mode: C++
44// End:
45//
46// EOF
47//