Analysis Software
Documentation for sPHENIX simulation software
|
Convenience implementation of PhysicsListFactory from std::function. More...
#include <acts/blob/sPHENIX/Examples/Algorithms/Geant4/include/ActsExamples/Geant4/PhysicsListFactory.hpp>
Public Types | |
using | Function = std::function< std::unique_ptr< G4VUserPhysicsList >()> |
Public Member Functions | |
PhysicsListFactoryFunction (Function function) | |
std::unique_ptr < G4VUserPhysicsList > | factorize () const final |
Public Member Functions inherited from ActsExamples::PhysicsListFactory | |
virtual | ~PhysicsListFactory ()=default |
Private Attributes | |
Function | m_function |
Convenience implementation of PhysicsListFactory from std::function.
Definition at line 27 of file PhysicsListFactory.hpp.
View newest version in sPHENIX GitHub at line 27 of file PhysicsListFactory.hpp
using ActsExamples::PhysicsListFactoryFunction::Function = std::function<std::unique_ptr<G4VUserPhysicsList>()> |
Definition at line 29 of file PhysicsListFactory.hpp.
View newest version in sPHENIX GitHub at line 29 of file PhysicsListFactory.hpp
ActsExamples::PhysicsListFactoryFunction::PhysicsListFactoryFunction | ( | Function | function | ) |
Definition at line 15 of file PhysicsListFactory.cpp.
View newest version in sPHENIX GitHub at line 15 of file PhysicsListFactory.cpp
|
finalvirtual |
Implements ActsExamples::PhysicsListFactory.
Definition at line 18 of file PhysicsListFactory.cpp.
View newest version in sPHENIX GitHub at line 18 of file PhysicsListFactory.cpp
References m_function.
|
private |
Definition at line 36 of file PhysicsListFactory.hpp.
View newest version in sPHENIX GitHub at line 36 of file PhysicsListFactory.hpp
Referenced by factorize().