#include <CexmcTrackingAction.hh>
Definition at line 56 of file CexmcTrackingAction.hh.
◆ CexmcTrackingAction()
Definition at line 58 of file CexmcTrackingAction.cc.
67 if ( ! productionModel )
78 const CexmcSetup * setup( static_cast< const CexmcSetup * >(
79 runManager->GetUserDetectorConstruction() ) );
G4ParticleDefinition * nucleusOutputParticle
G4int outputParticleDecayProductCopyNumber
G4ParticleDefinition * incidentParticle
const G4int CexmcInvalidTrackId(-1)
const G4LogicalVolume * targetVolume
G4ParticleDefinition * outputParticle
static G4RunManager * GetRunManager()
G4int outputParticleTrackId
CexmcPhysicsManager * physicsManager
virtual CexmcProductionModel * GetProductionModel(void)=0
◆ BeginOfEventAction()
void CexmcTrackingAction::BeginOfEventAction |
( |
void |
| ) |
|
|
inline |
Definition at line 104 of file CexmcTrackingAction.hh.
void ResetOutputParticleTrackId(void)
void ResetOutputParticleDecayProductCopyNumber(void)
◆ PreUserTrackingAction()
void CexmcTrackingAction::PreUserTrackingAction |
( |
const G4Track * |
track | ) |
|
|
virtual |
Reimplemented from G4UserTrackingAction.
Definition at line 84 of file CexmcTrackingAction.cc.
87 track->GetUserInformation() ) );
92 G4Track * theTrack( const_cast< G4Track * >(
track ) );
96 if (
track->GetParentID() == 0 )
102 theTrack->SetUserInformation( trackInfo );
112 if (
track->GetCreatorProcess()->GetProcessName() ==
145 theTrack->SetUserInformation( trackInfo );
154 if ( !
track->GetUserInformation() )
155 theTrack->SetUserInformation( trackInfo );
G4ParticleDefinition * nucleusOutputParticle
G4int outputParticleDecayProductCopyNumber
G4ParticleDefinition * incidentParticle
void SetupIncidentParticleTrackInfo(const G4Track *track)
G4ParticleDefinition * outputParticle
G4int outputParticleTrackId
CexmcPhysicsManager * physicsManager
G4bool OnlyBeamParticleCanTriggerStudiedProcess(void) const
const G4String CexmcStudiedProcessFullName(CexmcStudiedProcessFirstName+CexmcStudiedProcessLastName)
◆ ResetOutputParticleDecayProductCopyNumber()
void CexmcTrackingAction::ResetOutputParticleDecayProductCopyNumber |
( |
void |
| ) |
|
|
inlineprivate |
◆ ResetOutputParticleTrackId()
void CexmcTrackingAction::ResetOutputParticleTrackId |
( |
void |
| ) |
|
|
inlineprivate |
◆ SetupIncidentParticleTrackInfo()
void CexmcTrackingAction::SetupIncidentParticleTrackInfo |
( |
const G4Track * |
track | ) |
|
|
private |
Definition at line 159 of file CexmcTrackingAction.cc.
163 static_cast< CexmcIncidentParticleTrackInfo * >(
164 track->GetUserInformation() ) );
171 if ( volume && volume->GetLogicalVolume() ==
targetVolume )
174 trackInfo->ActivateStudiedProcess();
const G4LogicalVolume * targetVolume
virtual void ResampleTrackLengthInTarget(const G4Track *track, const G4StepPoint *stepPoint=NULL)=0
CexmcPhysicsManager * physicsManager
◆ incidentParticle
◆ nucleusOutputParticle
◆ outputParticle
◆ outputParticleDecayProductCopyNumber
G4int CexmcTrackingAction::outputParticleDecayProductCopyNumber |
|
private |
◆ outputParticleTrackId
G4int CexmcTrackingAction::outputParticleTrackId |
|
private |
◆ physicsManager
◆ targetVolume
The documentation for this class was generated from the following files: