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 69 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 58 of file HadronPhysicsQGSP_BERT_WP.cc.

References ProjectileDiffraction.

59  : G4VPhysicsConstructor(name) , QuasiElastic(quasiElastic)
60 {
62 }
HadronPhysicsQGSP_BERT_WP::~HadronPhysicsQGSP_BERT_WP ( )
virtual

Definition at line 97 of file HadronPhysicsQGSP_BERT_WP.cc.

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

98 {
99  delete theMiscLHEP;
100  delete theQGSPNeutron;
101  delete theLEPNeutron;
102  delete theBertiniNeutron;
103  delete theQGSPPro;
104  delete theLEPPro;
105  delete thePro;
106  delete theBertiniPro;
107  delete theQGSPPiK;
108  delete theLEPPiK;
109  delete theBertiniPiK;
110  delete thePiK;
111 }
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 113 of file HadronPhysicsQGSP_BERT_WP.cc.

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

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

65 {
66  theNeutrons=new G4NeutronBuilder;
67  theNeutrons->RegisterMe(theQGSPNeutron=new G4QGSPNeutronBuilder(QuasiElastic, ProjectileDiffraction));
68  theNeutrons->RegisterMe(theLEPNeutron=new G4LEPNeutronBuilder);
69  theLEPNeutron->SetMinInelasticEnergy(9.5*GeV);
70  theLEPNeutron->SetMaxInelasticEnergy(25*GeV);
71 
72  theNeutrons->RegisterMe(theBertiniNeutron=new G4BertiniNeutronBuilder);
73  theBertiniNeutron->SetMinEnergy(0.0*GeV);
74  theBertiniNeutron->SetMaxEnergy(9.9*GeV);
75 
78  thePro->RegisterMe(theLEPPro=new G4LEPProtonBuilder);
79  theLEPPro->SetMinEnergy(9.5*GeV);
80  theLEPPro->SetMaxEnergy(25*GeV);
81 
82  thePro->RegisterMe(theBertiniPro=new G4BertiniProtonBuilder);
83  theBertiniPro->SetMaxEnergy(9.9*GeV);
84 
86  thePiK->RegisterMe(theQGSPPiK=new G4QGSPPiKBuilder(QuasiElastic));
87  thePiK->RegisterMe(theLEPPiK=new G4LEPPiKBuilder);
88  theLEPPiK->SetMaxEnergy(25*GeV);
89  theLEPPiK->SetMinEnergy(9.5*GeV);
90 
91  thePiK->RegisterMe(theBertiniPiK=new G4BertiniPiKBuilder);
92  theBertiniPiK->SetMaxEnergy(9.9*GeV);
93 
95 }
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 101 of file HadronPhysicsQGSP_BERT_WP.h.

Referenced by CreateModels(), and SetQuasiElastic().

G4BertiniNeutronBuilder* HadronPhysicsQGSP_BERT_WP::theBertiniNeutron
private

Definition at line 87 of file HadronPhysicsQGSP_BERT_WP.h.

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

G4BertiniPiKBuilder* HadronPhysicsQGSP_BERT_WP::theBertiniPiK
private

Definition at line 92 of file HadronPhysicsQGSP_BERT_WP.h.

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

G4BertiniProtonBuilder* HadronPhysicsQGSP_BERT_WP::theBertiniPro
private

Definition at line 97 of file HadronPhysicsQGSP_BERT_WP.h.

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

G4LEPNeutronBuilder* HadronPhysicsQGSP_BERT_WP::theLEPNeutron
private

Definition at line 85 of file HadronPhysicsQGSP_BERT_WP.h.

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

G4LEPPiKBuilder* HadronPhysicsQGSP_BERT_WP::theLEPPiK
private

Definition at line 90 of file HadronPhysicsQGSP_BERT_WP.h.

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

G4LEPProtonBuilder* HadronPhysicsQGSP_BERT_WP::theLEPPro
private

Definition at line 95 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 84 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 86 of file HadronPhysicsQGSP_BERT_WP.h.

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

G4QGSPPiKBuilder* HadronPhysicsQGSP_BERT_WP::theQGSPPiK
private

Definition at line 91 of file HadronPhysicsQGSP_BERT_WP.h.

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

G4QGSPProtonBuilder* HadronPhysicsQGSP_BERT_WP::theQGSPPro
private

Definition at line 96 of file HadronPhysicsQGSP_BERT_WP.h.

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