Geant4  10.02.p03
G4QGSPProtonBuilder Class Reference

#include <G4QGSPProtonBuilder.hh>

Inheritance diagram for G4QGSPProtonBuilder:
Collaboration diagram for G4QGSPProtonBuilder:

Public Member Functions

 G4QGSPProtonBuilder (G4bool quasiElastic=false)
 
virtual ~G4QGSPProtonBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)
 
virtual void Build (G4ProtonInelasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
- Public Member Functions inherited from G4VProtonBuilder
 G4VProtonBuilder ()
 
virtual ~G4VProtonBuilder ()
 

Private Attributes

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

Detailed Description

Definition at line 58 of file G4QGSPProtonBuilder.hh.

Constructor & Destructor Documentation

◆ G4QGSPProtonBuilder()

G4QGSPProtonBuilder::G4QGSPProtonBuilder ( G4bool  quasiElastic = false)

Definition at line 50 of file G4QGSPProtonBuilder.cc.

51  {
52  theMin = 12*GeV;
53  theModel = new G4TheoFSGenerator("QGSP");
54 
58 
60 
63  if (quasiElastic)
64  {
67  } else
68  { theQuasiElastic=0;}
69  }
G4QGSModel< G4QGSParticipants > * theStringModel
G4TheoFSGenerator * theModel
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)
G4ExcitedStringDecay * theStringDecay
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
G4QuasiElasticChannel * theQuasiElastic
G4GeneratorPrecompoundInterface * theCascade
static const double GeV
Definition: G4SIunits.hh:214
G4QGSMFragmentation * theQGSM
void SetTransport(G4VIntraNuclearTransportModel *const value)
Here is the call graph for this function:

◆ ~G4QGSPProtonBuilder()

G4QGSPProtonBuilder::~G4QGSPProtonBuilder ( )
virtual

Definition at line 85 of file G4QGSPProtonBuilder.cc.

86  {
87  if ( theQuasiElastic ) delete theQuasiElastic;
88  delete theStringDecay;
89  delete theStringModel;
90  delete theQGSM;
91  }
G4QGSModel< G4QGSParticipants > * theStringModel
G4ExcitedStringDecay * theStringDecay
G4QuasiElasticChannel * theQuasiElastic
G4QGSMFragmentation * theQGSM

Member Function Documentation

◆ Build() [1/2]

void G4QGSPProtonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VProtonBuilder.

Definition at line 81 of file G4QGSPProtonBuilder.cc.

82  {
83  }
Here is the caller graph for this function:

◆ Build() [2/2]

void G4QGSPProtonBuilder::Build ( G4ProtonInelasticProcess aP)
virtual

Implements G4VProtonBuilder.

Definition at line 72 of file G4QGSPProtonBuilder.cc.

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

◆ SetMinEnergy()

void G4QGSPProtonBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 68 of file G4QGSPProtonBuilder.hh.

68 {theMin = aM;}
Here is the caller graph for this function:

Member Data Documentation

◆ theCascade

G4GeneratorPrecompoundInterface* G4QGSPProtonBuilder::theCascade
private

Definition at line 73 of file G4QGSPProtonBuilder.hh.

◆ theMin

G4double G4QGSPProtonBuilder::theMin
private

Definition at line 78 of file G4QGSPProtonBuilder.hh.

◆ theModel

G4TheoFSGenerator* G4QGSPProtonBuilder::theModel
private

Definition at line 72 of file G4QGSPProtonBuilder.hh.

◆ theQGSM

G4QGSMFragmentation* G4QGSPProtonBuilder::theQGSM
private

Definition at line 77 of file G4QGSPProtonBuilder.hh.

◆ theQuasiElastic

G4QuasiElasticChannel* G4QGSPProtonBuilder::theQuasiElastic
private

Definition at line 76 of file G4QGSPProtonBuilder.hh.

◆ theStringDecay

G4ExcitedStringDecay* G4QGSPProtonBuilder::theStringDecay
private

Definition at line 75 of file G4QGSPProtonBuilder.hh.

◆ theStringModel

G4QGSModel< G4QGSParticipants >* G4QGSPProtonBuilder::theStringModel
private

Definition at line 74 of file G4QGSPProtonBuilder.hh.


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