CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
HadronPhysicsQGSP_WP Class Reference

#include <HadronPhysicsQGSP_WP.h>

Inheritance diagram for HadronPhysicsQGSP_WP:

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_WPtheMiscLHEP
 
G4NeutronBuilder * theNeutrons
 
G4PiKBuilder_WPthePiK
 
G4ProtonBuilder_WPthePro
 
G4QGSPNeutronBuilder * theQGSPNeutron
 
G4QGSPPiKBuilder * theQGSPPiK
 
G4QGSPProtonBuilder * theQGSPPro
 

Detailed Description

Definition at line 66 of file HadronPhysicsQGSP_WP.h.

Constructor & Destructor Documentation

HadronPhysicsQGSP_WP::HadronPhysicsQGSP_WP ( const G4String &  name = "hadron",
G4bool  quasiElastic = true 
)

Definition at line 56 of file HadronPhysicsQGSP_WP.cc.

57  : G4VPhysicsConstructor(name) , QuasiElastic(quasiElastic)
58 {}
HadronPhysicsQGSP_WP::~HadronPhysicsQGSP_WP ( )
virtual

Definition at line 83 of file HadronPhysicsQGSP_WP.cc.

References theLEPNeutron, theLEPPiK, theLEPPro, theMiscLHEP, thePiK, thePro, theQGSPNeutron, theQGSPPiK, and theQGSPPro.

84 {
85  delete theMiscLHEP;
86  delete theQGSPNeutron;
87  delete theLEPNeutron;
88  delete theQGSPPro;
89  delete theLEPPro;
90  delete thePro;
91  delete theQGSPPiK;
92  delete theLEPPiK;
93  delete thePiK;
94 }
G4QGSPProtonBuilder * theQGSPPro
G4LEPPiKBuilder * theLEPPiK
G4PiKBuilder_WP * thePiK
G4LEPNeutronBuilder * theLEPNeutron
G4QGSPNeutronBuilder * theQGSPNeutron
G4ProtonBuilder_WP * thePro
G4LEPProtonBuilder * theLEPPro
G4MiscLHEPBuilder_WP * theMiscLHEP
G4QGSPPiKBuilder * theQGSPPiK

Member Function Documentation

void HadronPhysicsQGSP_WP::ConstructParticle ( )
virtual

Definition at line 97 of file HadronPhysicsQGSP_WP.cc.

98 {
99  G4MesonConstructor pMesonConstructor;
100  pMesonConstructor.ConstructParticle();
101 
102  G4BaryonConstructor pBaryonConstructor;
103  pBaryonConstructor.ConstructParticle();
104 
105  G4ShortLivedConstructor pShortLivedConstructor;
106  pShortLivedConstructor.ConstructParticle();
107 }
void HadronPhysicsQGSP_WP::ConstructProcess ( )
virtual
void HadronPhysicsQGSP_WP::CreateModels ( )
private

Definition at line 60 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().

61 {
62  theNeutrons=new G4NeutronBuilder;
63  theQGSPNeutron=new G4QGSPNeutronBuilder(QuasiElastic);
64  theNeutrons->RegisterMe(theQGSPNeutron);
65  theNeutrons->RegisterMe(theLEPNeutron=new G4LEPNeutronBuilder);
66  theLEPNeutron->SetMaxInelasticEnergy(25*GeV);
67 
69  theQGSPPro=new G4QGSPProtonBuilder(QuasiElastic);
71  thePro->RegisterMe(theLEPPro=new G4LEPProtonBuilder);
72  theLEPPro->SetMaxEnergy(25*GeV);
73 
75  theQGSPPiK=new G4QGSPPiKBuilder(QuasiElastic);
77  thePiK->RegisterMe(theLEPPiK=new G4LEPPiKBuilder);
78  theLEPPiK->SetMaxEnergy(25*GeV);
79 
81 }
G4QGSPProtonBuilder * theQGSPPro
G4LEPPiKBuilder * theLEPPiK
G4PiKBuilder_WP * thePiK
G4LEPNeutronBuilder * theLEPNeutron
void RegisterMe(G4VPiKBuilder *aB)
G4QGSPNeutronBuilder * theQGSPNeutron
G4ProtonBuilder_WP * thePro
G4LEPProtonBuilder * theLEPPro
G4MiscLHEPBuilder_WP * theMiscLHEP
G4NeutronBuilder * theNeutrons
void RegisterMe(G4VProtonBuilder *aB)
G4QGSPPiKBuilder * theQGSPPiK

Member Data Documentation

G4bool HadronPhysicsQGSP_WP::QuasiElastic
private

Definition at line 92 of file HadronPhysicsQGSP_WP.h.

Referenced by CreateModels().

G4LEPNeutronBuilder* HadronPhysicsQGSP_WP::theLEPNeutron
private

Definition at line 79 of file HadronPhysicsQGSP_WP.h.

Referenced by CreateModels(), and ~HadronPhysicsQGSP_WP().

G4LEPPiKBuilder* HadronPhysicsQGSP_WP::theLEPPiK
private

Definition at line 83 of file HadronPhysicsQGSP_WP.h.

Referenced by CreateModels(), and ~HadronPhysicsQGSP_WP().

G4LEPProtonBuilder* HadronPhysicsQGSP_WP::theLEPPro
private

Definition at line 87 of file HadronPhysicsQGSP_WP.h.

Referenced by CreateModels(), and ~HadronPhysicsQGSP_WP().

G4MiscLHEPBuilder_WP* HadronPhysicsQGSP_WP::theMiscLHEP
private

Definition at line 90 of file HadronPhysicsQGSP_WP.h.

Referenced by ConstructProcess(), CreateModels(), and ~HadronPhysicsQGSP_WP().

G4NeutronBuilder* HadronPhysicsQGSP_WP::theNeutrons
private

Definition at line 78 of file HadronPhysicsQGSP_WP.h.

Referenced by ConstructProcess(), and CreateModels().

G4PiKBuilder_WP* HadronPhysicsQGSP_WP::thePiK
private

Definition at line 82 of file HadronPhysicsQGSP_WP.h.

Referenced by ConstructProcess(), CreateModels(), and ~HadronPhysicsQGSP_WP().

G4ProtonBuilder_WP* HadronPhysicsQGSP_WP::thePro
private

Definition at line 86 of file HadronPhysicsQGSP_WP.h.

Referenced by ConstructProcess(), CreateModels(), and ~HadronPhysicsQGSP_WP().

G4QGSPNeutronBuilder* HadronPhysicsQGSP_WP::theQGSPNeutron
private

Definition at line 80 of file HadronPhysicsQGSP_WP.h.

Referenced by CreateModels(), and ~HadronPhysicsQGSP_WP().

G4QGSPPiKBuilder* HadronPhysicsQGSP_WP::theQGSPPiK
private

Definition at line 84 of file HadronPhysicsQGSP_WP.h.

Referenced by CreateModels(), and ~HadronPhysicsQGSP_WP().

G4QGSPProtonBuilder* HadronPhysicsQGSP_WP::theQGSPPro
private

Definition at line 88 of file HadronPhysicsQGSP_WP.h.

Referenced by CreateModels(), and ~HadronPhysicsQGSP_WP().