Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4ProtonBuilder Class Reference

#include <G4ProtonBuilder.hh>

Public Member Functions

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

Detailed Description

Definition at line 49 of file G4ProtonBuilder.hh.

Constructor & Destructor Documentation

G4ProtonBuilder::G4ProtonBuilder ( )

Definition at line 59 of file G4ProtonBuilder.cc.

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

Definition at line 65 of file G4ProtonBuilder.cc.

66  {
67  }

Member Function Documentation

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  }
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
static G4Proton * Proton()
Definition: G4Proton.cc:93
G4ProcessManager * GetProcessManager() const

Here is the call graph for this function:

void G4ProtonBuilder::RegisterMe ( G4VProtonBuilder aB)
inline

Definition at line 57 of file G4ProtonBuilder.hh.

57 {theModelCollections.push_back(aB);}

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