Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::SteppingActionList Class Reference

#include <acts/blob/sPHENIX/Examples/Algorithms/Geant4/include/ActsExamples/Geant4/SteppingActionList.hpp>

+ Inheritance diagram for ActsExamples::SteppingActionList:
+ Collaboration diagram for ActsExamples::SteppingActionList:

Classes

struct  Config
 

Public Member Functions

 SteppingActionList (const Config &cfg)
 
void UserSteppingAction (const G4Step *step) override
 

Private Attributes

Config m_cfg
 

Detailed Description

Geant4 only allows one user action of each type. This simple wrapper dispatches multiple actions to Geant4.

Definition at line 25 of file SteppingActionList.hpp.

View newest version in sPHENIX GitHub at line 25 of file SteppingActionList.hpp

Constructor & Destructor Documentation

ActsExamples::SteppingActionList::SteppingActionList ( const Config cfg)
inline

Definition at line 31 of file SteppingActionList.hpp.

View newest version in sPHENIX GitHub at line 31 of file SteppingActionList.hpp

Member Function Documentation

void ActsExamples::SteppingActionList::UserSteppingAction ( const G4Step *  step)
inlineoverride

Definition at line 33 of file SteppingActionList.hpp.

View newest version in sPHENIX GitHub at line 33 of file SteppingActionList.hpp

References parse_cmake_options::action, ActsExamples::SteppingActionList::Config::actions, and m_cfg.

Member Data Documentation

Config ActsExamples::SteppingActionList::m_cfg
private

Definition at line 42 of file SteppingActionList.hpp.

View newest version in sPHENIX GitHub at line 42 of file SteppingActionList.hpp

Referenced by UserSteppingAction().


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