88 m_z0 = aStep->GetPreStepPoint()->GetPosition().z();
89 m_z1 = aStep->GetPostStepPoint()->GetPosition().z();
98 m_pdg = aStep->GetTrack()->GetDefinition()->GetPDGEncoding();
99 m_cha = aStep->GetTrack()->GetDefinition()->GetPDGCharge();
100 m_ene = aStep->GetTrack()->GetTotalEnergy();
101 m_vx = aStep->GetTrack()->GetVertexPosition().x();
102 m_vy = aStep->GetTrack()->GetVertexPosition().y();
103 m_vz = aStep->GetTrack()->GetVertexPosition().z();
105 m_x0 = aStep->GetPreStepPoint()->GetPosition().x();
106 m_y0 = aStep->GetPreStepPoint()->GetPosition().y();
107 m_t0 = aStep->GetPreStepPoint()->GetGlobalTime()/CLHEP::ns;
108 m_px0 = aStep->GetPreStepPoint()->GetMomentum().x();
109 m_py0 = aStep->GetPreStepPoint()->GetMomentum().y();
110 m_pz0 = aStep->GetPreStepPoint()->GetMomentum().z();
112 m_x1 = aStep->GetPostStepPoint()->GetPosition().x();
113 m_y1 = aStep->GetPostStepPoint()->GetPosition().y();
114 m_t1 = aStep->GetPostStepPoint()->GetGlobalTime()/CLHEP::ns;
115 m_px1 = aStep->GetPostStepPoint()->GetMomentum().x();
116 m_py1 = aStep->GetPostStepPoint()->GetMomentum().y();
117 m_pz1 = aStep->GetPostStepPoint()->GetMomentum().z();
125 if (
m_config.pkill == 1) aStep->GetTrack()->SetTrackStatus(fStopAndKill);
126 else if (
m_config.pkill == 2) aStep->GetTrack()->SetTrackStatus(fKillTrackAndSecondaries);