Geant4-11
Public Member Functions | Private Attributes
G4He3Builder Class Reference

#include <G4He3Builder.hh>

Inheritance diagram for G4He3Builder:
G4PhysicsBuilderInterface

Public Member Functions

virtual void Build () final override
 
 G4He3Builder ()
 
virtual void RegisterMe (G4PhysicsBuilderInterface *aB) final override
 
virtual void SetMaxEnergy (G4double)
 
virtual void SetMinEnergy (G4double)
 
virtual ~G4He3Builder ()
 

Private Attributes

G4HadronInelasticProcesstheHe3Inelastic
 
std::vector< G4VHe3Builder * > theModelCollections
 

Detailed Description

Definition at line 47 of file G4He3Builder.hh.

Constructor & Destructor Documentation

◆ G4He3Builder()

G4He3Builder::G4He3Builder ( )

Definition at line 55 of file G4He3Builder.cc.

56 {
58 }
G4HadronInelasticProcess * theHe3Inelastic
Definition: G4He3Builder.hh:57
static G4He3 * Definition()
Definition: G4He3.cc:49

References G4He3::Definition(), and theHe3Inelastic.

◆ ~G4He3Builder()

virtual G4He3Builder::~G4He3Builder ( )
inlinevirtual

Definition at line 51 of file G4He3Builder.hh.

51{}

Member Function Documentation

◆ Build()

void G4He3Builder::Build ( )
finaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 44 of file G4He3Builder.cc.

45 {
46 std::vector<G4VHe3Builder *>::iterator i;
47 for(i=theModelCollections.begin(); i!=theModelCollections.end(); i++)
48 {
49 (*i)->Build(theHe3Inelastic);
50 }
53 }
std::vector< G4VHe3Builder * > theModelCollections
Definition: G4He3Builder.hh:59
static G4He3 * He3()
Definition: G4He3.cc:93
G4ProcessManager * GetProcessManager() const
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)

References G4ProcessManager::AddDiscreteProcess(), G4ParticleDefinition::GetProcessManager(), G4He3::He3(), theHe3Inelastic, and theModelCollections.

◆ RegisterMe()

void G4He3Builder::RegisterMe ( G4PhysicsBuilderInterface aB)
finaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 60 of file G4He3Builder.cc.

60 {
61 auto bld = dynamic_cast<G4VHe3Builder*>(aB);
62 if ( bld != nullptr ) {
63 theModelCollections.push_back(bld);
64 } else {
66 }
67 }
virtual void RegisterMe(G4PhysicsBuilderInterface *)

References G4PhysicsBuilderInterface::RegisterMe(), and theModelCollections.

◆ SetMaxEnergy()

virtual void G4PhysicsBuilderInterface::SetMaxEnergy ( G4double  )
inlinevirtualinherited

◆ SetMinEnergy()

virtual void G4PhysicsBuilderInterface::SetMinEnergy ( G4double  )
inlinevirtualinherited

Field Documentation

◆ theHe3Inelastic

G4HadronInelasticProcess* G4He3Builder::theHe3Inelastic
private

Definition at line 57 of file G4He3Builder.hh.

Referenced by Build(), and G4He3Builder().

◆ theModelCollections

std::vector<G4VHe3Builder *> G4He3Builder::theModelCollections
private

Definition at line 59 of file G4He3Builder.hh.

Referenced by Build(), and RegisterMe().


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