TRD/AliTRDclusterizerV1.cxx *************************** for (iTime = 0; iTime < nTimeTotal; iTime++) { // // Add gain // inADC[iTime] = digitsIn->GetDataUnchecked(iRow,iCol,iTime); if(inADC[iTime]>10) { inADC[iTime]=inADC[iTime]-10; inADC[iTime] /= gain; } else inADC[iTime]=-1; outADC[iTime] = inADC[iTime]; } TRD/AliTRDcalibDB.cxx ********************* Int_t AliTRDcalibDB::GetNumberOfTimeBins() { // // Returns the number of time bins which are read-out. // const AliTRDCalGlobals *calGlobal = dynamic_cast (GetCachedCDBObject(kIDGlobals)); if (!calGlobal) { return -1; } return 30; //return calGlobal->GetNumberOfTimeBins(); } EVE/Alieve/TRDLoader.cxx ************************ Bool_t TRDLoader::LoadClusters(TTree *tC) { Info("LoadClusters()", Form("Clusters tree 0x%x", tC)); if(!fChildren.size()) return kTRUE; TObjArray *clusters = new TObjArray(); tC->SetBranchAddress("TRDcluster",&clusters); TRDChamber *chmb = 0x0; AliTRDcluster *c=0x0; for(int idet=0; idet<540; idet++){ if(!tC->GetEntry(idet)) continue; if(!clusters->GetEntriesFast()) continue; //mj modification for p2 cosmic data c = (AliTRDcluster*)clusters->UncheckedAt(0); //if(clusters->GetEntriesFast()) c = (AliTRDcluster*)clusters->UncheckedAt(0); if((chmb = GetChamber(c->GetDetector()))) chmb->LoadClusters(clusters); } return kTRUE; }