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

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

+ Inheritance diagram for ActsExamples::DetectorConstructionFactory:

Public Member Functions

virtual ~DetectorConstructionFactory ()=default
 
virtual std::unique_ptr
< G4VUserDetectorConstruction > 
factorize () const =0
 

Detailed Description

Silly Geant4 will destroy the detector construction after the run manager is destructed. This class works around it by factorizing a factory.

Definition at line 19 of file DetectorConstructionFactory.hpp.

View newest version in sPHENIX GitHub at line 19 of file DetectorConstructionFactory.hpp

Constructor & Destructor Documentation

virtual ActsExamples::DetectorConstructionFactory::~DetectorConstructionFactory ( )
virtualdefault

Member Function Documentation

virtual std::unique_ptr<G4VUserDetectorConstruction> ActsExamples::DetectorConstructionFactory::factorize ( ) const
pure virtual

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