55 , theInProcessMixer(0)
56 , theNgProcessMixer(0)
57 , theFiProcessMixer(0)
58 , theNeutronInelastic(0)
59 , theNeutronFission(0)
60 , theNeutronCapture(0)
61 , theCHIPSInelastic(0)
75 delete theCHIPSInelastic;
76 delete theCHIPSNGamma;
78 delete theNeutronInelastic;
79 delete theNeutronCapture;
80 delete theNeutronFission;
82 delete theInProcessMixer;
83 delete theNgProcessMixer;
84 delete theFiProcessMixer;
90 if(wasActivated)
return;
98 if(pname ==
"kaon-" || pname ==
"kaon+" || pname ==
"kaon0S" || pname ==
"kaon0L" ||
100 pname ==
"pi-" || pname ==
"pi+" || pname ==
"proton" ||
101 pname ==
"lambda" || pname ==
"sigma+" || pname ==
"sigma0" ||
102 pname ==
"sigma-" || pname ==
"xi0" || pname ==
"xi-" || pname ==
"omega-" ||
103 pname ==
"anti_proton" || pname ==
"anti_neutron" || pname ==
"anti_lambda" ||
104 pname ==
"anti_sigma+" || pname ==
"anti_sigma0" || pname ==
"anti_sigma-" ||
105 pname ==
"anti_xi0" || pname ==
"anti_xi-" || pname ==
"anti_omega-" )
108 G4cout<<
"__G4QInelCHIPS_HPBuilder: "<< pname <<
" is defined here"<<
G4endl;
112 <<
" is added for "<<pname<<
G4endl;
114 else if(pname ==
"neutron")
117 G4cout<<
"__G4QInelCHIPS_HPBuilder: "<< pname <<
" is defined here"<<
G4endl;
121 G4cout<<
"G4QInelasticCHIPS_HPBuilder::Build: before NeutronBuild"<<
G4endl;
133 G4cout<<
"G4QInelasticCHIPS_HPBuilder::Build: before Build HP processes"<<
G4endl;
136 theHPNeutron->
Build(theNeutronInelastic);
137 theHPNeutron->
Build(theNeutronCapture);
138 theHPNeutron->
Build(theNeutronFission);
140 G4cout<<
"G4QInelasticCHIPS_HPBuilder::Build: before QIn="<<theCHIPSInelastic<<
G4endl;
144 G4cout<<
"G4QInelasticCHIPS_HPBuilder::Build: befr HPI="<<theNeutronInelastic<<
G4endl;
149 G4cout<<
"G4QInelasticCHIPS_HPBuilder::Build: before QNG="<<theCHIPSNGamma<<
G4endl;
153 G4cout<<
"G4QInelasticCHIPS_HPBuilder::Build: before HPC="<<theNeutronCapture<<
G4endl;
161 G4cout<<
"G4QInelasticCHIPS_HPBuilder::Build: before ProcessAdd"<<
G4endl;
166 <<
" is added for "<<pname<<
G4endl;
170 <<
" is added for "<<pname<<
G4endl;
175 <<
" is added for "<<pname<<
G4endl;
G4DLLIMPORT std::ostream G4cout
virtual void Build(G4HadronElasticProcess *aP)
G4ProcessManager * GetProcessManager() const
const G4String & GetParticleName() const
G4PTblDicIterator * GetIterator()
static G4ParticleTable * GetParticleTable()
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
void AddDiscreteProcess(G4VDiscreteProcess *DP, G4double MaxE)
G4ParticleTable * theParticleTable
virtual ~G4QInelasticCHIPS_HPBuilder()
G4QInelasticCHIPS_HPBuilder(G4int verbose)
G4ParticleTable::G4PTblDicIterator * theParticleIterator
const G4String & GetProcessName() const