Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4QGSPPionBuilder Class Reference

#include <G4QGSPPionBuilder.hh>

Inheritance diagram for G4QGSPPionBuilder:
Collaboration diagram for G4QGSPPionBuilder:

Public Member Functions

 G4QGSPPionBuilder (G4bool quasiElastic=false)
 
virtual ~G4QGSPPionBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)
 
virtual void Build (G4PionPlusInelasticProcess *aP)
 
virtual void Build (G4PionMinusInelasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
- Public Member Functions inherited from G4VPionBuilder
 G4VPionBuilder ()
 
virtual ~G4VPionBuilder ()
 

Detailed Description

Definition at line 58 of file G4QGSPPionBuilder.hh.

Constructor & Destructor Documentation

G4QGSPPionBuilder::G4QGSPPionBuilder ( G4bool  quasiElastic = false)

Definition at line 52 of file G4QGSPPionBuilder.cc.

53 {
55  theMin = 12*GeV;
56  theModel = new G4TheoFSGenerator("QGSP");
57 
58  theStringModel = new G4QGSModel< G4QGSParticipants >;
59  theStringDecay = new G4ExcitedStringDecay(theQGSM = new G4QGSMFragmentation);
60  theStringModel->SetFragmentationModel(theStringDecay);
61 
62 
63  theCascade = new G4GeneratorPrecompoundInterface();
64 
65  theModel->SetHighEnergyGenerator(theStringModel);
66  if (quasiElastic)
67  {
68  theQuasiElastic=new G4QuasiElasticChannel;
69  theModel->SetQuasiElasticChannel(theQuasiElastic);
70  } else
71  { theQuasiElastic=0;}
72 
73  theModel->SetTransport(theCascade);
74 }
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)
static const char * Default_Name()
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
static G4CrossSectionDataSetRegistry * Instance()
static constexpr double GeV
Definition: G4SIunits.hh:217
void SetTransport(G4VIntraNuclearTransportModel *const value)

Here is the call graph for this function:

G4QGSPPionBuilder::~G4QGSPPionBuilder ( )
virtual

Definition at line 77 of file G4QGSPPionBuilder.cc.

78 {
79  if ( theQuasiElastic ) delete theQuasiElastic;
80  delete theStringDecay;
81  delete theStringModel;
82  delete theQGSM;
83 }

Member Function Documentation

void G4QGSPPionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 86 of file G4QGSPPionBuilder.cc.

86 {}
void G4QGSPPionBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 89 of file G4QGSPPionBuilder.cc.

90 {
91  theModel->SetMinEnergy(theMin);
92  theModel->SetMaxEnergy(100*TeV);
93  aP->AddDataSet(thePiData);
94  aP->RegisterMe(theModel);
95 }
void RegisterMe(G4HadronicInteraction *a)
static constexpr double TeV
Definition: G4SIunits.hh:218
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4QGSPPionBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 98 of file G4QGSPPionBuilder.cc.

99 {
100  theModel->SetMinEnergy(theMin);
101  theModel->SetMaxEnergy(100*TeV);
102  aP->AddDataSet(thePiData);
103  aP->RegisterMe(theModel);
104 }
void RegisterMe(G4HadronicInteraction *a)
static constexpr double TeV
Definition: G4SIunits.hh:218
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4QGSPPionBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 69 of file G4QGSPPionBuilder.hh.

69 {theMin = aM;}

The documentation for this class was generated from the following files: