-#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
AliTOFDDLRawData(const AliTOFDDLRawData &source); // copy constructor
AliTOFDDLRawData& operator=(const AliTOFDDLRawData &source); // ass. op.
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;
//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