Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::PhysicsListFactoryFunction Exception Referencefinal

Convenience implementation of PhysicsListFactory from std::function. More...

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

+ Inheritance diagram for ActsExamples::PhysicsListFactoryFunction:
+ Collaboration diagram for ActsExamples::PhysicsListFactoryFunction:

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
 

Detailed Description

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

Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

std::unique_ptr< G4VUserPhysicsList > ActsExamples::PhysicsListFactoryFunction::factorize ( ) const
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.

Member Data Documentation

Function ActsExamples::PhysicsListFactoryFunction::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().


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