Got rid of class template AliFMD<Type> on request of Federico, who
[u/mrichter/AliRoot.git] / FMD / AliFMDRawWriter.h
1 #ifndef ALIFMDRAWWRITER_H
2 #define ALIFMDRAWWRITER_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 writer ADC values to a Raw File
14 //
15 #ifndef ROOT_TTask
16 # include <TTask.h>
17 #endif
18
19 //____________________________________________________________________
20 class AliFMD;
21
22
23 //____________________________________________________________________
24 class AliFMDRawWriter : public TTask 
25 {
26 public:
27   AliFMDRawWriter(AliFMD* fmd);
28
29   virtual void Exec(Option_t* option="");
30   void SetSampleRate(UShort_t sampleRate=1) { fSampleRate = sampleRate; }
31   void SetChannelsPerAltro(UShort_t size=128) { fChannelsPerAltro = size; }
32 protected:
33   AliFMD*       fFMD;        //! Pointer to detector description 
34   UShort_t      fSampleRate; // The sample rate (if 0, inferred from data)
35   UShort_t      fChannelsPerAltro;
36   ClassDef(AliFMDRawWriter, 0) // Write FMD raw data to a DDL file
37 };
38
39 #endif
40 //____________________________________________________________________
41 //
42 // Local Variables:
43 //   mode: C++
44 // End:
45 //
46 // EOF
47 //