60 physicsManager( physicsManager ), targetVolume( NULL ),
62 outputParticleDecayProductCopyNumber( 0 ), incidentParticle( NULL ),
63 outputParticle( NULL ), nucleusOutputParticle( NULL )
67 if ( ! productionModel )
70 incidentParticle = productionModel->GetIncidentParticle();
71 outputParticle = productionModel->GetOutputParticle();
72 nucleusOutputParticle = productionModel->GetNucleusOutputParticle();
74 if ( ! incidentParticle || ! outputParticle || ! nucleusOutputParticle )
78 const CexmcSetup * setup( static_cast< const CexmcSetup * >(
92 G4Track * theTrack( const_cast< G4Track * >( track ) );
103 SetupIncidentParticleTrackInfo( track );
132 if ( track->
GetParentID() == outputParticleTrackId )
136 outputParticleDecayProductCopyNumber++ );
146 SetupIncidentParticleTrackInfo( track );
159 void CexmcTrackingAction::SetupIncidentParticleTrackInfo(
163 static_cast< CexmcIncidentParticleTrackInfo * >(
171 if ( volume && volume->GetLogicalVolume() == targetVolume )
174 trackInfo->ActivateStudiedProcess();