Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

g4nova::SteppingAction Class Reference

#include <SteppingAction.h>

List of all members.

Public Member Functions

void UserSteppingAction (const G4Step *)


Member Function Documentation

void SteppingAction::UserSteppingAction const G4Step *   ) 
 

Definition at line 12 of file SteppingAction.cxx.

00013 {
00014   G4VPhysicalVolume* v1 = 
00015     s->GetPreStepPoint()->GetTouchableHandle()->GetVolume();
00016 
00017   G4VPhysicalVolume* v2 = 
00018     s->GetPostStepPoint()->GetTouchableHandle()->GetVolume();
00019 
00020   std::cout << "pre/post="
00021             << v1->GetName() << "/" 
00022             << v2->GetName() << " "
00023             << "first/last="
00024             << s->IsFirstStepInVolume() << "/"
00025             << s->IsLastStepInVolume() << " "
00026             << "de/dx="
00027             << s->GetTotalEnergyDeposit() << "/"
00028             << s->GetStepLength()
00029             << std::endl;   
00030 }


The documentation for this class was generated from the following files:
Generated on Mon Nov 23 04:45:32 2009 for NOvA Offline by  doxygen 1.3.9.1