Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4FTFBinaryPionBuilder Class Reference

#include <G4FTFBinaryPionBuilder.hh>

Inheritance diagram for G4FTFBinaryPionBuilder:
Collaboration diagram for G4FTFBinaryPionBuilder:

Public Member Functions

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

Detailed Description

Definition at line 56 of file G4FTFBinaryPionBuilder.hh.

Constructor & Destructor Documentation

G4FTFBinaryPionBuilder::G4FTFBinaryPionBuilder ( G4bool  quasiElastic = false)

Definition at line 51 of file G4FTFBinaryPionBuilder.cc.

52 {
54  theMin = 4*GeV;
55  theMax = 100*TeV;
56  theModel = new G4TheoFSGenerator("FTFB");
57 
58  theStringModel = new G4FTFModel;
59  theStringDecay = new G4ExcitedStringDecay(new G4LundStringFragmentation);
60  theStringModel->SetFragmentationModel(theStringDecay);
61 
62  theCascade = new G4BinaryCascade;
63 
64  theModel->SetHighEnergyGenerator(theStringModel);
65  if (quasiElastic)
66  {
67  theQuasiElastic=new G4QuasiElasticChannel;
68  theModel->SetQuasiElasticChannel(theQuasiElastic);
69  } else
70  { theQuasiElastic=0;}
71 
72  theModel->SetTransport(theCascade);
73  theModel->SetMinEnergy(theMin);
74  theModel->SetMaxEnergy(theMax);
75 }
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)
static const char * Default_Name()
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
static constexpr double TeV
Definition: G4SIunits.hh:218
void SetMinEnergy(G4double anEnergy)
static G4CrossSectionDataSetRegistry * Instance()
static constexpr double GeV
Definition: G4SIunits.hh:217
void SetMaxEnergy(const G4double anEnergy)
void SetTransport(G4VIntraNuclearTransportModel *const value)

Here is the call graph for this function:

G4FTFBinaryPionBuilder::~G4FTFBinaryPionBuilder ( )
virtual

Definition at line 77 of file G4FTFBinaryPionBuilder.cc.

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

Member Function Documentation

void G4FTFBinaryPionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 86 of file G4FTFBinaryPionBuilder.cc.

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

Implements G4VPionBuilder.

Definition at line 89 of file G4FTFBinaryPionBuilder.cc.

90 {
91  theModel->SetMinEnergy(theMin);
92  theModel->SetMaxEnergy(theMax);
93  aP->AddDataSet(thePiData);
94  aP->RegisterMe(theModel);
95 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4FTFBinaryPionBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 98 of file G4FTFBinaryPionBuilder.cc.

99 {
100  theModel->SetMinEnergy(theMin);
101  theModel->SetMaxEnergy(theMax);
102  aP->AddDataSet(thePiData);
103  aP->RegisterMe(theModel);
104 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4FTFBinaryPionBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 68 of file G4FTFBinaryPionBuilder.hh.

68 {theMax = aM;}
void G4FTFBinaryPionBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 67 of file G4FTFBinaryPionBuilder.hh.

67 {theMin = aM;}

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