Geant4 9.6.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 35 of file G4PreCompoundEmissionFactory.hh.

Constructor & Destructor Documentation

◆ G4PreCompoundEmissionFactory()

G4PreCompoundEmissionFactory::G4PreCompoundEmissionFactory ( )

Definition at line 38 of file G4PreCompoundEmissionFactory.cc.

39{}

◆ ~G4PreCompoundEmissionFactory()

G4PreCompoundEmissionFactory::~G4PreCompoundEmissionFactory ( )
virtual

Definition at line 41 of file G4PreCompoundEmissionFactory.cc.

42{}

Member Function Documentation

◆ CreateFragmentVector()

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

Implements G4VPreCompoundEmissionFactory.

Definition at line 44 of file G4PreCompoundEmissionFactory.cc.

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

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