]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFDDLRawData.h
Improved QAchecker and plots for DQM
[u/mrichter/AliRoot.git] / TOF / AliTOFDDLRawData.h
index 5df3ddd99613e8d83ecd21c654fb3717bdca5c70..84309fb1bb4a2889d2c4efa8f15d4d33027a34cd 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef AliTOFDDLRAWDATA_H
-#define AliTOFDDLRAWDATA_H
+#ifndef ALITOFDDLRAWDATA_H
+#define ALITOFDDLRAWDATA_H
 
 /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 ////////////////////////////////////////////////////////////////////////////
 
 #include "TObject.h"
+//#include "AliTOFCableLengthMap.h"
 
 class TBranch;
 class TClonesArray;
 
 class AliTOFDigitMap;
-class AliTOFGeometry;
-class AliTOFRawStream;
+//class AliTOFRawStream;
 
 class AliTOFDDLRawData:public TObject {
 
  public:
 
   AliTOFDDLRawData();                               // default constructor
-  AliTOFDDLRawData(AliTOFGeometry *tofGeom);        // constructor
-  virtual ~AliTOFDDLRawData(){;}                    // destructor
+  virtual ~AliTOFDDLRawData();                              // destructor
   AliTOFDDLRawData(const AliTOFDDLRawData &source); // copy constructor
   AliTOFDDLRawData& operator=(const AliTOFDDLRawData &source); // ass. op.
   void SetVerbose(Int_t Verbose){fVerbose=Verbose;} // To set the verbose level
@@ -53,12 +52,12 @@ class AliTOFDDLRawData:public TObject {
   void  MakeLTMtrailer(UInt_t *buf);
   void  MakeTRMheader(Int_t nTRM, UInt_t *buf);
   void  MakeTRMtrailer(UInt_t *buf);
-  void  MakeTRMfiller(UInt_t *buf, UInt_t nWordsPerTRM);
+  void  MakeTRMfiller(UInt_t *buf);
   void  MakeTRMchainHeader(Int_t iChain, Int_t nTRM, UInt_t *buf);
   void  MakeTRMchainTrailer(Int_t iChain, UInt_t *buf);
-  void  MakeTDCdigits(Int_t nDDL, Int_t nTRM, Int_t iChain, UInt_t *buf, UInt_t &nWordsPerTRM);
+  void  MakeTDCdigits(Int_t nDDL, Int_t nTRM, Int_t iChain, UInt_t *buf);
 
-  UInt_t MakeFiller();
+  UInt_t MakeFiller() const;
 
   Bool_t HeadOrTail() const;
 
@@ -74,16 +73,16 @@ class AliTOFDDLRawData:public TObject {
                                  //search time-of-flight measurements
                                  //for the current event
 
-  AliTOFGeometry *fTOFgeometry;   //Pointer to the TOF geometry
-
   AliTOFDigitMap *fTOFdigitMap;   //Pointer to the channel-TOF map
 
   TClonesArray *fTOFdigitArray;   //Pointer to the TOF digits
 
-  AliTOFRawStream *fTOFrawStream; //Pointer to the AliTOFRawStream class
+  Int_t fWordsPerDRM;
+  Int_t fWordsPerTRM;
+  Int_t fWordsPerChain;
 
-  ClassDef(AliTOFDDLRawData,1)
+  ClassDef(AliTOFDDLRawData,4)
 
 };
     
-#endif
+#endif // ALITOFDDLRAWDATA_H