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

#include <G4ProtonBuilder.hh>

Public Member Functions

 G4ProtonBuilder ()
 
virtual ~G4ProtonBuilder ()
 
void Build ()
 
void RegisterMe (G4VProtonBuilder *aB)
 

Detailed Description

Definition at line 50 of file G4ProtonBuilder.hh.

Constructor & Destructor Documentation

◆ G4ProtonBuilder()

G4ProtonBuilder::G4ProtonBuilder ( )

Definition at line 58 of file G4ProtonBuilder.cc.

59 : wasActivated(false)
60 {
61 theProtonInelastic=new G4ProtonInelasticProcess;
62 }

◆ ~G4ProtonBuilder()

G4ProtonBuilder::~G4ProtonBuilder ( )
virtual

Definition at line 64 of file G4ProtonBuilder.cc.

66 {
67 delete theProtonInelastic;
68 }

Member Function Documentation

◆ Build()

void G4ProtonBuilder::Build ( )

Definition at line 46 of file G4ProtonBuilder.cc.

47 {
48 wasActivated = true;
49 std::vector<G4VProtonBuilder *>::iterator i;
50 for(i=theModelCollections.begin(); i!=theModelCollections.end(); i++)
51 {
52 (*i)->Build(theProtonInelastic);
53 }
55 theProcMan->AddDiscreteProcess(theProtonInelastic);
56 }
G4ProcessManager * GetProcessManager() const
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
static G4Proton * Proton()
Definition: G4Proton.cc:93

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 G4ProtonBuilder::RegisterMe ( G4VProtonBuilder aB)
inline

Definition at line 58 of file G4ProtonBuilder.hh.

58{theModelCollections.push_back(aB);}

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