CMS 3D CMS Logo

HadronPhysicsQGSP_WP Class Reference

#include <SimG4Core/GFlash/interface/HadronPhysicsQGSP_WP.h>

List of all members.

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 * theMiscLHEP
G4NeutronBuilder * theNeutrons
G4PiKBuilder_WPthePiK
G4ProtonBuilder * thePro
G4QGSPNeutronBuilder * theQGSPNeutron
G4QGSPPiKBuilder * theQGSPPiK
G4QGSPProtonBuilder * theQGSPPro


Detailed Description

Definition at line 65 of file HadronPhysicsQGSP_WP.h.


Constructor & Destructor Documentation

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

Definition at line 55 of file HadronPhysicsQGSP_WP.cc.

00056                  :  G4VPhysicsConstructor(name) , QuasiElastic(quasiElastic)
00057 {}

HadronPhysicsQGSP_WP::~HadronPhysicsQGSP_WP (  )  [virtual]

Definition at line 82 of file HadronPhysicsQGSP_WP.cc.

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

00083 {
00084    delete theMiscLHEP;
00085    delete theQGSPNeutron;
00086    delete theLEPNeutron;
00087    delete theQGSPPro;
00088    delete theLEPPro;
00089    delete thePro;
00090    delete theQGSPPiK;
00091    delete theLEPPiK;
00092    delete thePiK;
00093 }


Member Function Documentation

void HadronPhysicsQGSP_WP::ConstructParticle (  )  [virtual]

Definition at line 96 of file HadronPhysicsQGSP_WP.cc.

00097 {
00098   G4MesonConstructor pMesonConstructor;
00099   pMesonConstructor.ConstructParticle();
00100 
00101   G4BaryonConstructor pBaryonConstructor;
00102   pBaryonConstructor.ConstructParticle();
00103 
00104   G4ShortLivedConstructor pShortLivedConstructor;
00105   pShortLivedConstructor.ConstructParticle();  
00106 }

void HadronPhysicsQGSP_WP::ConstructProcess (  )  [virtual]

Definition at line 109 of file HadronPhysicsQGSP_WP.cc.

References G4PiKBuilder_WP::Build(), CreateModels(), theMiscLHEP, theNeutrons, thePiK, and thePro.

00110 {
00111   CreateModels();
00112   theNeutrons->Build();
00113   thePro->Build();
00114   thePiK->Build();
00115   theMiscLHEP->Build();
00116 }

void HadronPhysicsQGSP_WP::CreateModels (  )  [private]

Definition at line 59 of file HadronPhysicsQGSP_WP.cc.

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

Referenced by ConstructProcess().

00060 {
00061   theNeutrons=new G4NeutronBuilder;
00062   theQGSPNeutron=new G4QGSPNeutronBuilder(QuasiElastic);
00063   theNeutrons->RegisterMe(theQGSPNeutron);
00064   theNeutrons->RegisterMe(theLEPNeutron=new G4LEPNeutronBuilder);
00065   theLEPNeutron->SetMaxInelasticEnergy(25*GeV);  
00066 
00067   thePro=new G4ProtonBuilder;
00068   theQGSPPro=new G4QGSPProtonBuilder(QuasiElastic);
00069   thePro->RegisterMe(theQGSPPro);
00070   thePro->RegisterMe(theLEPPro=new G4LEPProtonBuilder);
00071   theLEPPro->SetMaxEnergy(25*GeV);
00072   
00073   thePiK=new G4PiKBuilder_WP;
00074   theQGSPPiK=new G4QGSPPiKBuilder(QuasiElastic);
00075   thePiK->RegisterMe(theQGSPPiK);
00076   thePiK->RegisterMe(theLEPPiK=new G4LEPPiKBuilder);
00077   theLEPPiK->SetMaxEnergy(25*GeV);
00078   
00079   theMiscLHEP=new G4MiscLHEPBuilder;
00080 }


Member Data Documentation

G4bool HadronPhysicsQGSP_WP::QuasiElastic [private]

Definition at line 91 of file HadronPhysicsQGSP_WP.h.

Referenced by CreateModels().

G4LEPNeutronBuilder* HadronPhysicsQGSP_WP::theLEPNeutron [private]

Definition at line 78 of file HadronPhysicsQGSP_WP.h.

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

G4LEPPiKBuilder* HadronPhysicsQGSP_WP::theLEPPiK [private]

Definition at line 82 of file HadronPhysicsQGSP_WP.h.

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

G4LEPProtonBuilder* HadronPhysicsQGSP_WP::theLEPPro [private]

Definition at line 86 of file HadronPhysicsQGSP_WP.h.

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

G4MiscLHEPBuilder* HadronPhysicsQGSP_WP::theMiscLHEP [private]

Definition at line 89 of file HadronPhysicsQGSP_WP.h.

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

G4NeutronBuilder* HadronPhysicsQGSP_WP::theNeutrons [private]

Definition at line 77 of file HadronPhysicsQGSP_WP.h.

Referenced by ConstructProcess(), and CreateModels().

G4PiKBuilder_WP* HadronPhysicsQGSP_WP::thePiK [private]

Definition at line 81 of file HadronPhysicsQGSP_WP.h.

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

G4ProtonBuilder* HadronPhysicsQGSP_WP::thePro [private]

Definition at line 85 of file HadronPhysicsQGSP_WP.h.

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

G4QGSPNeutronBuilder* HadronPhysicsQGSP_WP::theQGSPNeutron [private]

Definition at line 79 of file HadronPhysicsQGSP_WP.h.

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

G4QGSPPiKBuilder* HadronPhysicsQGSP_WP::theQGSPPiK [private]

Definition at line 83 of file HadronPhysicsQGSP_WP.h.

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

G4QGSPProtonBuilder* HadronPhysicsQGSP_WP::theQGSPPro [private]

Definition at line 87 of file HadronPhysicsQGSP_WP.h.

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


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:23:26 2009 for CMSSW by  doxygen 1.5.4