//
AliTPCTransform * trans = AliTPCcalibDB::Instance()->GetTransform();
const AliTPCRecoParam * recoParam = AliTPCcalibDB::Instance()->GetTransform()->GetCurrentRecoParam();
+ //
+ if (recoParam->GetNeighborRowsDedx() == 0) rowThres = 0;
+ //
if (trans) {
runNumber = trans->GetCurrentRunNumber();
//AliTPCcalibDB::Instance()->SetRun(runNumber);
//
for (Int_t irow=i1; irow<i2; irow++){
AliTPCclusterMI* cluster = GetClusterPointer(irow);
- if (!cluster) {
+ if (!cluster && irow > 1 && irow < 157) {
Bool_t isClBefore = kFALSE;
Bool_t isClAfter = kFALSE;
for(Int_t ithres = 1; ithres <= rowThres; ithres++) {
if (clusterAfter) isClAfter = kTRUE;
}
if (isClBefore && isClAfter) nclBelowThr++;
- continue;
}
+ if (!cluster) continue;
//
//
if (TMath::Abs(cluster->GetY())>cluster->GetX()*ktany-kedgey) continue; // edge cluster
suma2+=ampWithBelow[icl]*ampWithBelow[icl];
sumn++;
}
+ delete [] ampWithBelow;
Float_t mean =suma/sumn;
Float_t rms =TMath::Sqrt(TMath::Abs(suma2/sumn-mean*mean));
//