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
 
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 57 of file HadronPhysicsQGSP_WP.cc.

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

Definition at line 84 of file HadronPhysicsQGSP_WP.cc.

References theMiscLHEP, thePiK, thePro, theQGSPNeutron, theQGSPPiK, and theQGSPPro.

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

Member Function Documentation

void HadronPhysicsQGSP_WP::ConstructParticle ( )
virtual

Definition at line 98 of file HadronPhysicsQGSP_WP.cc.

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

Definition at line 61 of file HadronPhysicsQGSP_WP.cc.

References QuasiElastic, G4PiKBuilder_WP::RegisterMe(), G4ProtonBuilder_WP::RegisterMe(), theMiscLHEP, theNeutrons, thePiK, thePro, theQGSPNeutron, theQGSPPiK, and theQGSPPro.

Referenced by ConstructProcess().

62 {
63  theNeutrons=new G4NeutronBuilder;
64  theQGSPNeutron=new G4QGSPNeutronBuilder(QuasiElastic);
65  theNeutrons->RegisterMe(theQGSPNeutron);
66  // theNeutrons->RegisterMe(theLEPNeutron=new G4LEPNeutronBuilder);
67  // theLEPNeutron->SetMaxInelasticEnergy(25*GeV);
68 
70  theQGSPPro=new G4QGSPProtonBuilder(QuasiElastic);
72  // thePro->RegisterMe(theLEPPro=new G4LEPProtonBuilder);
73  // theLEPPro->SetMaxEnergy(25*GeV);
74 
76  theQGSPPiK=new G4QGSPPiKBuilder(QuasiElastic);
78  // thePiK->RegisterMe(theLEPPiK=new G4LEPPiKBuilder);
79  // theLEPPiK->SetMaxEnergy(25*GeV);
80 
82 }
G4QGSPProtonBuilder * theQGSPPro
G4PiKBuilder_WP * thePiK
void RegisterMe(G4VPiKBuilder *aB)
G4QGSPNeutronBuilder * theQGSPNeutron
G4ProtonBuilder_WP * thePro
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().

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().