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

#include <G4PreCompoundEmissionFactory.hh>

+ Inheritance diagram for G4PreCompoundEmissionFactory:

Public Member Functions

 G4PreCompoundEmissionFactory ()
 
virtual ~G4PreCompoundEmissionFactory ()
 
- Public Member Functions inherited from G4VPreCompoundEmissionFactory
 G4VPreCompoundEmissionFactory ()
 
virtual ~G4VPreCompoundEmissionFactory ()
 
std::vector< G4VPreCompoundFragment * > * GetFragmentVector ()
 

Protected Member Functions

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

Detailed Description

Definition at line 34 of file G4PreCompoundEmissionFactory.hh.

Constructor & Destructor Documentation

◆ G4PreCompoundEmissionFactory()

G4PreCompoundEmissionFactory::G4PreCompoundEmissionFactory ( )

Definition at line 37 of file G4PreCompoundEmissionFactory.cc.

38{}

◆ ~G4PreCompoundEmissionFactory()

G4PreCompoundEmissionFactory::~G4PreCompoundEmissionFactory ( )
virtual

Definition at line 40 of file G4PreCompoundEmissionFactory.cc.

41{}

Member Function Documentation

◆ CreateFragmentVector()

std::vector< G4VPreCompoundFragment * > * G4PreCompoundEmissionFactory::CreateFragmentVector ( )
protectedvirtual

Implements G4VPreCompoundEmissionFactory.

Definition at line 43 of file G4PreCompoundEmissionFactory.cc.

45{
46 std::vector<G4VPreCompoundFragment*> * theFragVector =
47 new std::vector<G4VPreCompoundFragment*>();
48 theFragVector->reserve(6);
49
50 // neutron
51 theFragVector->push_back(new G4PreCompoundNeutron());
52 // proton
53 theFragVector->push_back(new G4PreCompoundProton());
54 // deuterium
55 theFragVector->push_back(new G4PreCompoundDeuteron());
56 // alpha
57 theFragVector->push_back(new G4PreCompoundAlpha());
58 // triton
59 theFragVector->push_back(new G4PreCompoundTriton());
60 // helium3
61 theFragVector->push_back(new G4PreCompoundHe3());
62
63 return theFragVector;
64}

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