Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExExChTrackingAction Class Reference

#include <ExExChTrackingAction.hh>

Inheritance diagram for ExExChTrackingAction:
Collaboration diagram for ExExChTrackingAction:

Public Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from G4UserTrackingAction
G4TrackingManagerfpTrackingManager
 

Detailed Description

Definition at line 36 of file ExExChTrackingAction.hh.

Member Function Documentation

void ExExChTrackingAction::PostUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

Definition at line 56 of file ExExChTrackingAction.cc.

56  {
57 }
void ExExChTrackingAction::PreUserTrackingAction ( const G4Track aTrack)
virtual

Reimplemented from G4UserTrackingAction.

Definition at line 40 of file ExExChTrackingAction.cc.

40  {
41  ExExChParticleUserInfo *trackInfo(
42  static_cast< ExExChParticleUserInfo * >
43  (aTrack->GetUserInformation() ) );
44  if(trackInfo){
45  return;
46  }
47  else{
48  G4Track * theTrack( const_cast< G4Track * >( aTrack ) );
49  trackInfo = new ExExChParticleUserInfo();
50  theTrack->SetUserInformation( trackInfo );
51  }
52 }
G4VUserTrackInformation * GetUserInformation() const

Here is the call graph for this function:


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