27 #include "AliRawReader.h"
37 AliAltroRawStreamV3(rawReader),
51 if (mapping == NULL) {
52 TString path = gSystem->Getenv(
"ALICE_ROOT");
53 path +=
"/TPC/mapping/Patch";
55 for(Int_t i = 0; i < 6; i++) {
64 for(Int_t i = 0; i < 6; i++)
65 fMapping[i] = mapping[i];
77 for(Int_t i = 0; i < 6; i++)
delete fMapping[i];
84 AliAltroRawStreamV3::Reset();
113 if (!AliAltroRawStreamV3::NextChannel())
return kFALSE;
115 Short_t hwAddress = GetHWAddress();
131 if (!AliAltroRawStreamV3::NextDDL())
return kFALSE;
133 Int_t ddlNumber = GetDDLNumber();
134 if (ddlNumber < 72) {
139 fSector = (ddlNumber - 72) / 4 + 36;
147 Int_t ddlNumber = GetDDLNumber();
149 if (ddlNumber < 72) {
151 patchIndex = ddlNumber % 2;
154 fSector = (ddlNumber - 72) / 4 + 36;
155 patchIndex = (ddlNumber - 72) % 4 + 2;
158 Short_t hwAddress = GetHWAddress();
Int_t fPad
index of current pad
virtual Bool_t NextChannel()
virtual ~AliTPCRawStreamV3()
Int_t fPrevSector
index of previous sector
Int_t fRow
index of current row
This class provides access to TPC digits in raw data.
Int_t fPrevPad
index of previous pad
AliAltroMapping * fMapping[6]
Pointers to ALTRO mapping.
Int_t fPatchIndex
current patch
Int_t fSector
index of current sector
virtual void ApplyAltroMapping()
Int_t fPrevRow
index of previous row
Bool_t fIsMapOwner
does object own its mappings?