Geant4
10.00.p01
|
Stepping action class. More...
#include <B1SteppingAction.hh>
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) |
G4LogicalVolume * | GetVolume () const |
G4double | GetEnergy () const |
Public Member Functions inherited from G4UserSteppingAction | |
G4UserSteppingAction () | |
virtual | ~G4UserSteppingAction () |
void | SetSteppingManagerPointer (G4SteppingManager *pValue) |
Static Public Member Functions | |
static B1SteppingAction * | Instance () |
Private Attributes | |
B1EventAction * | fEventAction |
G4LogicalVolume * | fScoringVolume |
G4LogicalVolume * | fVolume |
G4double | fEnergy |
Static Private Attributes | |
static B1SteppingAction * | fgInstance = 0 |
Additional Inherited Members | |
Protected Attributes inherited from G4UserSteppingAction | |
G4SteppingManager * | fpSteppingManager |
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.
B1SteppingAction::B1SteppingAction | ( | B1EventAction * | eventAction | ) |
Definition at line 42 of file B1SteppingAction.cc.
|
virtual |
Definition at line 50 of file B1SteppingAction.cc.
B1SteppingAction::B1SteppingAction | ( | B1EventAction * | eventAction | ) |
|
virtual |
B1SteppingAction::B1SteppingAction | ( | ) |
Definition at line 54 of file B1SteppingAction.cc.
References fgInstance.
|
virtual |
|
inline |
Definition at line 67 of file B1SteppingAction.hh.
References fEnergy.
|
inline |
Definition at line 66 of file B1SteppingAction.hh.
References fVolume.
|
static |
Definition at line 45 of file B1SteppingAction.cc.
References fgInstance.
void B1SteppingAction::Reset | ( | ) |
Definition at line 88 of file B1SteppingAction.cc.
References fEnergy.
|
inline |
Definition at line 63 of file B1SteppingAction.hh.
References fVolume.
|
virtual |
Reimplemented from G4UserSteppingAction.
Definition at line 55 of file B1SteppingAction.cc.
References B1EventAction::AddEdep(), fEventAction, fScoringVolume, G4VPhysicalVolume::GetLogicalVolume(), G4Step::GetPreStepPoint(), G4RunManager::GetRunManager(), B1DetectorConstruction::GetScoringVolume(), G4Step::GetTotalEnergyDeposit(), G4StepPoint::GetTouchableHandle(), G4RunManager::GetUserDetectorConstruction(), and G4VTouchable::GetVolume().
|
virtual |
Reimplemented from G4UserSteppingAction.
|
virtual |
Reimplemented from G4UserSteppingAction.
|
private |
Definition at line 73 of file B1SteppingAction.hh.
Referenced by GetEnergy(), and Reset().
|
private |
Definition at line 54 of file B1SteppingAction.hh.
Referenced by UserSteppingAction().
|
staticprivate |
Definition at line 70 of file B1SteppingAction.hh.
Referenced by B1SteppingAction(), and Instance().
|
private |
Definition at line 55 of file B1SteppingAction.hh.
Referenced by UserSteppingAction().
|
private |
Definition at line 72 of file B1SteppingAction.hh.
Referenced by GetVolume(), and SetVolume().