#include <HadronPhysicsShielding.hh>
Inheritance diagram for HadronPhysicsShielding:
Public Member Functions | |
HadronPhysicsShielding (G4int verbose=1) | |
HadronPhysicsShielding (const G4String &name, G4bool quasiElastic=false) | |
virtual | ~HadronPhysicsShielding () |
virtual void | ConstructParticle () |
virtual void | ConstructProcess () |
void | UseLEND (G4String ss="") |
void | UnuseLEND () |
Definition at line 62 of file HadronPhysicsShielding.hh.
HadronPhysicsShielding::HadronPhysicsShielding | ( | G4int | verbose = 1 |
) |
Definition at line 69 of file HadronPhysicsShielding.cc.
00070 : G4VPhysicsConstructor("hInelastic Shielding") 00071 , theNeutrons(0) 00072 , theLENeutron(0) 00073 , theBertiniNeutron(0) 00074 , theFTFPNeutron(0) 00075 , theLEPNeutron(0) 00076 , thePiK(0) 00077 , theBertiniPiK(0) 00078 , theFTFPPiK(0) 00079 , thePro(0) 00080 , theBertiniPro(0) 00081 , theFTFPPro(0) 00082 , theMiscCHIPS(0) 00083 , QuasiElastic(false) 00084 , theCHIPSInelastic(0) 00085 , BGGxsNeutron(0) 00086 , NeutronHPJENDLHEInelastic(0) 00087 , BGGxsProton(0) 00088 , useLEND(false) 00089 , evaluation() 00090 {}
HadronPhysicsShielding::HadronPhysicsShielding | ( | const G4String & | name, | |
G4bool | quasiElastic = false | |||
) |
Definition at line 92 of file HadronPhysicsShielding.cc.
00093 : G4VPhysicsConstructor(name) 00094 , theNeutrons(0) 00095 , theLENeutron(0) 00096 , theBertiniNeutron(0) 00097 , theFTFPNeutron(0) 00098 , theLEPNeutron(0) 00099 , thePiK(0) 00100 , theBertiniPiK(0) 00101 , theFTFPPiK(0) 00102 , thePro(0) 00103 , theBertiniPro(0) 00104 , theFTFPPro(0) 00105 , theMiscCHIPS(0) 00106 , QuasiElastic(quasiElastic) 00107 , theCHIPSInelastic(0) 00108 , BGGxsNeutron(0) 00109 , NeutronHPJENDLHEInelastic(0) 00110 , BGGxsProton(0) 00111 , useLEND(false) 00112 , evaluation() 00113 {}
HadronPhysicsShielding::~HadronPhysicsShielding | ( | ) | [virtual] |
Definition at line 153 of file HadronPhysicsShielding.cc.
00154 { 00155 delete theNeutrons; 00156 delete theBertiniNeutron; 00157 delete theFTFPNeutron; 00158 //delete theHPNeutron; 00159 delete theLENeutron; 00160 00161 delete thePiK; 00162 delete theBertiniPiK; 00163 delete theFTFPPiK; 00164 00165 delete thePro; 00166 delete theBertiniPro; 00167 delete theFTFPPro; 00168 00169 delete theMiscCHIPS; 00170 delete theCHIPSInelastic; 00171 delete BGGxsNeutron; 00172 delete NeutronHPJENDLHEInelastic; 00173 delete BGGxsProton; 00174 }
void HadronPhysicsShielding::ConstructParticle | ( | ) | [virtual] |
Implements G4VPhysicsConstructor.
Definition at line 176 of file HadronPhysicsShielding.cc.
References G4ShortLivedConstructor::ConstructParticle(), G4BaryonConstructor::ConstructParticle(), and G4MesonConstructor::ConstructParticle().
00177 { 00178 G4MesonConstructor pMesonConstructor; 00179 pMesonConstructor.ConstructParticle(); 00180 00181 G4BaryonConstructor pBaryonConstructor; 00182 pBaryonConstructor.ConstructParticle(); 00183 00184 G4ShortLivedConstructor pShortLivedConstructor; 00185 pShortLivedConstructor.ConstructParticle(); 00186 }
void HadronPhysicsShielding::ConstructProcess | ( | ) | [virtual] |
Implements G4VPhysicsConstructor.
Definition at line 189 of file HadronPhysicsShielding.cc.
References G4HadronicProcess::AddDataSet(), G4MiscCHIPSBuilder::Build(), G4PiKBuilder::Build(), G4NeutronBuilder::Build(), G4ProtonBuilder::Build(), G4ChipsKaonZeroInelasticXS::Default_Name(), G4ChipsKaonPlusInelasticXS::Default_Name(), G4ChipsKaonMinusInelasticXS::Default_Name(), G4PhysListUtil::FindInelasticProcess(), G4CrossSectionDataSetRegistry::GetCrossSectionDataSet(), G4CrossSectionDataSetRegistry::Instance(), G4KaonMinus::KaonMinus(), G4KaonPlus::KaonPlus(), G4KaonZeroLong::KaonZeroLong(), G4KaonZeroShort::KaonZeroShort(), and G4Neutron::Neutron().
00190 { 00191 CreateModels(); 00192 00193 //BGGxsNeutron=new G4BGGNucleonInelasticXS(G4Neutron::Neutron()); 00194 thePro->Build(); 00195 theNeutrons->Build(); 00196 00197 // BGGxsNeutron=new G4NeutronHPBGGNucleonInelasticXS(G4Neutron::Neutron()); 00198 // FindInelasticProcess(G4Neutron::Neutron())->AddDataSet(BGGxsNeutron); 00199 // 00200 00201 G4PhysListUtil::FindInelasticProcess(G4Neutron::Neutron())->AddDataSet(new G4BGGNucleonInelasticXS(G4Neutron::Neutron())); 00202 NeutronHPJENDLHEInelastic=new G4NeutronHPJENDLHEInelasticData; 00203 G4PhysListUtil::FindInelasticProcess(G4Neutron::Neutron())->AddDataSet(NeutronHPJENDLHEInelastic); 00204 G4PhysListUtil::FindInelasticProcess(G4Neutron::Neutron())->AddDataSet(new G4NeutronHPInelasticData); 00205 00206 // BGGxsProton=new G4BGGNucleonInelasticXS(G4Proton::Proton()); 00207 // G4PhysListUtil::FindInelasticProcess(G4Proton::Proton())->AddDataSet(BGGxsProton); 00208 00209 thePiK->Build(); 00210 // use CHIPS cross sections also for Kaons 00211 00212 G4CrossSectionDataSetRegistry* registry = G4CrossSectionDataSetRegistry::Instance(); 00213 00214 G4PhysListUtil::FindInelasticProcess(G4KaonMinus::KaonMinus())->AddDataSet(registry->GetCrossSectionDataSet(G4ChipsKaonMinusInelasticXS::Default_Name())); 00215 G4PhysListUtil::FindInelasticProcess(G4KaonPlus::KaonPlus())->AddDataSet(registry->GetCrossSectionDataSet(G4ChipsKaonPlusInelasticXS::Default_Name())); 00216 G4PhysListUtil::FindInelasticProcess(G4KaonZeroShort::KaonZeroShort())->AddDataSet(registry->GetCrossSectionDataSet(G4ChipsKaonZeroInelasticXS::Default_Name())); 00217 G4PhysListUtil::FindInelasticProcess(G4KaonZeroLong::KaonZeroLong())->AddDataSet(registry->GetCrossSectionDataSet(G4ChipsKaonZeroInelasticXS::Default_Name())); 00218 00219 theMiscCHIPS->Build(); 00220 }
void HadronPhysicsShielding::UnuseLEND | ( | ) | [inline] |
void HadronPhysicsShielding::UseLEND | ( | G4String | ss = "" |
) | [inline] |
Definition at line 73 of file HadronPhysicsShielding.hh.
Referenced by TShielding< T >::TShielding().