31 fPhi = temp->GetPhi();
32 fTotalTracksNo = temp->GetNpa();
34 for (
int i = 0; i < fTotalTracksNo; i++) {
35 UParticle* particle = temp->GetParticle(i);
36 TParticlePDG* pdg_part = fPDG->GetParticle(particle->GetPdg());
38 if (pdg_part) { charge = pdg_part->Charge() / 3.0; }
42 target_track->SetPdg(particle->GetPdg());
43 if (particle->GetParent() < 0) {
48 target_track->
SetMomentum(particle->Px(), particle->Py(), particle->Pz(), particle->E());
49 target_track->
SetFreezoutPosition(particle->X(), particle->Y(), particle->Z(), particle->T());
50 target_track->
SetStatus(particle->GetStatus());