Access to the headers from RAW
[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.
088f8e79 14// Note, that it uses an ALTRO reader, which is wrong.
15// Perhaps we need to implement it our selves
e802be3e 16//
e802be3e 17#ifndef ROOT_TTask
18# include <TTask.h>
19#endif
20
21//____________________________________________________________________
22class AliRawReader;
1a1fdef7 23class TTree;
d760ea03 24class TClonesArray;
e802be3e 25
26
27//____________________________________________________________________
28class AliFMDRawReader : public TTask
29{
30public:
1a1fdef7 31 AliFMDRawReader(AliRawReader* reader, TTree* array);
088f8e79 32 virtual ~AliFMDRawReader() {}
d760ea03 33 virtual void Exec(Option_t* option="");
34 virtual Bool_t ReadAdcs(TClonesArray* array);
e802be3e 35protected:
1a1fdef7 36 TTree* fTree; //! Pointer to tree to read into
e802be3e 37 AliRawReader* fReader; //! Pointer to raw reader
38 UShort_t fSampleRate; // The sample rate (if 0, inferred from data)
39 ClassDef(AliFMDRawReader, 0) // Read FMD raw data into a cache
40};
41
42#endif
43//____________________________________________________________________
44//
45// Local Variables:
46// mode: C++
47// End:
48//
49// EOF
50//