]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/AliFMDRawWriter.h
Initialization of data members
[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 class AliAltroBuffer;
22 class TArrayI;
23
24
25 //____________________________________________________________________
26 class AliFMDRawWriter : public TTask 
27 {
28 public:
29   AliFMDRawWriter(AliFMD* fmd);
30
31   virtual void Exec(Option_t* option="");
32 protected:
33   virtual void WriteChannel(AliAltroBuffer* altro, 
34                             UShort_t strip, UShort_t sector, Char_t ring, 
35                             const TArrayI& data);
36   AliFMD*       fFMD;              //! Pointer to detector description 
37   UShort_t      fSampleRate;       // The sample rate (0 -> inferred from data)
38   UShort_t      fChannelsPerAltro; // Number of pre-amp. channels/adc channel 
39   UShort_t      fThreshold;        // Threshold for zero-suppression
40   
41   ClassDef(AliFMDRawWriter, 0) // Write FMD raw data to a DDL file
42 };
43
44 #endif
45 //____________________________________________________________________
46 //
47 // Local Variables:
48 //   mode: C++
49 // End:
50 //
51 // EOF
52 //