39 #include "G4HadronInelasticQBBC.hh" 74 #include "G4Evaporation.hh" 86 G4HadronInelasticQBBC::G4HadronInelasticQBBC(
G4int ver)
103 G4HadronInelasticQBBC::~G4HadronInelasticQBBC()
105 delete theAntiNuclXS; theAntiNuclXS=0;
106 delete theKaonXS; theKaonXS=0;
109 void G4HadronInelasticQBBC::ConstructProcess()
111 if(wasActivated)
return;
115 G4cout <<
"### HadronInelasticQBBC Construct Process with type <" 116 << htype <<
">" <<
G4endl;
138 BuildModel(
new G4FTFBuilder(
"FTFP",thePreCompound),0.0,emax);
157 auto myParticleIterator=GetParticleIterator();
158 myParticleIterator->reset();
159 while( (*myParticleIterator)() ) {
164 G4cout <<
"### HadronInelasticQBBC: " << pname <<
G4endl;
170 if(pname ==
"proton") {
179 }
else if(pname ==
"neutron") {
191 }
else if(pname ==
"pi-" || pname ==
"pi+") {
199 }
else if(pname ==
"kaon-" ) {
205 }
else if(pname ==
"kaon+" ) {
211 }
else if(pname ==
"kaon0S" ||
218 }
else if(pname ==
"lambda" ||
230 }
else if(pname ==
"anti_alpha" ||
231 pname ==
"anti_deuteron"||
232 pname ==
"anti_He3" ||
233 pname ==
"anti_proton" ||
234 pname ==
"anti_triton" ||
235 pname ==
"anti_lambda" ||
236 pname ==
"anti_neutron" ||
237 pname ==
"anti_omega-" ||
238 pname ==
"anti_sigma-" ||
239 pname ==
"anti_sigma+" ||
240 pname ==
"anti_xi-" ||
static const char * Default_Name()
G4_DECLARE_PHYSCONSTR_FACTORY(G4HadronInelasticQBBC)
void RegisterMe(G4HadronicInteraction *a)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
const G4String & GetParticleName() const
G4GLOB_DLL std::ostream G4cout
static const char * Default_Name()
static G4CrossSectionDataSetRegistry * Instance()
static const G4double emax
G4HadronicInteraction * FindModel(const G4String &name)
static const char * Default_Name()
static G4HadronicInteractionRegistry * Instance()