Geant4 11.4.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 ()
 G4VPreCompoundEmissionFactory (const G4VPreCompoundEmissionFactory &)=delete
const G4VPreCompoundEmissionFactoryoperator= (const G4VPreCompoundEmissionFactory &val)=delete
G4bool operator== (const G4VPreCompoundEmissionFactory &val) const =delete
G4bool operator!= (const G4VPreCompoundEmissionFactory &val) const =delete

Protected Member Functions

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

Detailed Description

Definition at line 34 of file G4HETCEmissionFactory.hh.

Constructor & Destructor Documentation

◆ G4HETCEmissionFactory()

G4HETCEmissionFactory::G4HETCEmissionFactory ( )

Definition at line 43 of file G4HETCEmissionFactory.cc.

44{}

◆ ~G4HETCEmissionFactory()

G4HETCEmissionFactory::~G4HETCEmissionFactory ( )
virtual

Definition at line 46 of file G4HETCEmissionFactory.cc.

47{}

Member Function Documentation

◆ CreateFragmentVector()

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

Implements G4VPreCompoundEmissionFactory.

Definition at line 49 of file G4HETCEmissionFactory.cc.

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

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