#include <G4ChipsKaonBuilder.hh>
Public Member Functions | |
G4ChipsKaonBuilder (G4int verb=0) | |
~G4ChipsKaonBuilder () | |
void | Build () |
Definition at line 47 of file G4ChipsKaonBuilder.hh.
G4ChipsKaonBuilder::G4ChipsKaonBuilder | ( | G4int | verb = 0 |
) |
Definition at line 45 of file G4ChipsKaonBuilder.cc.
00046 : verb(ver) 00047 { 00048 theInelastic = new G4QInelastic(); 00049 }
G4ChipsKaonBuilder::~G4ChipsKaonBuilder | ( | ) |
void G4ChipsKaonBuilder::Build | ( | ) |
Definition at line 57 of file G4ChipsKaonBuilder.cc.
References G4cout, G4endl, G4KaonMinus::KaonMinus(), G4KaonPlus::KaonPlus(), G4KaonZeroLong::KaonZeroLong(), and G4KaonZeroShort::KaonZeroShort().
Referenced by HadronPhysicsQGSP_BERT_CHIPS::ConstructProcess().
00058 { 00059 static G4bool onceOnly(true); 00060 if ( onceOnly ) 00061 { 00062 if (verb > 0 ) 00063 {G4cout << "Info - G4ChipsKaonBuilder::Build() not adding elastic" << 00064 G4endl;} 00065 00066 attachProcess(G4KaonPlus::KaonPlus()); 00067 attachProcess(G4KaonMinus::KaonMinus()); 00068 attachProcess(G4KaonZeroShort::KaonZeroShort()); 00069 attachProcess(G4KaonZeroLong::KaonZeroLong()); 00070 onceOnly=false; 00071 } 00072 }