ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Collects the RecordedMaterialProperties entities. More...
#include <acts/blob/master/Examples/Algorithms/Geant4/include/ACTFW/Plugins/Geant4/MMSteppingAction.hpp>
Public Member Functions | |
MMSteppingAction () | |
Constructor. | |
~MMSteppingAction () override | |
Destructor. | |
void | UserSteppingAction (const G4Step *step) finaloverride |
Interface Method doing the step. | |
void | Reset () |
std::vector < Acts::MaterialInteraction > | materialSteps () |
Access to the collected Acts::MaterialInteraction entities. | |
FW::SimHitContainer::sequence_type | trackSteps () |
Access to the collected FW::SimHitContainer entities. | |
Public Member Functions inherited from G4UserSteppingAction | |
G4UserSteppingAction () | |
virtual | ~G4UserSteppingAction () |
virtual void | SetSteppingManagerPointer (G4SteppingManager *pValue) |
Static Public Member Functions | |
static MMSteppingAction * | Instance () |
Static access method to the instance. | |
Private Attributes | |
std::vector < Acts::MaterialInteraction > | m_steps = {} |
The collected Acts::MaterialInteraction entities. | |
FW::SimHitContainer::sequence_type | m_tracksteps |
The collected FW::SimHit entities. | |
Static Private Attributes | |
static MMSteppingAction * | fgInstance |
Instance of the SteppingAction. | |
Additional Inherited Members | |
Protected Attributes inherited from G4UserSteppingAction | |
G4SteppingManager * | fpSteppingManager |
Collects the RecordedMaterialProperties entities.
The MMSteppingAction class is the implementation of the Geant4 class SteppingAction. It extracts the weighted material of every step and collects all material steps.
Definition at line 32 of file MMSteppingAction.hpp.
View newest version in sPHENIX GitHub at line 32 of file MMSteppingAction.hpp
FW::Geant4::MMSteppingAction::MMSteppingAction | ( | ) |
Constructor.
Definition at line 25 of file MMSteppingAction.cpp.
View newest version in sPHENIX GitHub at line 25 of file MMSteppingAction.cpp
References fgInstance.
|
override |
Destructor.
Definition at line 38 of file MMSteppingAction.cpp.
View newest version in sPHENIX GitHub at line 38 of file MMSteppingAction.cpp
|
static |
Static access method to the instance.
Definition at line 20 of file MMSteppingAction.cpp.
View newest version in sPHENIX GitHub at line 20 of file MMSteppingAction.cpp
References fgInstance.
Referenced by FW::Geant4::MMEventAction::BeginOfEventAction(), and FW::Geant4::MMEventAction::EndOfEventAction().
|
inline |
Access to the collected Acts::MaterialInteraction entities.
Definition at line 53 of file MMSteppingAction.hpp.
View newest version in sPHENIX GitHub at line 53 of file MMSteppingAction.hpp
References m_steps.
Referenced by FW::Geant4::MMEventAction::EndOfEventAction().
void FW::Geant4::MMSteppingAction::Reset | ( | ) |
Interface reset method
Definition at line 127 of file MMSteppingAction.cpp.
View newest version in sPHENIX GitHub at line 127 of file MMSteppingAction.cpp
Referenced by FW::Geant4::MMEventAction::BeginOfEventAction().
|
inline |
Access to the collected FW::SimHitContainer entities.
Definition at line 56 of file MMSteppingAction.hpp.
View newest version in sPHENIX GitHub at line 56 of file MMSteppingAction.hpp
References m_tracksteps.
Interface Method doing the step.
step | is the Geant4 step of the particle |
Reimplemented from G4UserSteppingAction.
Definition at line 42 of file MMSteppingAction.cpp.
View newest version in sPHENIX GitHub at line 42 of file MMSteppingAction.cpp
References A(), elements, G4Material::GetA(), G4Material::GetDensity(), G4Material::GetElementVector(), G4Material::GetFractionVector(), G4StepPoint::GetMaterial(), G4Material::GetName(), G4Material::GetNuclearInterLength(), G4Material::GetNumberOfElements(), G4StepPoint::GetPosition(), G4Step::GetPreStepPoint(), G4Material::GetRadlen(), G4Step::GetStepLength(), G4Material::GetZ(), CLHEP::gram, material(), Acts::MaterialInteraction::materialProperties, CLHEP::mm, CLHEP::mm3, CLHEP::mole, Acts::MaterialInteraction::position, and Z.
|
staticprivate |
Instance of the SteppingAction.
Definition at line 60 of file MMSteppingAction.hpp.
View newest version in sPHENIX GitHub at line 60 of file MMSteppingAction.hpp
Referenced by Instance(), and MMSteppingAction().
|
private |
The collected Acts::MaterialInteraction entities.
Definition at line 63 of file MMSteppingAction.hpp.
View newest version in sPHENIX GitHub at line 63 of file MMSteppingAction.hpp
Referenced by materialSteps().
|
private |
The collected FW::SimHit entities.
Definition at line 65 of file MMSteppingAction.hpp.
View newest version in sPHENIX GitHub at line 65 of file MMSteppingAction.hpp
Referenced by trackSteps().