Geant4  10.02.p03
G4PiKBuilder Class Reference

#include <G4PiKBuilder.hh>

Collaboration diagram for G4PiKBuilder:

Public Member Functions

 G4PiKBuilder ()
 
virtual ~G4PiKBuilder ()
 
void Build ()
 
void RegisterMe (G4VPiKBuilder *aB)
 

Private Attributes

G4PionPlusInelasticProcessthePionPlusInelastic
 
G4PionMinusInelasticProcessthePionMinusInelastic
 
G4KaonPlusInelasticProcesstheKaonPlusInelastic
 
G4KaonMinusInelasticProcesstheKaonMinusInelastic
 
G4KaonZeroLInelasticProcesstheKaonZeroLInelastic
 
G4KaonZeroSInelasticProcesstheKaonZeroSInelastic
 
std::vector< G4VPiKBuilder * > theModelCollections
 
G4bool wasActivated
 

Detailed Description

Definition at line 50 of file G4PiKBuilder.hh.

Constructor & Destructor Documentation

◆ G4PiKBuilder()

G4PiKBuilder::G4PiKBuilder ( )

Definition at line 46 of file G4PiKBuilder.cc.

46  : wasActivated(false)
47 {
54 }
G4bool wasActivated
Definition: G4PiKBuilder.hh:70
G4PionPlusInelasticProcess * thePionPlusInelastic
Definition: G4PiKBuilder.hh:61
G4KaonZeroSInelasticProcess * theKaonZeroSInelastic
Definition: G4PiKBuilder.hh:66
G4KaonPlusInelasticProcess * theKaonPlusInelastic
Definition: G4PiKBuilder.hh:63
G4PionMinusInelasticProcess * thePionMinusInelastic
Definition: G4PiKBuilder.hh:62
G4KaonMinusInelasticProcess * theKaonMinusInelastic
Definition: G4PiKBuilder.hh:64
G4KaonZeroLInelasticProcess * theKaonZeroLInelastic
Definition: G4PiKBuilder.hh:65

◆ ~G4PiKBuilder()

G4PiKBuilder::~G4PiKBuilder ( )
virtual

Definition at line 56 of file G4PiKBuilder.cc.

57 {}
Here is the call graph for this function:

Member Function Documentation

◆ Build()

void G4PiKBuilder::Build ( void  )

Definition at line 60 of file G4PiKBuilder.cc.

61 {
62  wasActivated = true;
63 
64  std::vector<G4VPiKBuilder *>::iterator i;
65  for(i=theModelCollections.begin(); i!=theModelCollections.end(); i++)
66  {
67  (*i)->Build(thePionPlusInelastic);
68  (*i)->Build(thePionMinusInelastic);
69  (*i)->Build(theKaonPlusInelastic);
70  (*i)->Build(theKaonMinusInelastic);
71  (*i)->Build(theKaonZeroLInelastic);
72  (*i)->Build(theKaonZeroSInelastic);
73  }
74  G4ProcessManager * theProcMan;
75  theProcMan = G4PionPlus::PionPlus()->GetProcessManager();
77 
78  theProcMan = G4PionMinus::PionMinus()->GetProcessManager();
80 
81  theProcMan = G4KaonPlus::KaonPlus()->GetProcessManager();
83 
84  theProcMan = G4KaonMinus::KaonMinus()->GetProcessManager();
86 
89 
92 }
G4bool wasActivated
Definition: G4PiKBuilder.hh:70
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
static G4KaonZeroLong * KaonZeroLong()
G4PionPlusInelasticProcess * thePionPlusInelastic
Definition: G4PiKBuilder.hh:61
G4ProcessManager * GetProcessManager() const
static G4KaonMinus * KaonMinus()
Definition: G4KaonMinus.cc:113
static G4KaonZeroShort * KaonZeroShort()
G4KaonZeroSInelasticProcess * theKaonZeroSInelastic
Definition: G4PiKBuilder.hh:66
G4KaonPlusInelasticProcess * theKaonPlusInelastic
Definition: G4PiKBuilder.hh:63
static G4PionPlus * PionPlus()
Definition: G4PionPlus.cc:98
G4PionMinusInelasticProcess * thePionMinusInelastic
Definition: G4PiKBuilder.hh:62
std::vector< G4VPiKBuilder * > theModelCollections
Definition: G4PiKBuilder.hh:68
static G4PionMinus * PionMinus()
Definition: G4PionMinus.cc:98
G4KaonMinusInelasticProcess * theKaonMinusInelastic
Definition: G4PiKBuilder.hh:64
static G4KaonPlus * KaonPlus()
Definition: G4KaonPlus.cc:113
G4KaonZeroLInelasticProcess * theKaonZeroLInelastic
Definition: G4PiKBuilder.hh:65
Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegisterMe()

void G4PiKBuilder::RegisterMe ( G4VPiKBuilder aB)
inline

Definition at line 58 of file G4PiKBuilder.hh.

58 {theModelCollections.push_back(aB);}
std::vector< G4VPiKBuilder * > theModelCollections
Definition: G4PiKBuilder.hh:68
Here is the caller graph for this function:

Member Data Documentation

◆ theKaonMinusInelastic

G4KaonMinusInelasticProcess* G4PiKBuilder::theKaonMinusInelastic
private

Definition at line 64 of file G4PiKBuilder.hh.

◆ theKaonPlusInelastic

G4KaonPlusInelasticProcess* G4PiKBuilder::theKaonPlusInelastic
private

Definition at line 63 of file G4PiKBuilder.hh.

◆ theKaonZeroLInelastic

G4KaonZeroLInelasticProcess* G4PiKBuilder::theKaonZeroLInelastic
private

Definition at line 65 of file G4PiKBuilder.hh.

◆ theKaonZeroSInelastic

G4KaonZeroSInelasticProcess* G4PiKBuilder::theKaonZeroSInelastic
private

Definition at line 66 of file G4PiKBuilder.hh.

◆ theModelCollections

std::vector<G4VPiKBuilder *> G4PiKBuilder::theModelCollections
private

Definition at line 68 of file G4PiKBuilder.hh.

◆ thePionMinusInelastic

G4PionMinusInelasticProcess* G4PiKBuilder::thePionMinusInelastic
private

Definition at line 62 of file G4PiKBuilder.hh.

◆ thePionPlusInelastic

G4PionPlusInelasticProcess* G4PiKBuilder::thePionPlusInelastic
private

Definition at line 61 of file G4PiKBuilder.hh.

◆ wasActivated

G4bool G4PiKBuilder::wasActivated
private

Definition at line 70 of file G4PiKBuilder.hh.


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