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

#include <G4KaonBuilder.hh>

Public Member Functions

 G4KaonBuilder ()
 
virtual ~G4KaonBuilder ()
 
void Build ()
 
void RegisterMe (G4VKaonBuilder *aB)
 

Detailed Description

Definition at line 51 of file G4KaonBuilder.hh.

Constructor & Destructor Documentation

G4KaonBuilder::G4KaonBuilder ( )

Definition at line 45 of file G4KaonBuilder.cc.

G4KaonBuilder::~G4KaonBuilder ( )
virtual

Definition at line 54 of file G4KaonBuilder.cc.

55 {}

Member Function Documentation

void G4KaonBuilder::Build ( )

Definition at line 58 of file G4KaonBuilder.cc.

59 {
60  wasActivated = true;
61 
62  std::vector<G4VKaonBuilder *>::iterator i;
63  for(i=theModelCollections.begin(); i!=theModelCollections.end(); i++)
64  {
65  (*i)->Build(theKaonPlusInelastic);
66  (*i)->Build(theKaonMinusInelastic);
67  (*i)->Build(theKaonZeroLInelastic);
68  (*i)->Build(theKaonZeroSInelastic);
69  }
70  G4ProcessManager * theProcMan;
71 
72  theProcMan = G4KaonPlus::KaonPlus()->GetProcessManager();
73  theProcMan->AddDiscreteProcess(theKaonPlusInelastic);
74 
75  theProcMan = G4KaonMinus::KaonMinus()->GetProcessManager();
76  theProcMan->AddDiscreteProcess(theKaonMinusInelastic);
77 
79  theProcMan->AddDiscreteProcess(theKaonZeroLInelastic);
80 
82  theProcMan->AddDiscreteProcess(theKaonZeroSInelastic);
83 }
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
static G4KaonZeroLong * KaonZeroLong()
static G4KaonMinus * KaonMinus()
Definition: G4KaonMinus.cc:113
static G4KaonZeroShort * KaonZeroShort()
G4ProcessManager * GetProcessManager() const
static G4KaonPlus * KaonPlus()
Definition: G4KaonPlus.cc:113

Here is the call graph for this function:

void G4KaonBuilder::RegisterMe ( G4VKaonBuilder aB)
inline

Definition at line 59 of file G4KaonBuilder.hh.

59 {theModelCollections.push_back(aB);}

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