Geant4  10.00.p02
B1SteppingAction Class Reference

Stepping action class. More...

#include <B1SteppingAction.hh>

+ Inheritance diagram for B1SteppingAction:
+ Collaboration diagram for B1SteppingAction:

Public Member Functions

 B1SteppingAction (B1EventAction *eventAction)
 
virtual ~B1SteppingAction ()
 
virtual void UserSteppingAction (const G4Step *)
 
 B1SteppingAction (B1EventAction *eventAction)
 
virtual ~B1SteppingAction ()
 
virtual void UserSteppingAction (const G4Step *)
 
 B1SteppingAction ()
 
virtual ~B1SteppingAction ()
 
virtual void UserSteppingAction (const G4Step *)
 
void Reset ()
 
void SetVolume (G4LogicalVolume *volume)
 
G4LogicalVolumeGetVolume () const
 
G4double GetEnergy () const
 
- Public Member Functions inherited from G4UserSteppingAction
 G4UserSteppingAction ()
 
virtual ~G4UserSteppingAction ()
 
void SetSteppingManagerPointer (G4SteppingManager *pValue)
 

Static Public Member Functions

static B1SteppingActionInstance ()
 

Private Attributes

B1EventActionfEventAction
 
G4LogicalVolumefScoringVolume
 
G4LogicalVolumefVolume
 
G4double fEnergy
 

Static Private Attributes

static B1SteppingActionfgInstance = 0
 

Additional Inherited Members

- Protected Attributes inherited from G4UserSteppingAction
G4SteppingManagerfpSteppingManager
 

Detailed Description

Stepping action class.

It holds data member fEnergy for accumulating the energy deposit in a selected volume step by step. The selected volume is set from the detector construction via the SetVolume() function. The accumulated energy deposit is reset for each new event via the Reset() function from the event action.

Definition at line 44 of file B1SteppingAction.hh.

Constructor & Destructor Documentation

B1SteppingAction::B1SteppingAction ( B1EventAction eventAction)

Definition at line 42 of file B1SteppingAction.cc.

B1SteppingAction::~B1SteppingAction ( )
virtual

Definition at line 50 of file B1SteppingAction.cc.

B1SteppingAction::B1SteppingAction ( B1EventAction eventAction)
virtual B1SteppingAction::~B1SteppingAction ( )
virtual
B1SteppingAction::B1SteppingAction ( )

Definition at line 54 of file B1SteppingAction.cc.

References fgInstance.

virtual B1SteppingAction::~B1SteppingAction ( )
virtual

Member Function Documentation

G4double B1SteppingAction::GetEnergy ( ) const
inline

Definition at line 67 of file B1SteppingAction.hh.

References fEnergy.

G4LogicalVolume* B1SteppingAction::GetVolume ( ) const
inline

Definition at line 66 of file B1SteppingAction.hh.

References fVolume.

B1SteppingAction * B1SteppingAction::Instance ( void  )
static

Definition at line 45 of file B1SteppingAction.cc.

References fgInstance.

void B1SteppingAction::Reset ( )

Definition at line 88 of file B1SteppingAction.cc.

References fEnergy.

void B1SteppingAction::SetVolume ( G4LogicalVolume volume)
inline

Definition at line 63 of file B1SteppingAction.hh.

References fVolume.

void B1SteppingAction::UserSteppingAction ( const G4Step step)
virtual
virtual void B1SteppingAction::UserSteppingAction ( const G4Step )
virtual

Reimplemented from G4UserSteppingAction.

virtual void B1SteppingAction::UserSteppingAction ( const G4Step )
virtual

Reimplemented from G4UserSteppingAction.

Member Data Documentation

G4double B1SteppingAction::fEnergy
private

Definition at line 73 of file B1SteppingAction.hh.

Referenced by GetEnergy(), and Reset().

B1EventAction * B1SteppingAction::fEventAction
private

Definition at line 54 of file B1SteppingAction.hh.

Referenced by UserSteppingAction().

B1SteppingAction * B1SteppingAction::fgInstance = 0
staticprivate

Definition at line 70 of file B1SteppingAction.hh.

Referenced by B1SteppingAction(), and Instance().

G4LogicalVolume * B1SteppingAction::fScoringVolume
private

Definition at line 55 of file B1SteppingAction.hh.

Referenced by UserSteppingAction().

G4LogicalVolume* B1SteppingAction::fVolume
private

Definition at line 72 of file B1SteppingAction.hh.

Referenced by GetVolume(), and SetVolume().


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