#include <HadronPhysicsQGSP_BERT_WP.h>
Public Member Functions | |
virtual void | ConstructParticle () |
virtual void | ConstructProcess () |
HadronPhysicsQGSP_BERT_WP (const G4String &name="hadron", G4bool quasiElastic=true) | |
void | SetProjectileDiffraction (G4bool value) |
void | SetQuasiElastic (G4bool value) |
virtual | ~HadronPhysicsQGSP_BERT_WP () |
Private Member Functions | |
void | CreateModels () |
Private Attributes | |
G4bool | ProjectileDiffraction |
G4bool | QuasiElastic |
G4BertiniNeutronBuilder * | theBertiniNeutron |
G4BertiniPiKBuilder * | theBertiniPiK |
G4BertiniProtonBuilder * | theBertiniPro |
G4LEPNeutronBuilder * | theLEPNeutron |
G4LEPPiKBuilder * | theLEPPiK |
G4LEPProtonBuilder * | theLEPPro |
G4MiscLHEPBuilder_WP * | theMiscLHEP |
G4NeutronBuilder * | theNeutrons |
G4PiKBuilder_WP * | thePiK |
G4ProtonBuilder_WP * | thePro |
G4QGSPNeutronBuilder * | theQGSPNeutron |
G4QGSPPiKBuilder * | theQGSPPiK |
G4QGSPProtonBuilder * | theQGSPPro |
Definition at line 70 of file HadronPhysicsQGSP_BERT_WP.h.
HadronPhysicsQGSP_BERT_WP::HadronPhysicsQGSP_BERT_WP | ( | const G4String & | name = "hadron" , |
G4bool | quasiElastic = true |
||
) |
Definition at line 59 of file HadronPhysicsQGSP_BERT_WP.cc.
References ProjectileDiffraction.
: G4VPhysicsConstructor(name) , QuasiElastic(quasiElastic) { ProjectileDiffraction=false; }
HadronPhysicsQGSP_BERT_WP::~HadronPhysicsQGSP_BERT_WP | ( | ) | [virtual] |
Definition at line 98 of file HadronPhysicsQGSP_BERT_WP.cc.
References theBertiniNeutron, theBertiniPiK, theBertiniPro, theLEPNeutron, theLEPPiK, theLEPPro, theMiscLHEP, thePiK, thePro, theQGSPNeutron, theQGSPPiK, and theQGSPPro.
{ delete theMiscLHEP; delete theQGSPNeutron; delete theLEPNeutron; delete theBertiniNeutron; delete theQGSPPro; delete theLEPPro; delete thePro; delete theBertiniPro; delete theQGSPPiK; delete theLEPPiK; delete theBertiniPiK; delete thePiK; }
void HadronPhysicsQGSP_BERT_WP::ConstructParticle | ( | ) | [virtual] |
Definition at line 114 of file HadronPhysicsQGSP_BERT_WP.cc.
{ G4MesonConstructor pMesonConstructor; pMesonConstructor.ConstructParticle(); G4BaryonConstructor pBaryonConstructor; pBaryonConstructor.ConstructParticle(); G4ShortLivedConstructor pShortLivedConstructor; pShortLivedConstructor.ConstructParticle(); }
void HadronPhysicsQGSP_BERT_WP::ConstructProcess | ( | ) | [virtual] |
Definition at line 127 of file HadronPhysicsQGSP_BERT_WP.cc.
References G4MiscLHEPBuilder_WP::Build(), G4PiKBuilder_WP::Build(), G4ProtonBuilder_WP::Build(), CreateModels(), theMiscLHEP, theNeutrons, thePiK, and thePro.
{ CreateModels(); theNeutrons->Build(); thePro->Build(); thePiK->Build(); theMiscLHEP->Build(); }
void HadronPhysicsQGSP_BERT_WP::CreateModels | ( | ) | [private] |
Definition at line 65 of file HadronPhysicsQGSP_BERT_WP.cc.
References ProjectileDiffraction, QuasiElastic, G4PiKBuilder_WP::RegisterMe(), G4ProtonBuilder_WP::RegisterMe(), theBertiniNeutron, theBertiniPiK, theBertiniPro, theLEPNeutron, theLEPPiK, theLEPPro, theMiscLHEP, theNeutrons, thePiK, thePro, theQGSPNeutron, theQGSPPiK, and theQGSPPro.
Referenced by ConstructProcess().
{ theNeutrons=new G4NeutronBuilder; theNeutrons->RegisterMe(theQGSPNeutron=new G4QGSPNeutronBuilder(QuasiElastic, ProjectileDiffraction)); theNeutrons->RegisterMe(theLEPNeutron=new G4LEPNeutronBuilder); theLEPNeutron->SetMinInelasticEnergy(9.5*GeV); theLEPNeutron->SetMaxInelasticEnergy(25*GeV); theNeutrons->RegisterMe(theBertiniNeutron=new G4BertiniNeutronBuilder); theBertiniNeutron->SetMinEnergy(0.0*GeV); theBertiniNeutron->SetMaxEnergy(9.9*GeV); thePro=new G4ProtonBuilder_WP; thePro->RegisterMe(theQGSPPro=new G4QGSPProtonBuilder(QuasiElastic, ProjectileDiffraction)); thePro->RegisterMe(theLEPPro=new G4LEPProtonBuilder); theLEPPro->SetMinEnergy(9.5*GeV); theLEPPro->SetMaxEnergy(25*GeV); thePro->RegisterMe(theBertiniPro=new G4BertiniProtonBuilder); theBertiniPro->SetMaxEnergy(9.9*GeV); thePiK=new G4PiKBuilder_WP; thePiK->RegisterMe(theQGSPPiK=new G4QGSPPiKBuilder(QuasiElastic)); thePiK->RegisterMe(theLEPPiK=new G4LEPPiKBuilder); theLEPPiK->SetMaxEnergy(25*GeV); theLEPPiK->SetMinEnergy(9.5*GeV); thePiK->RegisterMe(theBertiniPiK=new G4BertiniPiKBuilder); theBertiniPiK->SetMaxEnergy(9.9*GeV); theMiscLHEP=new G4MiscLHEPBuilder_WP; }
void HadronPhysicsQGSP_BERT_WP::SetProjectileDiffraction | ( | G4bool | value | ) | [inline] |
Definition at line 81 of file HadronPhysicsQGSP_BERT_WP.h.
References ProjectileDiffraction, and relativeConstraints::value.
{ProjectileDiffraction = value;};
void HadronPhysicsQGSP_BERT_WP::SetQuasiElastic | ( | G4bool | value | ) | [inline] |
Definition at line 80 of file HadronPhysicsQGSP_BERT_WP.h.
References QuasiElastic, and relativeConstraints::value.
{QuasiElastic = value;};
G4bool HadronPhysicsQGSP_BERT_WP::ProjectileDiffraction [private] |
Definition at line 103 of file HadronPhysicsQGSP_BERT_WP.h.
Referenced by CreateModels(), HadronPhysicsQGSP_BERT_WP(), and SetProjectileDiffraction().
G4bool HadronPhysicsQGSP_BERT_WP::QuasiElastic [private] |
Definition at line 102 of file HadronPhysicsQGSP_BERT_WP.h.
Referenced by CreateModels(), and SetQuasiElastic().
G4BertiniNeutronBuilder* HadronPhysicsQGSP_BERT_WP::theBertiniNeutron [private] |
Definition at line 88 of file HadronPhysicsQGSP_BERT_WP.h.
Referenced by CreateModels(), and ~HadronPhysicsQGSP_BERT_WP().
G4BertiniPiKBuilder* HadronPhysicsQGSP_BERT_WP::theBertiniPiK [private] |
Definition at line 93 of file HadronPhysicsQGSP_BERT_WP.h.
Referenced by CreateModels(), and ~HadronPhysicsQGSP_BERT_WP().
G4BertiniProtonBuilder* HadronPhysicsQGSP_BERT_WP::theBertiniPro [private] |
Definition at line 98 of file HadronPhysicsQGSP_BERT_WP.h.
Referenced by CreateModels(), and ~HadronPhysicsQGSP_BERT_WP().
G4LEPNeutronBuilder* HadronPhysicsQGSP_BERT_WP::theLEPNeutron [private] |
Definition at line 86 of file HadronPhysicsQGSP_BERT_WP.h.
Referenced by CreateModels(), and ~HadronPhysicsQGSP_BERT_WP().
G4LEPPiKBuilder* HadronPhysicsQGSP_BERT_WP::theLEPPiK [private] |
Definition at line 91 of file HadronPhysicsQGSP_BERT_WP.h.
Referenced by CreateModels(), and ~HadronPhysicsQGSP_BERT_WP().
G4LEPProtonBuilder* HadronPhysicsQGSP_BERT_WP::theLEPPro [private] |
Definition at line 96 of file HadronPhysicsQGSP_BERT_WP.h.
Referenced by CreateModels(), and ~HadronPhysicsQGSP_BERT_WP().
Definition at line 100 of file HadronPhysicsQGSP_BERT_WP.h.
Referenced by ConstructProcess(), CreateModels(), and ~HadronPhysicsQGSP_BERT_WP().
G4NeutronBuilder* HadronPhysicsQGSP_BERT_WP::theNeutrons [private] |
Definition at line 85 of file HadronPhysicsQGSP_BERT_WP.h.
Referenced by ConstructProcess(), and CreateModels().
G4PiKBuilder_WP* HadronPhysicsQGSP_BERT_WP::thePiK [private] |
Definition at line 90 of file HadronPhysicsQGSP_BERT_WP.h.
Referenced by ConstructProcess(), CreateModels(), and ~HadronPhysicsQGSP_BERT_WP().
Definition at line 95 of file HadronPhysicsQGSP_BERT_WP.h.
Referenced by ConstructProcess(), CreateModels(), and ~HadronPhysicsQGSP_BERT_WP().
G4QGSPNeutronBuilder* HadronPhysicsQGSP_BERT_WP::theQGSPNeutron [private] |
Definition at line 87 of file HadronPhysicsQGSP_BERT_WP.h.
Referenced by CreateModels(), and ~HadronPhysicsQGSP_BERT_WP().
G4QGSPPiKBuilder* HadronPhysicsQGSP_BERT_WP::theQGSPPiK [private] |
Definition at line 92 of file HadronPhysicsQGSP_BERT_WP.h.
Referenced by CreateModels(), and ~HadronPhysicsQGSP_BERT_WP().
G4QGSPProtonBuilder* HadronPhysicsQGSP_BERT_WP::theQGSPPro [private] |
Definition at line 97 of file HadronPhysicsQGSP_BERT_WP.h.
Referenced by CreateModels(), and ~HadronPhysicsQGSP_BERT_WP().