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

#include <G4He3Builder.hh>

+ Inheritance diagram for G4He3Builder:

Public Member Functions

 G4He3Builder ()
 
virtual ~G4He3Builder ()
 
virtual void Build () final override
 
virtual void RegisterMe (G4PhysicsBuilderInterface *aB) final override
 
- Public Member Functions inherited from G4PhysicsBuilderInterface
 G4PhysicsBuilderInterface ()=default
 
virtual ~G4PhysicsBuilderInterface ()=default
 
virtual void SetMinEnergy (G4double)
 
virtual void SetMaxEnergy (G4double)
 

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 {
57 theHe3Inelastic=new G4HadronInelasticProcess( "he3Inelastic", G4He3::Definition() );
58 }
static G4He3 * Definition()
Definition G4He3.cc:45

◆ ~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 }
52 theProcMan->AddDiscreteProcess(theHe3Inelastic);
53 }
static G4He3 * He3()
Definition G4He3.cc:90
G4ProcessManager * GetProcessManager() const
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)

◆ 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 *)

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