#include <HadronPhysicsQGSP_WP.h>
Public Member Functions | |
virtual void | ConstructParticle () |
virtual void | ConstructProcess () |
HadronPhysicsQGSP_WP (const G4String &name="hadron", G4bool quasiElastic=true) | |
virtual | ~HadronPhysicsQGSP_WP () |
Private Member Functions | |
void | CreateModels () |
Private Attributes | |
G4bool | QuasiElastic |
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 67 of file HadronPhysicsQGSP_WP.h.
HadronPhysicsQGSP_WP::HadronPhysicsQGSP_WP | ( | const G4String & | name = "hadron" , |
G4bool | quasiElastic = true |
||
) |
Definition at line 57 of file HadronPhysicsQGSP_WP.cc.
: G4VPhysicsConstructor(name) , QuasiElastic(quasiElastic) {}
HadronPhysicsQGSP_WP::~HadronPhysicsQGSP_WP | ( | ) | [virtual] |
Definition at line 84 of file HadronPhysicsQGSP_WP.cc.
References theLEPNeutron, theLEPPiK, theLEPPro, theMiscLHEP, thePiK, thePro, theQGSPNeutron, theQGSPPiK, and theQGSPPro.
{ delete theMiscLHEP; delete theQGSPNeutron; delete theLEPNeutron; delete theQGSPPro; delete theLEPPro; delete thePro; delete theQGSPPiK; delete theLEPPiK; delete thePiK; }
void HadronPhysicsQGSP_WP::ConstructParticle | ( | ) | [virtual] |
Definition at line 98 of file HadronPhysicsQGSP_WP.cc.
{ G4MesonConstructor pMesonConstructor; pMesonConstructor.ConstructParticle(); G4BaryonConstructor pBaryonConstructor; pBaryonConstructor.ConstructParticle(); G4ShortLivedConstructor pShortLivedConstructor; pShortLivedConstructor.ConstructParticle(); }
void HadronPhysicsQGSP_WP::ConstructProcess | ( | ) | [virtual] |
Definition at line 111 of file HadronPhysicsQGSP_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_WP::CreateModels | ( | ) | [private] |
Definition at line 61 of file HadronPhysicsQGSP_WP.cc.
References QuasiElastic, G4PiKBuilder_WP::RegisterMe(), G4ProtonBuilder_WP::RegisterMe(), theLEPNeutron, theLEPPiK, theLEPPro, theMiscLHEP, theNeutrons, thePiK, thePro, theQGSPNeutron, theQGSPPiK, and theQGSPPro.
Referenced by ConstructProcess().
{ theNeutrons=new G4NeutronBuilder; theQGSPNeutron=new G4QGSPNeutronBuilder(QuasiElastic); theNeutrons->RegisterMe(theQGSPNeutron); theNeutrons->RegisterMe(theLEPNeutron=new G4LEPNeutronBuilder); theLEPNeutron->SetMaxInelasticEnergy(25*GeV); thePro=new G4ProtonBuilder_WP; theQGSPPro=new G4QGSPProtonBuilder(QuasiElastic); thePro->RegisterMe(theQGSPPro); thePro->RegisterMe(theLEPPro=new G4LEPProtonBuilder); theLEPPro->SetMaxEnergy(25*GeV); thePiK=new G4PiKBuilder_WP; theQGSPPiK=new G4QGSPPiKBuilder(QuasiElastic); thePiK->RegisterMe(theQGSPPiK); thePiK->RegisterMe(theLEPPiK=new G4LEPPiKBuilder); theLEPPiK->SetMaxEnergy(25*GeV); theMiscLHEP=new G4MiscLHEPBuilder_WP; }
G4bool HadronPhysicsQGSP_WP::QuasiElastic [private] |
Definition at line 93 of file HadronPhysicsQGSP_WP.h.
Referenced by CreateModels().
G4LEPNeutronBuilder* HadronPhysicsQGSP_WP::theLEPNeutron [private] |
Definition at line 80 of file HadronPhysicsQGSP_WP.h.
Referenced by CreateModels(), and ~HadronPhysicsQGSP_WP().
G4LEPPiKBuilder* HadronPhysicsQGSP_WP::theLEPPiK [private] |
Definition at line 84 of file HadronPhysicsQGSP_WP.h.
Referenced by CreateModels(), and ~HadronPhysicsQGSP_WP().
G4LEPProtonBuilder* HadronPhysicsQGSP_WP::theLEPPro [private] |
Definition at line 88 of file HadronPhysicsQGSP_WP.h.
Referenced by CreateModels(), and ~HadronPhysicsQGSP_WP().
Definition at line 91 of file HadronPhysicsQGSP_WP.h.
Referenced by ConstructProcess(), CreateModels(), and ~HadronPhysicsQGSP_WP().
G4NeutronBuilder* HadronPhysicsQGSP_WP::theNeutrons [private] |
Definition at line 79 of file HadronPhysicsQGSP_WP.h.
Referenced by ConstructProcess(), and CreateModels().
G4PiKBuilder_WP* HadronPhysicsQGSP_WP::thePiK [private] |
Definition at line 83 of file HadronPhysicsQGSP_WP.h.
Referenced by ConstructProcess(), CreateModels(), and ~HadronPhysicsQGSP_WP().
G4ProtonBuilder_WP* HadronPhysicsQGSP_WP::thePro [private] |
Definition at line 87 of file HadronPhysicsQGSP_WP.h.
Referenced by ConstructProcess(), CreateModels(), and ~HadronPhysicsQGSP_WP().
G4QGSPNeutronBuilder* HadronPhysicsQGSP_WP::theQGSPNeutron [private] |
Definition at line 81 of file HadronPhysicsQGSP_WP.h.
Referenced by CreateModels(), and ~HadronPhysicsQGSP_WP().
G4QGSPPiKBuilder* HadronPhysicsQGSP_WP::theQGSPPiK [private] |
Definition at line 85 of file HadronPhysicsQGSP_WP.h.
Referenced by CreateModels(), and ~HadronPhysicsQGSP_WP().
G4QGSPProtonBuilder* HadronPhysicsQGSP_WP::theQGSPPro [private] |
Definition at line 89 of file HadronPhysicsQGSP_WP.h.
Referenced by CreateModels(), and ~HadronPhysicsQGSP_WP().