Geant4  10.02.p03
G4QGSBuilder Class Reference

#include <G4QGSBuilder.hh>

Inheritance diagram for G4QGSBuilder:
Collaboration diagram for G4QGSBuilder:

Public Member Functions

 G4QGSBuilder (const G4String &name="", G4PreCompoundModel *p=0, G4bool quasiElastic=true)
 
virtual ~G4QGSBuilder ()
 
- Public Member Functions inherited from G4VHadronModelBuilder
 G4VHadronModelBuilder (const G4String &name="")
 
virtual ~G4VHadronModelBuilder ()
 
G4HadronicInteractionGetModel ()
 
const G4StringGetName () const
 

Protected Member Functions

virtual G4HadronicInteractionBuildModel ()
 

Private Member Functions

 G4QGSBuilder (G4QGSBuilder &)
 
G4QGSBuilderoperator= (const G4QGSBuilder &right)
 

Private Attributes

G4QGSModel< G4QGSParticipants > * theQGStringModel
 
G4ExcitedStringDecaytheQGStringDecay
 
G4QuasiElasticChanneltheQuasiElastic
 
G4PreCompoundModelthePreCompound
 
G4QGSMFragmentationtheQGSM
 
G4bool quasielFlag
 

Detailed Description

Definition at line 51 of file G4QGSBuilder.hh.

Constructor & Destructor Documentation

◆ G4QGSBuilder() [1/2]

G4QGSBuilder::G4QGSBuilder ( const G4String name = "",
G4PreCompoundModel p = 0,
G4bool  quasiElastic = true 
)

Definition at line 51 of file G4QGSBuilder.cc.

53  : G4VHadronModelBuilder(aName),
55  thePreCompound(p),theQGSM(0),
56  quasielFlag(quasiel)
57 {}
G4QGSMFragmentation * theQGSM
Definition: G4QGSBuilder.hh:77
G4QGSModel< G4QGSParticipants > * theQGStringModel
Definition: G4QGSBuilder.hh:71
G4bool quasielFlag
Definition: G4QGSBuilder.hh:79
G4QuasiElasticChannel * theQuasiElastic
Definition: G4QGSBuilder.hh:74
G4VHadronModelBuilder(const G4String &name="")
G4ExcitedStringDecay * theQGStringDecay
Definition: G4QGSBuilder.hh:73
G4PreCompoundModel * thePreCompound
Definition: G4QGSBuilder.hh:76

◆ ~G4QGSBuilder()

G4QGSBuilder::~G4QGSBuilder ( )
virtual

Definition at line 59 of file G4QGSBuilder.cc.

60 {
61  delete theQuasiElastic;
62  delete theQGStringDecay;
63  delete theQGStringModel;
64  delete theQGSM;
65 }
G4QGSMFragmentation * theQGSM
Definition: G4QGSBuilder.hh:77
G4QGSModel< G4QGSParticipants > * theQGStringModel
Definition: G4QGSBuilder.hh:71
G4QuasiElasticChannel * theQuasiElastic
Definition: G4QGSBuilder.hh:74
G4ExcitedStringDecay * theQGStringDecay
Definition: G4QGSBuilder.hh:73

◆ G4QGSBuilder() [2/2]

G4QGSBuilder::G4QGSBuilder ( G4QGSBuilder )
private

Member Function Documentation

◆ BuildModel()

G4HadronicInteraction * G4QGSBuilder::BuildModel ( )
protectedvirtual

Implements G4VHadronModelBuilder.

Definition at line 67 of file G4QGSBuilder.cc.

68 {
69  G4TheoFSGenerator* theQGSModel = new G4TheoFSGenerator(GetName());
75 
76  if(quasielFlag) {
79  }
80 
81  if(!thePreCompound) {
83  }
84 
85  if(GetName() == "QGSB") {
86  G4BinaryCascade* bic = new G4BinaryCascade();
88  theQGSModel->SetTransport(bic);
89 
90  } else {
93  theQGSModel->SetTransport(pint);
94  }
95 
96  return theQGSModel;
97 }
G4QGSMFragmentation * theQGSM
Definition: G4QGSBuilder.hh:77
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)
const G4String & GetName() const
G4QGSModel< G4QGSParticipants > * theQGStringModel
Definition: G4QGSBuilder.hh:71
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
G4bool quasielFlag
Definition: G4QGSBuilder.hh:79
G4QuasiElasticChannel * theQuasiElastic
Definition: G4QGSBuilder.hh:74
void SetDeExcitation(G4VPreCompoundModel *ptr)
G4ExcitedStringDecay * theQGStringDecay
Definition: G4QGSBuilder.hh:73
void SetTransport(G4VIntraNuclearTransportModel *const value)
G4PreCompoundModel * thePreCompound
Definition: G4QGSBuilder.hh:76
Here is the call graph for this function:

◆ operator=()

G4QGSBuilder& G4QGSBuilder::operator= ( const G4QGSBuilder right)
private

Member Data Documentation

◆ quasielFlag

G4bool G4QGSBuilder::quasielFlag
private

Definition at line 79 of file G4QGSBuilder.hh.

◆ thePreCompound

G4PreCompoundModel* G4QGSBuilder::thePreCompound
private

Definition at line 76 of file G4QGSBuilder.hh.

◆ theQGSM

G4QGSMFragmentation* G4QGSBuilder::theQGSM
private

Definition at line 77 of file G4QGSBuilder.hh.

◆ theQGStringDecay

G4ExcitedStringDecay* G4QGSBuilder::theQGStringDecay
private

Definition at line 73 of file G4QGSBuilder.hh.

◆ theQGStringModel

G4QGSModel< G4QGSParticipants >* G4QGSBuilder::theQGStringModel
private

Definition at line 71 of file G4QGSBuilder.hh.

◆ theQuasiElastic

G4QuasiElasticChannel* G4QGSBuilder::theQuasiElastic
private

Definition at line 74 of file G4QGSBuilder.hh.


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