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

#include <G4HETCEmissionFactory.hh>

+ Inheritance diagram for G4HETCEmissionFactory:

Public Member Functions

 G4HETCEmissionFactory ()
 
virtual ~G4HETCEmissionFactory ()
 
- 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 G4HETCEmissionFactory.hh.

Constructor & Destructor Documentation

◆ G4HETCEmissionFactory()

G4HETCEmissionFactory::G4HETCEmissionFactory ( )

Definition at line 44 of file G4HETCEmissionFactory.cc.

45{}

◆ ~G4HETCEmissionFactory()

G4HETCEmissionFactory::~G4HETCEmissionFactory ( )
virtual

Definition at line 47 of file G4HETCEmissionFactory.cc.

48{}

Member Function Documentation

◆ CreateFragmentVector()

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

Implements G4VPreCompoundEmissionFactory.

Definition at line 50 of file G4HETCEmissionFactory.cc.

52{
53 std::vector<G4VPreCompoundFragment*> * theFragVector =
54 new std::vector<G4VPreCompoundFragment*>;
55 theFragVector->reserve(6);
56
57 // neutron
58 theFragVector->push_back(new G4HETCNeutron());
59 // proton
60 theFragVector->push_back(new G4HETCProton());
61 // deuterium
62 theFragVector->push_back(new G4HETCDeuteron());
63 // alpha
64 theFragVector->push_back(new G4HETCAlpha());
65 // triton
66 theFragVector->push_back(new G4HETCTriton());
67 // helium3
68 theFragVector->push_back(new G4HETCHe3());
69
70 return theFragVector;
71}

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