29 fTotalTracksNo = s->GetMcEvent()->GetNTracks();
30 fEventId = s->GetMcEvent()->GetEventId();
32 fTracks->ExpandCreateFast(fTotalTracksNo);
35 for (
int i = 0; i < fTotalTracksNo; i++) {
39 track->
SetMomentum(mc->GetMomentum().Px(), mc->GetMomentum().Py(), mc->GetMomentum().Pz(), mc->GetMomentum().E());
40 track->
SetFreezoutPosition(mc->GetFreezout().X(), mc->GetFreezout().Y(), mc->GetFreezout().Z(), mc->GetFreezout().T());
42 track->SetPdg(mc->GetPdgCode());