class AliT0digit;
class AliFstream;
class TFile;
-//class TBranch;
+class TMap;
class AliRawDataHeaderSim;
class AliT0RawData : public TObject {
//this method is used to write the data header
void WriteTrailer(UInt_t slot, Int_t word1, UInt_t word2, UInt_t word3);
void WriteChainDataHeader(UInt_t chainNumber,UInt_t slotID);
+ void WriteChainDataTrailer(UInt_t chainNumber);
void FillTime(Int_t ch, Int_t iTDC, Int_t time);
//T0 digits arrays
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
-
- Int_t fTimeDiff ; //time difference
- Int_t fMeanTime ; // average time - ALICE start signal
- Int_t fBestTimeLeft; //first particle on the left
- Int_t fBestTimeRight; //first particle on the right
- Int_t fSumMult; // sum multiplicity
- 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
- Int_t fWordsIn1stTRM; // Number of word in 1st TRM
- AliT0digit *fDigits; //! The T0 digits manager
-
- ClassDef(AliT0RawData,1) // T0 raw data class
+ 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
+ AliT0Parameters *fParam; // pointer to T0parameters
+ TMap fLookUp; // LookUp Table
+
+ ClassDef(AliT0RawData,2) // T0 raw data class
};