]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDrawData.h
Update
[u/mrichter/AliRoot.git] / TRD / AliTRDrawData.h
index b73a610a92c43813d1c96683c8f848079c308ef5..c24e53c82c4baed6681f90f39f799c0d17b1ae9b 100644 (file)
@@ -23,6 +23,12 @@ class AliTRDdigitsManager;
 class AliTRDgeometry;
 class AliTRDfeeParam;
 class AliTRDarrayADC;
+class AliTRDdigitsParam;
+
+// Some constants:
+const UInt_t kEndoftrackletmarker = 0xAAAAAAAA; /*This marks the end of tracklet data words*/
+const UInt_t kEndofrawdatamarker  = 0x00000000; /*This marks the end of half-chamber-data*/
+const UInt_t kSizeWord            = sizeof(UInt_t);
 
 class AliTRDrawData : public TObject {
 
@@ -37,11 +43,10 @@ class AliTRDrawData : public TObject {
   virtual Bool_t       Digits2Raw(TTree *digits, const TTree *tracks = NULL);
 
   virtual AliTRDdigitsManager *Raw2Digits(AliRawReader *rawReader);
-  virtual AliTRDdigitsManager *Raw2DigitsOLD(AliRawReader *rawReader);
+  //virtual AliTRDdigitsManager *Raw2DigitsOLD(AliRawReader *rawReader);
   static void SetRawFormatVersion(Int_t iver){ fgRawFormatVersion=iver; };
   static void SetSuppressionLevel(Int_t ilevel){ fgDataSuppressionLevel=ilevel; };
   Bool_t WriteTracklets(Int_t det);
-  Bool_t OpenOutput();
 
   enum FORMATTYPE
     {
@@ -72,8 +77,6 @@ class AliTRDrawData : public TObject {
   TTree               *fTrackletTree;        //! Tree for tracklets
   UInt_t              **fTrackletContainer;  //! tracklet container
 
-  ClassDef(AliTRDrawData,5)             //  TRD raw data class
-
  private:
 
        static       Int_t  fgRawFormatVersion;                   // simulation raw data version - 0:old , 1:new(real data format)
@@ -81,12 +84,12 @@ class AliTRDrawData : public TObject {
        static const UInt_t fgkEndOfTrackletMarker  = 0x10001000; // This marks the end of tracklet data words
        static const UInt_t fgkEndOfDataMarker      = 0x00000000; // This marks the end of HC data words
 
-       Int_t   fSMindexPos;                // Position of SM index word
+    Int_t   fSMindexPos;                // Position of SM index word
     Int_t   fStackindexPos;             // Position of SM index word
     UInt_t  fEventCounter;              // Event counter(starting from 1)
+    AliTRDdigitsParam *fDigitsParam;    // Digits parameter
 
-
-
+  ClassDef(AliTRDrawData,6)             //  TRD raw data class
 
 };
 #endif