void GetDigits(AliT0digit *fDigits);
//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 WriteDataHeader(Bool_t dummy, Bool_t compressed);
void WriteDRMDataHeader();
void WriteTRMDataHeader(UInt_t slotID, Int_t nWords, Int_t positionOfTRMHeader);
protected:
- Int_t fVerbose; //Verbose level (0:no msg, 1:msg, 2:digits in txt files)
- UInt_t fBuffer[512]; // buffer for writing rawdata
- Int_t fIndex; //number of 32 words to be stored into the output file
- Int_t fEventNumber; // current event number
- TArrayI * fTimeCFD; //TDC on the each PMT
- TArrayI * fADC1; //QTC (ADC) on the each PMT
- TArrayI * fTimeLED; // TDC with amplified signal
- TArrayI * fADC0; //QTC amplified
- AliFstream* fFile; //logical name of the I/O file
- UInt_t fDataHeaderPos;//Data header position
- UInt_t fDRMDataHeaderPos;//Data DRM header position
- UInt_t fTRMDataHeaderPos;//Data TRM header position
- AliT0digit *fDigits; //! The T0 digits manager
+ Int_t fVerbose; //Verbose level (0:no msg, 1:msg, 2:digits in txt files)
+ UInt_t fBuffer[512]; // buffer for writing rawdata
+ Int_t fIndex; //number of 32 words to be stored into the output file
+ Int_t fEventNumber; // current event number
+ TArrayI * fTimeCFD; //TDC on the each PMT
+ TArrayI * fADC1; //QTC (ADC) on the each PMT
+ TArrayI * fTimeLED; // TDC with amplified signal
+ TArrayI * fADC0; //QTC amplified
+ AliFstream* fFile; //logical name of the I/O file
+ UInt_t fDataHeaderPos; //Data header position
+ UInt_t fDRMDataHeaderPos; //Data DRM header position
+ UInt_t fTRMDataHeaderPos; //Data TRM header position
AliT0Parameters *fParam; // pointer to T0parameters
- TMap fLookUp;
+ TMap fLookUp; // LookUp Table
ClassDef(AliT0RawData,2) // T0 raw data class