ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CexmcTrackingAction Class Reference

#include <geant4/tree/geant4-10.6-release/examples/advanced/ChargeExchangeMC/include/CexmcTrackingAction.hh>

+ Inheritance diagram for CexmcTrackingAction:
+ Collaboration diagram for CexmcTrackingAction:

Public Member Functions

 CexmcTrackingAction (CexmcPhysicsManager *physicsManager)
 
void PreUserTrackingAction (const G4Track *track)
 
void BeginOfEventAction (void)
 
- Public Member Functions inherited from G4UserTrackingAction
 G4UserTrackingAction ()
 
virtual ~G4UserTrackingAction ()
 
virtual void SetTrackingManagerPointer (G4TrackingManager *pValue)
 
virtual void PostUserTrackingAction (const G4Track *)
 

Private Member Functions

void ResetOutputParticleTrackId (void)
 
void ResetOutputParticleDecayProductCopyNumber (void)
 
void SetupIncidentParticleTrackInfo (const G4Track *track)
 

Private Attributes

CexmcPhysicsManagerphysicsManager
 
const G4LogicalVolumetargetVolume
 
G4int outputParticleTrackId
 
G4int outputParticleDecayProductCopyNumber
 
G4ParticleDefinitionincidentParticle
 
G4ParticleDefinitionoutputParticle
 
G4ParticleDefinitionnucleusOutputParticle
 

Additional Inherited Members

- Protected Attributes inherited from G4UserTrackingAction
G4TrackingManagerfpTrackingManager
 

Detailed Description

Definition at line 56 of file CexmcTrackingAction.hh.

View newest version in sPHENIX GitHub at line 56 of file CexmcTrackingAction.hh

Constructor & Destructor Documentation

CexmcTrackingAction::CexmcTrackingAction ( CexmcPhysicsManager physicsManager)
explicit

Definition at line 58 of file CexmcTrackingAction.cc.

View newest version in sPHENIX GitHub at line 58 of file CexmcTrackingAction.cc

References CexmcIncompleteProductionModel, CexmcWeirdException, CexmcPhysicsManager::GetProductionModel(), G4RunManager::GetRunManager(), G4RunManager::GetUserDetectorConstruction(), CexmcSetup::GetVolume(), incidentParticle, nucleusOutputParticle, outputParticle, physicsManager, CexmcSetup::Target, and targetVolume.

+ Here is the call graph for this function:

Member Function Documentation

void CexmcTrackingAction::BeginOfEventAction ( void  )
inline

Definition at line 104 of file CexmcTrackingAction.hh.

View newest version in sPHENIX GitHub at line 104 of file CexmcTrackingAction.hh

References ResetOutputParticleDecayProductCopyNumber(), and ResetOutputParticleTrackId().

Referenced by CexmcEventAction::BeginOfEventAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CexmcTrackingAction::ResetOutputParticleDecayProductCopyNumber ( void  )
inlineprivate

Definition at line 97 of file CexmcTrackingAction.hh.

View newest version in sPHENIX GitHub at line 97 of file CexmcTrackingAction.hh

References outputParticleDecayProductCopyNumber.

Referenced by BeginOfEventAction().

+ Here is the caller graph for this function:

void CexmcTrackingAction::ResetOutputParticleTrackId ( void  )
inlineprivate

Definition at line 91 of file CexmcTrackingAction.hh.

View newest version in sPHENIX GitHub at line 91 of file CexmcTrackingAction.hh

References CexmcInvalidTrackId(), and outputParticleTrackId.

Referenced by BeginOfEventAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CexmcTrackingAction::SetupIncidentParticleTrackInfo ( const G4Track track)
private

Definition at line 159 of file CexmcTrackingAction.cc.

View newest version in sPHENIX GitHub at line 159 of file CexmcTrackingAction.cc

References CexmcIncidentParticleTrackInfo::ActivateStudiedProcess(), G4Track::GetUserInformation(), G4Track::GetVolume(), physicsManager, CexmcPhysicsManager::ResampleTrackLengthInTarget(), targetVolume, and Acts::Test::volume.

Referenced by PreUserTrackingAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4ParticleDefinition* CexmcTrackingAction::incidentParticle
private

Definition at line 83 of file CexmcTrackingAction.hh.

View newest version in sPHENIX GitHub at line 83 of file CexmcTrackingAction.hh

Referenced by CexmcTrackingAction(), and PreUserTrackingAction().

G4ParticleDefinition* CexmcTrackingAction::nucleusOutputParticle
private

Definition at line 87 of file CexmcTrackingAction.hh.

View newest version in sPHENIX GitHub at line 87 of file CexmcTrackingAction.hh

Referenced by CexmcTrackingAction(), and PreUserTrackingAction().

G4ParticleDefinition* CexmcTrackingAction::outputParticle
private

Definition at line 85 of file CexmcTrackingAction.hh.

View newest version in sPHENIX GitHub at line 85 of file CexmcTrackingAction.hh

Referenced by CexmcTrackingAction(), and PreUserTrackingAction().

G4int CexmcTrackingAction::outputParticleDecayProductCopyNumber
private

Definition at line 80 of file CexmcTrackingAction.hh.

View newest version in sPHENIX GitHub at line 80 of file CexmcTrackingAction.hh

Referenced by PreUserTrackingAction(), and ResetOutputParticleDecayProductCopyNumber().

G4int CexmcTrackingAction::outputParticleTrackId
private

Definition at line 78 of file CexmcTrackingAction.hh.

View newest version in sPHENIX GitHub at line 78 of file CexmcTrackingAction.hh

Referenced by PreUserTrackingAction(), and ResetOutputParticleTrackId().

CexmcPhysicsManager* CexmcTrackingAction::physicsManager
private

Definition at line 74 of file CexmcTrackingAction.hh.

View newest version in sPHENIX GitHub at line 74 of file CexmcTrackingAction.hh

Referenced by CexmcTrackingAction(), PreUserTrackingAction(), and SetupIncidentParticleTrackInfo().

const G4LogicalVolume* CexmcTrackingAction::targetVolume
private

Definition at line 76 of file CexmcTrackingAction.hh.

View newest version in sPHENIX GitHub at line 76 of file CexmcTrackingAction.hh

Referenced by CexmcTrackingAction(), and SetupIncidentParticleTrackInfo().


The documentation for this class was generated from the following files: