X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=TOF%2FAliTOFDDLRawData.h;h=5a80346bb72b054a0993b79755cc2796dd845972;hp=3d59f425cfb502225b3f87ec469d5732049b0530;hb=344f25d27e104af04aaad2a5e6079365c05657cf;hpb=7e6dce66e285ffae5d5e06a8575cf5e8bb9ac90e diff --git a/TOF/AliTOFDDLRawData.h b/TOF/AliTOFDDLRawData.h index 3d59f425cfb..5a80346bb72 100644 --- a/TOF/AliTOFDDLRawData.h +++ b/TOF/AliTOFDDLRawData.h @@ -26,14 +26,6 @@ class AliTOFDDLRawData:public TObject{ void GetDigits(TClonesArray *TOFdigits, Int_t ddl,UInt_t *buf); //This method formats and stores in buf all the digits of a TOF module - void PackWord(UInt_t &BaseWord, UInt_t Word, Int_t StartBit, Int_t StopBit); - //This method stores the value of the variable Word of StopBit-StartBit+1 bits - //in BaseWord, starting from the bit StartBit - - void UnpackWord(UInt_t PackedWord, Int_t StartBit, Int_t StopBit, UInt_t &Word); - //This method extracts a group of adjacent bits, specified by StartBit and StopBit, - //from the word PackedWord. The resulting word is saved in the Word variable - /* void WriteChipHeader(Int_t ChipAddr,Int_t EventCnt,UInt_t &BaseWord); void WriteChipTrailer(UInt_t *buf,Int_t ChipHitCount,UInt_t &BaseWord); @@ -47,6 +39,7 @@ class AliTOFDDLRawData:public TObject{ Int_t fVerbose; //Verbose level (0:no msg, 1:msg, 2:digits in txt files) Int_t fIndex; //number of 32 words to be stored into the output file + enum {kDDLOffset = 0x500}; //offset for DDL number ClassDef(AliTOFDDLRawData,1) };