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_BERT_WP Class Reference

#include <HadronPhysicsQGSP_BERT_WP.h>

Inheritance diagram for HadronPhysicsQGSP_BERT_WP:

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

Detailed Description

Definition at line 70 of file HadronPhysicsQGSP_BERT_WP.h.

Constructor & Destructor Documentation

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.

60  : G4VPhysicsConstructor(name) , QuasiElastic(quasiElastic)
61 {
63 }
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.

99 {
100  delete theMiscLHEP;
101  delete theQGSPNeutron;
102  delete theLEPNeutron;
103  delete theBertiniNeutron;
104  delete theQGSPPro;
105  delete theLEPPro;
106  delete thePro;
107  delete theBertiniPro;
108  delete theQGSPPiK;
109  delete theLEPPiK;
110  delete theBertiniPiK;
111  delete thePiK;
112 }
G4LEPNeutronBuilder * theLEPNeutron
G4BertiniProtonBuilder * theBertiniPro
G4MiscLHEPBuilder_WP * theMiscLHEP
G4BertiniPiKBuilder * theBertiniPiK
G4BertiniNeutronBuilder * theBertiniNeutron
G4QGSPNeutronBuilder * theQGSPNeutron

Member Function Documentation

void HadronPhysicsQGSP_BERT_WP::ConstructParticle ( )
virtual

Definition at line 114 of file HadronPhysicsQGSP_BERT_WP.cc.

115 {
116  G4MesonConstructor pMesonConstructor;
117  pMesonConstructor.ConstructParticle();
118 
119  G4BaryonConstructor pBaryonConstructor;
120  pBaryonConstructor.ConstructParticle();
121 
122  G4ShortLivedConstructor pShortLivedConstructor;
123  pShortLivedConstructor.ConstructParticle();
124 }
void HadronPhysicsQGSP_BERT_WP::ConstructProcess ( )
virtual
void HadronPhysicsQGSP_BERT_WP::CreateModels ( )
private

Definition at line 65 of file HadronPhysicsQGSP_BERT_WP.cc.

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

Referenced by ConstructProcess().

66 {
67  theNeutrons=new G4NeutronBuilder;
68  theNeutrons->RegisterMe(theQGSPNeutron=new G4QGSPNeutronBuilder(QuasiElastic, ProjectileDiffraction));
69  theNeutrons->RegisterMe(theLEPNeutron=new G4LEPNeutronBuilder);
70  theLEPNeutron->SetMinInelasticEnergy(9.5*GeV);
71  theLEPNeutron->SetMaxInelasticEnergy(25*GeV);
72 
73  theNeutrons->RegisterMe(theBertiniNeutron=new G4BertiniNeutronBuilder);
74  theBertiniNeutron->SetMinEnergy(0.0*GeV);
75  theBertiniNeutron->SetMaxEnergy(9.9*GeV);
76 
79  thePro->RegisterMe(theLEPPro=new G4LEPProtonBuilder);
80  theLEPPro->SetMinEnergy(9.5*GeV);
81  theLEPPro->SetMaxEnergy(25*GeV);
82 
83  thePro->RegisterMe(theBertiniPro=new G4BertiniProtonBuilder);
84  theBertiniPro->SetMaxEnergy(9.9*GeV);
85 
87  thePiK->RegisterMe(theQGSPPiK=new G4QGSPPiKBuilder(QuasiElastic));
88  thePiK->RegisterMe(theLEPPiK=new G4LEPPiKBuilder);
89  theLEPPiK->SetMaxEnergy(25*GeV);
90  theLEPPiK->SetMinEnergy(9.5*GeV);
91 
92  thePiK->RegisterMe(theBertiniPiK=new G4BertiniPiKBuilder);
93  theBertiniPiK->SetMaxEnergy(9.9*GeV);
94 
96 }
G4LEPNeutronBuilder * theLEPNeutron
G4BertiniProtonBuilder * theBertiniPro
G4MiscLHEPBuilder_WP * theMiscLHEP
G4BertiniPiKBuilder * theBertiniPiK
void RegisterMe(G4VPiKBuilder *aB)
G4BertiniNeutronBuilder * theBertiniNeutron
void RegisterMe(G4VProtonBuilder *aB)
G4QGSPNeutronBuilder * theQGSPNeutron
void HadronPhysicsQGSP_BERT_WP::SetProjectileDiffraction ( G4bool  value)
inline
void HadronPhysicsQGSP_BERT_WP::SetQuasiElastic ( G4bool  value)
inline

Member Data Documentation

G4bool HadronPhysicsQGSP_BERT_WP::ProjectileDiffraction
private
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().

G4MiscLHEPBuilder_WP* HadronPhysicsQGSP_BERT_WP::theMiscLHEP
private
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
G4ProtonBuilder_WP* HadronPhysicsQGSP_BERT_WP::thePro
private
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().