Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4DeuteronBuilder Class Reference

#include <G4DeuteronBuilder.hh>

Public Member Functions

 G4DeuteronBuilder ()
 
virtual ~G4DeuteronBuilder ()
 
void Build ()
 
void RegisterMe (G4VDeuteronBuilder *aB)
 

Detailed Description

Definition at line 46 of file G4DeuteronBuilder.hh.

Constructor & Destructor Documentation

G4DeuteronBuilder::G4DeuteronBuilder ( )

Definition at line 56 of file G4DeuteronBuilder.cc.

56  : wasActivated(false)
57  {
58  theDeuteronInelastic=new G4DeuteronInelasticProcess;
59  }
G4DeuteronBuilder::~G4DeuteronBuilder ( )
virtual

Definition at line 62 of file G4DeuteronBuilder.cc.

63  {}

Member Function Documentation

void G4DeuteronBuilder::Build ( void  )

Definition at line 43 of file G4DeuteronBuilder.cc.

44  {
45  wasActivated = true;
46  std::vector<G4VDeuteronBuilder *>::iterator i;
47  for(i=theModelCollections.begin(); i!=theModelCollections.end(); i++)
48  {
49  (*i)->Build(theDeuteronInelastic);
50  }
52  theProcMan->AddDiscreteProcess(theDeuteronInelastic);
53  }
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
static G4Deuteron * Deuteron()
Definition: G4Deuteron.cc:94
G4ProcessManager * GetProcessManager() const

Here is the call graph for this function:

void G4DeuteronBuilder::RegisterMe ( G4VDeuteronBuilder aB)
inline

Definition at line 54 of file G4DeuteronBuilder.hh.

54 {theModelCollections.push_back(aB);}

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