CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

HadronPhysicsQGSP_BERT_WP Class Reference

#include <HadronPhysicsQGSP_BERT_WP.h>

List of all members.

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.

                    :  G4VPhysicsConstructor(name) , QuasiElastic(quasiElastic)
{
   ProjectileDiffraction=false;
}
HadronPhysicsQGSP_BERT_WP::~HadronPhysicsQGSP_BERT_WP ( ) [virtual]

Member Function Documentation

void HadronPhysicsQGSP_BERT_WP::ConstructParticle ( ) [virtual]

Definition at line 114 of file HadronPhysicsQGSP_BERT_WP.cc.

{
  G4MesonConstructor pMesonConstructor;
  pMesonConstructor.ConstructParticle();

  G4BaryonConstructor pBaryonConstructor;
  pBaryonConstructor.ConstructParticle();

  G4ShortLivedConstructor pShortLivedConstructor;
  pShortLivedConstructor.ConstructParticle();  
}
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, G4PiKBuilder_WP::RegisterMe(), G4ProtonBuilder_WP::RegisterMe(), theBertiniNeutron, theBertiniPiK, theBertiniPro, theLEPNeutron, theLEPPiK, theLEPPro, theMiscLHEP, theNeutrons, thePiK, thePro, theQGSPNeutron, theQGSPPiK, and theQGSPPro.

Referenced by ConstructProcess().

{
  theNeutrons=new G4NeutronBuilder;
  theNeutrons->RegisterMe(theQGSPNeutron=new G4QGSPNeutronBuilder(QuasiElastic, ProjectileDiffraction));
  theNeutrons->RegisterMe(theLEPNeutron=new G4LEPNeutronBuilder);
  theLEPNeutron->SetMinInelasticEnergy(9.5*GeV);
  theLEPNeutron->SetMaxInelasticEnergy(25*GeV);  

  theNeutrons->RegisterMe(theBertiniNeutron=new G4BertiniNeutronBuilder);
  theBertiniNeutron->SetMinEnergy(0.0*GeV);
  theBertiniNeutron->SetMaxEnergy(9.9*GeV);

  thePro=new G4ProtonBuilder_WP;
  thePro->RegisterMe(theQGSPPro=new G4QGSPProtonBuilder(QuasiElastic, ProjectileDiffraction));
  thePro->RegisterMe(theLEPPro=new G4LEPProtonBuilder);
  theLEPPro->SetMinEnergy(9.5*GeV);
  theLEPPro->SetMaxEnergy(25*GeV);

  thePro->RegisterMe(theBertiniPro=new G4BertiniProtonBuilder);
  theBertiniPro->SetMaxEnergy(9.9*GeV);
  
  thePiK=new G4PiKBuilder_WP;
  thePiK->RegisterMe(theQGSPPiK=new G4QGSPPiKBuilder(QuasiElastic));
  thePiK->RegisterMe(theLEPPiK=new G4LEPPiKBuilder);
  theLEPPiK->SetMaxEnergy(25*GeV);
  theLEPPiK->SetMinEnergy(9.5*GeV);

  thePiK->RegisterMe(theBertiniPiK=new G4BertiniPiKBuilder);
  theBertiniPiK->SetMaxEnergy(9.9*GeV);
  
  theMiscLHEP=new G4MiscLHEPBuilder_WP;
}
void HadronPhysicsQGSP_BERT_WP::SetProjectileDiffraction ( G4bool  value) [inline]
void HadronPhysicsQGSP_BERT_WP::SetQuasiElastic ( G4bool  value) [inline]

Definition at line 80 of file HadronPhysicsQGSP_BERT_WP.h.

References QuasiElastic, and relativeConstraints::value.


Member Data Documentation

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

G4NeutronBuilder* HadronPhysicsQGSP_BERT_WP::theNeutrons [private]

Definition at line 85 of file HadronPhysicsQGSP_BERT_WP.h.

Referenced by ConstructProcess(), and CreateModels().

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