switch(method) {
case 0: return dynamic_cast<const AliTRDCalPID *>
- (GetCachedCDBObject(kIDPIDNN));
- case 1: return dynamic_cast<const AliTRDCalPID *>
(GetCachedCDBObject(kIDPIDLQ));
+ case 1: return dynamic_cast<const AliTRDCalPID *>
+ (GetCachedCDBObject(kIDPIDNN));
}
- return 0;
+ return 0x0;
}
AliTRDrecoParam::AliTRDrecoParam()
:AliDetectorRecoParam()
,fkClusterSharing(0)
- ,fkPIDMethod(1) // LQ PID
+ ,fkPIDMethod(0) // LQ PID
,fkMaxTheta(1.0)
,fkMaxPhi(2.0)
,fkRoad0y(6.0)
} // End of loop over clusters
// calculate mean charge per slice
- for(int is=0; is<nslices; is++) if(nclusters[is]) fdEdx[is] /= nclusters[is];
+ for(int is=0; is<nslices; is++){
+ if(nclusters[is]) fdEdx[is] /= nclusters[is];
+ }
}
//____________________________________________________________________
Float_t AliTRDseedV1::GetdQdl(Int_t ic) const
{
- return fClusters[ic] ? TMath::Abs(fClusters[ic]->GetQ()) /fdX / TMath::Sqrt(1. + fYfit[1]*fYfit[1] + fZfit[1]*fZfit[1]) : 0.;
+ return fClusters[ic] ? TMath::Abs(fClusters[ic]->GetQ()) /fdX / TMath::Sqrt(1. + fYfit[1]*fYfit[1] + fZref[1]*fZref[1]) : 0.;
}
//____________________________________________________________________
AliError("No access to AliTRDCalPID object");
return 0x0;
}
-
+ //AliInfo(Form("Method[%d] : %s", AliTRDReconstructor::RecoParam()->GetPIDMethod(), pd->IsA()->GetName()));
+
// calculate tracklet length TO DO
Float_t length = (AliTRDgeometry::AmThick() + AliTRDgeometry::DrThick());
/// TMath::Sqrt((1.0 - fSnp[iPlane]*fSnp[iPlane]) / (1.0 + fTgl[iPlane]*fTgl[iPlane]));