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

#include <G4QGSBinaryPionBuilder.hh>

Inheritance diagram for G4QGSBinaryPionBuilder:
Collaboration diagram for G4QGSBinaryPionBuilder:

Public Member Functions

 G4QGSBinaryPionBuilder (G4bool quasiElastic=false)
 
virtual ~G4QGSBinaryPionBuilder ()
 
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 G4QGSBinaryPionBuilder.hh.

Constructor & Destructor Documentation

G4QGSBinaryPionBuilder::G4QGSBinaryPionBuilder ( G4bool  quasiElastic = false)

Definition at line 44 of file G4QGSBinaryPionBuilder.cc.

45 {
47 
48  theMin = 12*GeV;
49  theModel = new G4TheoFSGenerator("QGSB");
50 
51  theStringModel = new G4QGSModel< G4QGSParticipants >;
52  theStringDecay = new G4ExcitedStringDecay(new G4QGSMFragmentation);
53  theStringModel->SetFragmentationModel(theStringDecay);
54 
55  theCascade = new G4BinaryCascade;
56 
57  theModel->SetHighEnergyGenerator(theStringModel);
58  if (quasiElastic)
59  {
60  theQuasiElastic=new G4QuasiElasticChannel;
61  theModel->SetQuasiElasticChannel(theQuasiElastic);
62  } else
63  { theQuasiElastic=0;}
64  theModel->SetTransport(theCascade);
65 }
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:

G4QGSBinaryPionBuilder::~G4QGSBinaryPionBuilder ( )
virtual

Definition at line 68 of file G4QGSBinaryPionBuilder.cc.

69 {
70  if ( theQuasiElastic ) delete theQuasiElastic;
71  delete theStringDecay;
72  delete theStringModel;
73 }

Member Function Documentation

void G4QGSBinaryPionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 76 of file G4QGSBinaryPionBuilder.cc.

76 {}
void G4QGSBinaryPionBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 79 of file G4QGSBinaryPionBuilder.cc.

80 {
81  theModel->SetMinEnergy(theMin);
82  theModel->SetMaxEnergy(100*TeV);
83  aP->AddDataSet(thePiData);
84  aP->RegisterMe(theModel);
85 }
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 G4QGSBinaryPionBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 88 of file G4QGSBinaryPionBuilder.cc.

89 {
90  theModel->SetMinEnergy(theMin);
91  theModel->SetMaxEnergy(100*TeV);
92  aP->AddDataSet(thePiData);
93  aP->RegisterMe(theModel);
94 }
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 G4QGSBinaryPionBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 69 of file G4QGSBinaryPionBuilder.hh.

69 {theMin = aM;}

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