class AliTOFHitData;
+class AliTOFDecoderV2;
+
/**********************************
* OLD DEFINITIONS
**********************************/
Bool_t DecodeDDL(Int_t DDLMin, Int_t DDLMax, Int_t verbose);
Bool_t Decode(Int_t verbose);
+ Bool_t DecodeV2(Int_t verbose);
AliTOFDecoder *GetDecoder() const {return fDecoder;};
+ AliTOFDecoderV2 *GetDecoderV2() const {return fDecoderV2;};
void SetV2718Patch(Bool_t V2718Patch = kTRUE) {fDecoder->SetV2718Patch(V2718Patch);};
void SetRawReader(AliRawReader * const rawReader) {fRawReader=rawReader;};
void ResetBuffers();
Bool_t LoadRawDataBuffers(Int_t indexDDL, Int_t verbose = 0);
+ Bool_t LoadRawDataBuffersV2(Int_t indexDDL, Int_t verbose = 0);
static void ApplyBCCorrections(Bool_t Value = kTRUE) {fgApplyBCCorrections = Value;};
Int_t GetEventID() const {return fEventID;}; // getter for the eventID1 (bunch crossing) in the common data header
Int_t iChannel,
Int_t detind0[], Int_t detind1[]) const;
void VolumeID2LTM(Int_t detind[],
- Int_t iDDL = -1,
- Int_t iTRM = -1,
- Int_t iChain = -1,
- Int_t iTDC = -1,
- Int_t iChannel = -1) const;
+ Int_t &iDDL,
+ Int_t &iTRM,
+ Int_t &iChain,
+ Int_t &iTDC,
+ Int_t &iChannel) const;
enum ETOFRawStreamError {
kPadXError = 0,
TClonesArray *fTOFrawData; // pointer to AliTOFrawData TClonesArray
AliTOFDecoder *fDecoder; //pointer to TOF decoder
+ AliTOFDecoderV2 *fDecoderV2; //pointer to TOF decoder
Int_t fDDL; // DDL file number [0;71]
Int_t fTRM; // TRM number [1;12]