fFakeOrphaneProduction(kFALSE),
fMatchingWindow(8192),
fTOFdigitMap(new AliTOFDigitMap()),
- fTOFdigitArray(0x0),
- fTOFrawStream(new AliTOFRawStream()),
- fTOFCableLengthMap(new AliTOFCableLengthMap())
+ fTOFdigitArray(0x0)
+ //fTOFrawStream(AliTOFRawStream()),
+ //fTOFCableLengthMap(new AliTOFCableLengthMap())
{
//Default constructor
}
fFakeOrphaneProduction(source.fFakeOrphaneProduction),
fMatchingWindow(source.fMatchingWindow),
fTOFdigitMap(source.fTOFdigitMap),
- fTOFdigitArray(source.fTOFdigitArray),
- fTOFrawStream(source.fTOFrawStream),
- fTOFCableLengthMap(source.fTOFCableLengthMap)
+ fTOFdigitArray(source.fTOFdigitArray)
+ //fTOFrawStream(source.fTOFrawStream),
+ //fTOFCableLengthMap(source.fTOFCableLengthMap)
{
//Copy Constructor
return;
fMatchingWindow=source.fMatchingWindow;
fTOFdigitMap=source.fTOFdigitMap;
fTOFdigitArray=source.fTOFdigitArray;
- fTOFrawStream=source.fTOFrawStream;
- fTOFCableLengthMap=source.fTOFCableLengthMap;
+ //fTOFrawStream=source.fTOFrawStream;
+ //fTOFCableLengthMap=source.fTOFCableLengthMap;
return *this;
}
AliTOFDDLRawData::~AliTOFDDLRawData()
{
delete fTOFdigitMap;
- delete fTOFrawStream;
- delete fTOFCableLengthMap;
+ //delete fTOFrawStream;
+ //delete fTOFCableLengthMap;
}
//----------------------------------------------------------------------------
Int_t AliTOFDDLRawData::RawDataTOF(TBranch* branch)
// To clear the digit indices map for each event
fTOFdigitMap->Clear();
+ //fTOFrawStream->Clear();
+
fIndex = -1;
fTOFdigitArray = * (TClonesArray**) branch->GetAddress();
strcpy(fileName,AliDAQ::DdlFileName("TOF",nDDL)); //The name of the output file
outfile = new AliFstream(fileName);
- iDDL = fTOFrawStream->GetDDLnumberPerSector(nDDL);
+ //iDDL = fTOFrawStream->GetDDLnumberPerSector(nDDL);
+ iDDL = AliTOFRawStream::GetDDLnumberPerSector(nDDL);
// write Dummy DATA HEADER
UInt_t dataHeaderPosition = outfile->Tellp();
// DRM global header
//
- Int_t iDDL = fTOFrawStream->GetDDLnumberPerSector(nDDL);
+ //Int_t iDDL = fTOFrawStream->GetDDLnumberPerSector(nDDL);
+ Int_t iDDL = AliTOFRawStream::GetDDLnumberPerSector(nDDL);
- Int_t iSector = fTOFrawStream->GetSectorNumber(nDDL);
+ //Int_t iSector = fTOFrawStream->GetSectorNumber(nDDL);
+ Int_t iSector = AliTOFRawStream::GetSectorNumber(nDDL);
UInt_t baseWord=0;
UInt_t word;
//numberOfMeasuresPerChannel = 0;
- fTOFrawStream->EquipmentId2VolumeId(nDDL, nTRM, iChain, nTDC, iCH, volume);
+ //fTOFrawStream->EquipmentId2VolumeId(nDDL, nTRM, iChain, nTDC, iCH, volume);
+ AliTOFRawStream::EquipmentId2VolumeId(nDDL, nTRM, iChain, nTDC, iCH, volume);
if (volume[0]==-1 || volume[1]==-1 || volume[2]==-1 ||
volume[3]==-1 || volume[4]==-1) continue;
////////////////////////////////////////////////////////////////////////////
#include "TObject.h"
-#include "AliTOFCableLengthMap.h"
+//#include "AliTOFCableLengthMap.h"
class TBranch;
class TClonesArray;
class AliTOFDigitMap;
-class AliTOFRawStream;
+//class AliTOFRawStream;
class AliTOFDDLRawData:public TObject {
TClonesArray *fTOFdigitArray; //Pointer to the TOF digits
- AliTOFRawStream *fTOFrawStream; //Pointer to the AliTOFRawStream class
+ //AliTOFRawStream *fTOFrawStream; //Pointer to the AliTOFRawStream class
- AliTOFCableLengthMap *fTOFCableLengthMap; // Pointer to the map of Amphenol cable length
+ //AliTOFCableLengthMap *fTOFCableLengthMap; // Pointer to the map of Amphenol cable length
- ClassDef(AliTOFDDLRawData,2)
+ ClassDef(AliTOFDDLRawData,3)
};