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

#include <RE04SteppingAction.hh>

Inheritance diagram for RE04SteppingAction:
Collaboration diagram for RE04SteppingAction:

Public Member Functions

 RE04SteppingAction ()
 
virtual ~RE04SteppingAction ()
 
virtual void UserSteppingAction (const G4Step *)
 
- Public Member Functions inherited from G4UserSteppingAction
 G4UserSteppingAction ()
 
virtual ~G4UserSteppingAction ()
 
virtual void SetSteppingManagerPointer (G4SteppingManager *pValue)
 

Additional Inherited Members

- Protected Attributes inherited from G4UserSteppingAction
G4SteppingManagerfpSteppingManager
 

Detailed Description

User stepping action class

Definition at line 42 of file RE04SteppingAction.hh.

Constructor & Destructor Documentation

RE04SteppingAction::RE04SteppingAction ( )

Definition at line 39 of file RE04SteppingAction.cc.

RE04SteppingAction::~RE04SteppingAction ( )
virtual

Definition at line 44 of file RE04SteppingAction.cc.

45 {;}

Member Function Documentation

void RE04SteppingAction::UserSteppingAction ( const G4Step aStep)
virtual

Reimplemented from G4UserSteppingAction.

Definition at line 48 of file RE04SteppingAction.cc.

49 {
50  const G4Track* trk = aStep->GetTrack();
51  G4cout << "PreStep " << aStep->GetPreStepPoint()->GetPosition()
52  << " -- PostStep " << aStep->GetPostStepPoint()->GetPosition()
53  << " >>> Material " << trk->GetMaterial()->GetName() << G4endl;
54 }
const G4String & GetName() const
Definition: G4Material.hh:178
G4StepPoint * GetPreStepPoint() const
G4GLOB_DLL std::ostream G4cout
const G4ThreeVector & GetPosition() const
G4Material * GetMaterial() const
G4StepPoint * GetPostStepPoint() const
#define G4endl
Definition: G4ios.hh:61
G4Track * GetTrack() const

Here is the call graph for this function:


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