Geant4  10.02.p03
ExExChProtonBuilder Class Reference

#include <ExExChProtonBuilder.hh>

Collaboration diagram for ExExChProtonBuilder:

Public Member Functions

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

Private Attributes

G4ProtonInelasticProcesstheProtonInelastic
 
std::vector< G4VProtonBuilder * > theModelCollections
 
G4bool wasActivated
 

Detailed Description

Definition at line 38 of file ExExChProtonBuilder.hh.

Constructor & Destructor Documentation

◆ ExExChProtonBuilder()

ExExChProtonBuilder::ExExChProtonBuilder ( )

Definition at line 51 of file ExExChProtonBuilder.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~ExExChProtonBuilder()

ExExChProtonBuilder::~ExExChProtonBuilder ( )
virtual

Definition at line 57 of file ExExChProtonBuilder.cc.

58 {
59  delete theProtonInelastic;
60 }
G4ProtonInelasticProcess * theProtonInelastic
Here is the caller graph for this function:

Member Function Documentation

◆ Build()

void ExExChProtonBuilder::Build ( void  )

Definition at line 35 of file ExExChProtonBuilder.cc.

36 {
37  wasActivated = true;
38  std::vector<G4VProtonBuilder *>::iterator i;
39  for(i=theModelCollections.begin(); i!=theModelCollections.end(); i++)
40  {
41  (*i)->Build(theProtonInelastic);
42  }
44  XWrapperDiscreteProcess* theProtonInelastic_wrapper =
46  theProtonInelastic_wrapper->RegisterProcess(theProtonInelastic,1);
47  theProcMan->AddDiscreteProcess(theProtonInelastic_wrapper);
48 }
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
G4ProcessManager * GetProcessManager() const
std::vector< G4VProtonBuilder * > theModelCollections
static G4Proton * Proton()
Definition: G4Proton.cc:93
G4ProtonInelasticProcess * theProtonInelastic
void RegisterProcess(G4VDiscreteProcess *)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegisterMe()

void ExExChProtonBuilder::RegisterMe ( G4VProtonBuilder aB)
inline

Definition at line 46 of file ExExChProtonBuilder.hh.

46 {theModelCollections.push_back(aB);}
std::vector< G4VProtonBuilder * > theModelCollections
Here is the caller graph for this function:

Member Data Documentation

◆ theModelCollections

std::vector<G4VProtonBuilder *> ExExChProtonBuilder::theModelCollections
private

Definition at line 51 of file ExExChProtonBuilder.hh.

◆ theProtonInelastic

G4ProtonInelasticProcess* ExExChProtonBuilder::theProtonInelastic
private

Definition at line 49 of file ExExChProtonBuilder.hh.

◆ wasActivated

G4bool ExExChProtonBuilder::wasActivated
private

Definition at line 53 of file ExExChProtonBuilder.hh.


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