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

#include <G4NeutronBuilder.hh>

Public Member Functions

 G4NeutronBuilder ()
 
virtual ~G4NeutronBuilder ()
 
void Build ()
 
void RegisterMe (G4VNeutronBuilder *aB)
 

Detailed Description

Definition at line 52 of file G4NeutronBuilder.hh.

Constructor & Destructor Documentation

◆ G4NeutronBuilder()

G4NeutronBuilder::G4NeutronBuilder ( )

Definition at line 45 of file G4NeutronBuilder.cc.

46 : wasActivated(false)
47{
48 theNeutronInelastic = new G4NeutronInelasticProcess;
49 theNeutronCapture = new G4HadronCaptureProcess;
50 theNeutronFission = new G4HadronFissionProcess;
51
52}

◆ ~G4NeutronBuilder()

G4NeutronBuilder::~G4NeutronBuilder ( )
virtual

Definition at line 54 of file G4NeutronBuilder.cc.

56{
57 delete theNeutronInelastic;
58 delete theNeutronCapture;
59 delete theNeutronFission;
60}

Member Function Documentation

◆ Build()

void G4NeutronBuilder::Build ( )

Definition at line 62 of file G4NeutronBuilder.cc.

64{
65 wasActivated = true;
66 std::vector<G4VNeutronBuilder *>::iterator i;
67 for(i=theModelCollections.begin(); i!=theModelCollections.end(); i++)
68 {
69 (*i)->Build(theNeutronInelastic);
70 (*i)->Build(theNeutronCapture);
71 (*i)->Build(theNeutronFission);
72 }
74 theProcMan->AddDiscreteProcess(theNeutronInelastic);
75 theProcMan->AddDiscreteProcess(theNeutronCapture);
76 theProcMan->AddDiscreteProcess(theNeutronFission);
77}
static G4Neutron * Neutron()
Definition: G4Neutron.cc:104
G4ProcessManager * GetProcessManager() const
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)

Referenced by HadronPhysicsFTF_BIC::ConstructProcess(), HadronPhysicsFTFP_BERT::ConstructProcess(), HadronPhysicsFTFP_BERT_HP::ConstructProcess(), HadronPhysicsFTFP_BERT_TRV::ConstructProcess(), HadronPhysicsLHEP::ConstructProcess(), HadronPhysicsLHEP_EMV::ConstructProcess(), HadronPhysicsQGS_BIC::ConstructProcess(), HadronPhysicsQGSC_BERT::ConstructProcess(), HadronPhysicsQGSP::ConstructProcess(), HadronPhysicsQGSP_BERT::ConstructProcess(), HadronPhysicsQGSP_BERT_95::ConstructProcess(), HadronPhysicsQGSP_BERT_CHIPS::ConstructProcess(), HadronPhysicsQGSP_BERT_HP::ConstructProcess(), HadronPhysicsQGSP_BERT_NOLEP::ConstructProcess(), HadronPhysicsQGSP_BERT_TRV::ConstructProcess(), HadronPhysicsQGSP_BIC::ConstructProcess(), HadronPhysicsQGSP_BIC_HP::ConstructProcess(), HadronPhysicsQGSP_FTFP_BERT::ConstructProcess(), HadronPhysicsQGSP_FTFP_BERT_95::ConstructProcess(), HadronPhysicsQGSP_INCLXX::ConstructProcess(), and HadronPhysicsShielding::ConstructProcess().

◆ RegisterMe()

void G4NeutronBuilder::RegisterMe ( G4VNeutronBuilder aB)
inline

Definition at line 60 of file G4NeutronBuilder.hh.

60{theModelCollections.push_back(aB);}

Referenced by G4QNeutronHPBuilder::Build().


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