Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VPreCompoundEmissionFactory Class Referenceabstract

#include <G4VPreCompoundEmissionFactory.hh>

+ Inheritance diagram for G4VPreCompoundEmissionFactory:

Public Member Functions

 G4VPreCompoundEmissionFactory ()
 
virtual ~G4VPreCompoundEmissionFactory ()
 
std::vector< G4VPreCompoundFragment * > * GetFragmentVector ()
 

Protected Member Functions

virtual std::vector< G4VPreCompoundFragment * > * CreateFragmentVector ()=0
 

Detailed Description

Definition at line 36 of file G4VPreCompoundEmissionFactory.hh.

Constructor & Destructor Documentation

◆ G4VPreCompoundEmissionFactory()

G4VPreCompoundEmissionFactory::G4VPreCompoundEmissionFactory ( )

Definition at line 31 of file G4VPreCompoundEmissionFactory.cc.

32 : fragvector(nullptr)
33{}

◆ ~G4VPreCompoundEmissionFactory()

G4VPreCompoundEmissionFactory::~G4VPreCompoundEmissionFactory ( )
virtual

Definition at line 35 of file G4VPreCompoundEmissionFactory.cc.

36{
37 if (fragvector != nullptr)
38 std::for_each(fragvector->begin(), fragvector->end(),
39 DeleteFragment());
40 delete fragvector;
41}

Member Function Documentation

◆ CreateFragmentVector()

virtual std::vector< G4VPreCompoundFragment * > * G4VPreCompoundEmissionFactory::CreateFragmentVector ( )
protectedpure virtual

◆ GetFragmentVector()

std::vector< G4VPreCompoundFragment * > * G4VPreCompoundEmissionFactory::GetFragmentVector ( )
inline

Definition at line 72 of file G4VPreCompoundEmissionFactory.hh.

73{
74 if (fragvector == 0) { fragvector = CreateFragmentVector(); }
75 return fragvector;
76}
virtual std::vector< G4VPreCompoundFragment * > * CreateFragmentVector()=0

Referenced by G4PreCompoundEmission::G4PreCompoundEmission(), G4PreCompoundEmission::SetDefaultModel(), and G4PreCompoundEmission::SetHETCModel().


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