]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONRawData.h
3cb45a0ac6d1c4405966d309dc87e1198f727d45
[u/mrichter/AliRoot.git] / MUON / AliMUONRawData.h
1 #ifndef ALIMUONRAWDATA_H
2 #define ALIMUONRAWDATA_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 #include <TObject.h>
7 class TClonesArray;
8 class AliLoader;
9 class AliMUONData;
10 class AliMUONDigit;
11 class AliMUONDDLTracker;
12
13 class AliMUONRawData : public TObject 
14 {
15  public:
16   AliMUONRawData(AliLoader* loader); // Constructor
17   virtual ~AliMUONRawData(void); // Destructor
18     
19   // write raw data
20   Int_t   WriteRawData();
21
22   AliMUONData*   GetMUONData() {return fMUONData;}
23
24   Int_t GetPrintLevel(void) const {return fPrintLevel;}
25   void SetPrintLevel(Int_t printLevel) {fPrintLevel = printLevel;}
26
27  protected:
28   AliMUONRawData();                  // Default constructor
29   AliMUONRawData (const AliMUONRawData& rhs); // copy constructor
30   AliMUONRawData& operator=(const AliMUONRawData& rhs); // assignment operator
31
32  private:
33   static const Int_t fgkDefaultPrintLevel;     // Default print level
34
35   Int_t                   fNCh;                // Number of chambers   
36   Int_t                   fNTrackingCh;        // Number of tracking chambers*
37   Int_t                   fNTriggerCh;         // Number of trigger chambers*
38
39   AliMUONData*            fMUONData;           //! Data container for MUON subsystem 
40
41  // print level
42   Int_t fPrintLevel;
43
44   // debug
45   Int_t fDebug;
46   
47   // alice loader
48   AliLoader* fLoader;
49
50   // DDL binary file pointer one per 1/2 chamber
51   FILE* fFile1;
52   FILE* fFile2;
53
54   Int_t WriteDDL(Int_t iCh);
55
56   ClassDef(AliMUONRawData,0) // MUON cluster reconstructor in ALICE
57 };
58         
59 #endif