Geant4 9.6.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 37 of file G4VPreCompoundEmissionFactory.hh.

Constructor & Destructor Documentation

◆ G4VPreCompoundEmissionFactory()

G4VPreCompoundEmissionFactory::G4VPreCompoundEmissionFactory ( )

Definition at line 32 of file G4VPreCompoundEmissionFactory.cc.

33 : fragvector(0)
34{}

◆ ~G4VPreCompoundEmissionFactory()

G4VPreCompoundEmissionFactory::~G4VPreCompoundEmissionFactory ( )
virtual

Definition at line 36 of file G4VPreCompoundEmissionFactory.cc.

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

Member Function Documentation

◆ CreateFragmentVector()

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

◆ GetFragmentVector()

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

Definition at line 73 of file G4VPreCompoundEmissionFactory.hh.

74{
75 if (fragvector == 0) { fragvector = CreateFragmentVector(); }
76 return fragvector;
77}
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: