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

#include <G4ChipsKaonBuilder.hh>

Public Member Functions

 G4ChipsKaonBuilder (G4int verb=0)
 
 ~G4ChipsKaonBuilder ()
 
void Build ()
 

Detailed Description

Definition at line 47 of file G4ChipsKaonBuilder.hh.

Constructor & Destructor Documentation

◆ G4ChipsKaonBuilder()

G4ChipsKaonBuilder::G4ChipsKaonBuilder ( G4int  verb = 0)

Definition at line 45 of file G4ChipsKaonBuilder.cc.

46 : verb(ver)
47{
48 theInelastic = new G4QInelastic();
49}

◆ ~G4ChipsKaonBuilder()

G4ChipsKaonBuilder::~G4ChipsKaonBuilder ( )

Definition at line 51 of file G4ChipsKaonBuilder.cc.

53{
54 delete theInelastic;
55}

Member Function Documentation

◆ Build()

void G4ChipsKaonBuilder::Build ( )

Definition at line 57 of file G4ChipsKaonBuilder.cc.

58{
59 static G4bool onceOnly(true);
60 if ( onceOnly )
61 {
62 if (verb > 0 )
63 {G4cout << "Info - G4ChipsKaonBuilder::Build() not adding elastic" <<
64 G4endl;}
65
66 attachProcess(G4KaonPlus::KaonPlus());
67 attachProcess(G4KaonMinus::KaonMinus());
68 attachProcess(G4KaonZeroShort::KaonZeroShort());
69 attachProcess(G4KaonZeroLong::KaonZeroLong());
70 onceOnly=false;
71 }
72}
bool G4bool
Definition: G4Types.hh:67
#define G4endl
Definition: G4ios.hh:52
G4DLLIMPORT std::ostream G4cout
static G4KaonMinus * KaonMinus()
Definition: G4KaonMinus.cc:113
static G4KaonPlus * KaonPlus()
Definition: G4KaonPlus.cc:113
static G4KaonZeroLong * KaonZeroLong()
static G4KaonZeroShort * KaonZeroShort()

Referenced by HadronPhysicsQGSP_BERT_CHIPS::ConstructProcess().


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