fCFManager->GetParticleContainer()->Fill(containerInput,kStepTPCPID); // for CF
}
-
+ /*
if(fUseOwnXYZCalculation == kFALSE){
fCurrentV0->GetXYZ(fCurrentXValue,fCurrentYValue,fCurrentZValue);
}
fCurrentYValue = convpos[1];
fCurrentZValue = GetConvPosZ(GetPositiveESDTrack(),GetNegativeESDTrack(),GetMagneticField());
}
-
+ */
if(GetXYRadius()>fMaxR){ // cuts on distance from collision point
if(fHistograms != NULL){
fHistograms->FillHistogram("ESD_CutR_InvMass",GetMotherCandidateMass());
}
}
}
+
+ if(fUseOwnXYZCalculation == kFALSE){
+ fCurrentV0->GetXYZ(fCurrentXValue,fCurrentYValue,fCurrentZValue);
+ }
+ else{
+ Double_t convpos[2];
+ convpos[0]=0;
+ convpos[1]=0;
+ GetConvPosXY(GetPositiveESDTrack(),GetNegativeESDTrack(),GetMagneticField(),convpos);
+ fCurrentXValue = convpos[0];
+ fCurrentYValue = convpos[1];
+ fCurrentZValue = GetConvPosZ(GetPositiveESDTrack(),GetNegativeESDTrack(),GetMagneticField());
+ }
+
return iResult;
}