Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4PiKBuilder Class Reference

#include <G4PiKBuilder.hh>

Public Member Functions

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

Detailed Description

Definition at line 50 of file G4PiKBuilder.hh.

Constructor & Destructor Documentation

◆ G4PiKBuilder()

G4PiKBuilder::G4PiKBuilder ( )

◆ ~G4PiKBuilder()

G4PiKBuilder::~G4PiKBuilder ( )
virtual

Definition at line 56 of file G4PiKBuilder.cc.

57 {
58 delete thePionPlusInelastic;
59 delete thePionMinusInelastic;
60 delete theKaonPlusInelastic;
61 delete theKaonMinusInelastic;
62 delete theKaonZeroLInelastic;
63 delete theKaonZeroSInelastic;
64}

Member Function Documentation

◆ Build()

void G4PiKBuilder::Build ( )

Definition at line 66 of file G4PiKBuilder.cc.

68{
69 wasActivated = true;
70
71 std::vector<G4VPiKBuilder *>::iterator i;
72 for(i=theModelCollections.begin(); i!=theModelCollections.end(); i++)
73 {
74 (*i)->Build(thePionPlusInelastic);
75 (*i)->Build(thePionMinusInelastic);
76 (*i)->Build(theKaonPlusInelastic);
77 (*i)->Build(theKaonMinusInelastic);
78 (*i)->Build(theKaonZeroLInelastic);
79 (*i)->Build(theKaonZeroSInelastic);
80 }
81 G4ProcessManager * theProcMan;
83 theProcMan->AddDiscreteProcess(thePionPlusInelastic);
84
86 theProcMan->AddDiscreteProcess(thePionMinusInelastic);
87
89 theProcMan->AddDiscreteProcess(theKaonPlusInelastic);
90
92 theProcMan->AddDiscreteProcess(theKaonMinusInelastic);
93
95 theProcMan->AddDiscreteProcess(theKaonZeroLInelastic);
96
98 theProcMan->AddDiscreteProcess(theKaonZeroSInelastic);
99}
static G4KaonMinus * KaonMinus()
Definition: G4KaonMinus.cc:113
static G4KaonPlus * KaonPlus()
Definition: G4KaonPlus.cc:113
static G4KaonZeroLong * KaonZeroLong()
static G4KaonZeroShort * KaonZeroShort()
G4ProcessManager * GetProcessManager() const
static G4PionMinus * PionMinus()
Definition: G4PionMinus.cc:98
static G4PionPlus * PionPlus()
Definition: G4PionPlus.cc:98
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)

Referenced by HadronPhysicsFTFP_BERT::ConstructProcess(), HadronPhysicsFTFP_BERT_HP::ConstructProcess(), HadronPhysicsFTFP_BERT_TRV::ConstructProcess(), HadronPhysicsLHEP::ConstructProcess(), HadronPhysicsLHEP_EMV::ConstructProcess(), HadronPhysicsQGS_BIC::ConstructProcess(), HadronPhysicsQGSC_BERT::ConstructProcess(), HadronPhysicsQGSC_CHIPS::ConstructProcess(), HadronPhysicsQGSP::ConstructProcess(), HadronPhysicsQGSP_BERT::ConstructProcess(), HadronPhysicsQGSP_BERT_95::ConstructProcess(), HadronPhysicsQGSP_BERT_HP::ConstructProcess(), HadronPhysicsQGSP_BERT_NOLEP::ConstructProcess(), HadronPhysicsQGSP_BERT_TRV::ConstructProcess(), HadronPhysicsQGSP_BIC::ConstructProcess(), HadronPhysicsQGSP_BIC_HP::ConstructProcess(), HadronPhysicsQGSP_FTFP_BERT::ConstructProcess(), HadronPhysicsQGSP_FTFP_BERT_95::ConstructProcess(), HadronPhysicsQGSP_INCLXX::ConstructProcess(), and HadronPhysicsShielding::ConstructProcess().

◆ RegisterMe()

void G4PiKBuilder::RegisterMe ( G4VPiKBuilder aB)
inline

Definition at line 58 of file G4PiKBuilder.hh.

58{theModelCollections.push_back(aB);}

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