message: Updates the method for dcaprop calculation
diff: @@ -570,18 +570,19 @@ void AliFemtoDreamTrack::SetAODTrackingInformation() {
  double dcaVals[2] = { -99., -99. };
  double pos[3] = { 0., 0., 0. };
  double covar[3] = { 0., 0., 0. };
  - AliAODTrack copy(*fAODGlobalTrack);
  - fAODGlobalTrack->GetPosition(pos);
  - if (pos[0] * pos[0] + pos[1] * pos[1] <= 3. * 3.
  - && copy.PropagateToDCA(copy.GetAODEvent()->GetPrimaryVertex(),
  - copy.GetAODEvent()->GetMagneticField(), 10,
  - dcaVals, covar)) {
  - this->fdcaXYProp = dcaVals[0];
  - this->fdcaZProp = dcaVals[1];
  - } else {
  - this->fdcaXYProp = -99;
  - this->fdcaZProp = -99;
  - }
  + fAODGlobalTrack->GetImpactParameters(fdcaXYProp,fdcaZProp);
  +// AliAODTrack copy(*fAODGlobalTrack);
  +// fAODGlobalTrack->GetPosition(pos);
  +// if (pos[0] * pos[0] + pos[1] * pos[1] <= 3. * 3.
  +// && copy.PropagateToDCA(copy.GetAODEvent()->GetPrimaryVertex(),
  +// copy.GetAODEvent()->GetMagneticField(), 10,
  +// dcaVals, covar)) {
  +// this->fdcaXYProp = dcaVals[0];
  +// this->fdcaZProp = dcaVals[1];
  +// } else {
  +// this->fdcaXYProp = -99;
  +// this->fdcaZProp = -99;
  +// }
  //loop over the 6 ITS Layrs and check for a hit!
  for (int i = 0; i < 6; ++i) {
  fITSHit.push_back(fAODGlobalTrack->HasPointOnITSLayer(i));
  