Geant4  10.02.p03
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 ()
 

Private Attributes

G4VCrossSectionDataSetthePiData
 
G4TheoFSGeneratortheModel
 
G4GeneratorPrecompoundInterfacetheCascade
 
G4QGSModel< G4QGSParticipants > * theStringModel
 
G4ExcitedStringDecaytheStringDecay
 
G4QuasiElasticChanneltheQuasiElastic
 
G4QGSMFragmentationtheQGSM
 
G4double theMin
 

Detailed Description

Definition at line 58 of file G4QGSPPionBuilder.hh.

Constructor & Destructor Documentation

◆ G4QGSPPionBuilder()

G4QGSPPionBuilder::G4QGSPPionBuilder ( G4bool  quasiElastic = false)

Definition at line 52 of file G4QGSPPionBuilder.cc.

53 {
55  theMin = 12*GeV;
56  theModel = new G4TheoFSGenerator("QGSP");
57 
61 
62 
64 
66  if (quasiElastic)
67  {
70  } else
71  { theQuasiElastic=0;}
72 
74 }
G4GeneratorPrecompoundInterface * theCascade
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)
static const char * Default_Name()
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
G4QGSModel< G4QGSParticipants > * theStringModel
static G4CrossSectionDataSetRegistry * Instance()
static const double GeV
Definition: G4SIunits.hh:214
G4ExcitedStringDecay * theStringDecay
G4TheoFSGenerator * theModel
G4QGSMFragmentation * theQGSM
void SetTransport(G4VIntraNuclearTransportModel *const value)
G4QuasiElasticChannel * theQuasiElastic
G4VCrossSectionDataSet * thePiData
Here is the call graph for this function:

◆ ~G4QGSPPionBuilder()

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 }
G4QGSModel< G4QGSParticipants > * theStringModel
G4ExcitedStringDecay * theStringDecay
G4QGSMFragmentation * theQGSM
G4QuasiElasticChannel * theQuasiElastic
Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ Build() [1/3]

void G4QGSPPionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 86 of file G4QGSPPionBuilder.cc.

86 {}
Here is the caller graph for this function:

◆ Build() [2/3]

void G4QGSPPionBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 89 of file G4QGSPPionBuilder.cc.

90 {
93  aP->AddDataSet(thePiData);
94  aP->RegisterMe(theModel);
95 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
G4TheoFSGenerator * theModel
void SetMaxEnergy(const G4double anEnergy)
static const double TeV
Definition: G4SIunits.hh:215
G4VCrossSectionDataSet * thePiData
Here is the call graph for this function:

◆ Build() [3/3]

void G4QGSPPionBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 98 of file G4QGSPPionBuilder.cc.

99 {
101  theModel->SetMaxEnergy(100*TeV);
102  aP->AddDataSet(thePiData);
103  aP->RegisterMe(theModel);
104 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
G4TheoFSGenerator * theModel
void SetMaxEnergy(const G4double anEnergy)
static const double TeV
Definition: G4SIunits.hh:215
G4VCrossSectionDataSet * thePiData
Here is the call graph for this function:

◆ SetMinEnergy()

void G4QGSPPionBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 69 of file G4QGSPPionBuilder.hh.

69 {theMin = aM;}

Member Data Documentation

◆ theCascade

G4GeneratorPrecompoundInterface* G4QGSPPionBuilder::theCascade
private

Definition at line 74 of file G4QGSPPionBuilder.hh.

◆ theMin

G4double G4QGSPPionBuilder::theMin
private

Definition at line 79 of file G4QGSPPionBuilder.hh.

◆ theModel

G4TheoFSGenerator* G4QGSPPionBuilder::theModel
private

Definition at line 73 of file G4QGSPPionBuilder.hh.

◆ thePiData

G4VCrossSectionDataSet* G4QGSPPionBuilder::thePiData
private

Definition at line 72 of file G4QGSPPionBuilder.hh.

◆ theQGSM

G4QGSMFragmentation* G4QGSPPionBuilder::theQGSM
private

Definition at line 78 of file G4QGSPPionBuilder.hh.

◆ theQuasiElastic

G4QuasiElasticChannel* G4QGSPPionBuilder::theQuasiElastic
private

Definition at line 77 of file G4QGSPPionBuilder.hh.

◆ theStringDecay

G4ExcitedStringDecay* G4QGSPPionBuilder::theStringDecay
private

Definition at line 76 of file G4QGSPPionBuilder.hh.

◆ theStringModel

G4QGSModel< G4QGSParticipants >* G4QGSPPionBuilder::theStringModel
private

Definition at line 75 of file G4QGSPPionBuilder.hh.


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