- Int_t det = 0;
- while ((det = rawStream->NextChamber(digitsManager, NULL, NULL)) >= 0) {
-
- //nextchamber loop
-
- // do the QA analysis
- if (digitsManager->GetIndexes(det)->HasEntry()) {//QA
- // printf("there is ADC data on this chamber!\n");
-
- AliTRDSignalIndex *indexes = digitsManager->GetIndexes(det);
- if (indexes->IsAllocated() == kFALSE) {
- // AliError("Indexes do not exist!");
- break;
- }
-
- Int_t iRow = 0;
- Int_t iCol = 0;
- indexes->ResetCounters();
-
- while (indexes->NextRCIndex(iRow, iCol)){
- Int_t iMcm = (Int_t)(iCol/18); // current group of 18 col pads
-
- Int_t layer = AliTRDgeometry::GetLayer(det);
- Int_t sm = AliTRDgeometry::GetSector(det);
- Int_t stac = AliTRDgeometry::GetStack(det);
- Double_t rphi = 0.5;
- if(iMcm > 3) rphi = 1.5;
-
- Double_t val[4] = {sm,layer,stac,rphi};
- fHnSparseI->Fill(&val[0]);
- notEmpty = kTRUE;
+ const AliTRDseedV1 *tracklet = 0x0;
+ AliTRDcluster *cluster;
+ //////////////////////////////////////
+ // Loop tracklets
+ /////////////////////////////////////
+ for(Int_t itr = 0; itr < 6; ++itr){