// store the track
track.SetUniqueID(iTrackRef);
- track.SetMCLabel(iTrackRef);
tmpTrackRefStore->Add(track);
}
}
newTrack.SetUniqueID(track->GetUniqueID());
- newTrack.SetMCLabel(track->GetMCLabel());
newTrack.SetTrackParamAtVertex(track->GetTrackParamAtVertex());
fTrackRefStore->Add(newTrack);
if (compTrack) {
compPart++;
- Int_t trackID = trackRef->GetMCLabel();
+ Int_t trackID = trackRef->GetUniqueID();
this->SetTrackPythiaLine(trackID);
part = stack->Particle(trackID);
fTrackPDGCode = part->GetPdgCode();