Public Member Functions | Private Attributes | List of all members
QGSPStrFragmLundProtonBuilder Class Reference

#include <QGSPStrFragmLundProtonBuilder.hh>

Inheritance diagram for QGSPStrFragmLundProtonBuilder:

Public Member Functions

 QGSPStrFragmLundProtonBuilder (G4bool quasiElastic=true)
 
virtual ~QGSPStrFragmLundProtonBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)
 
virtual void Build (G4ProtonInelasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 

Private Attributes

G4TheoFSGenerator * theModel
 
G4PreCompoundModel * thePreEquilib
 
G4GeneratorPrecompoundInterface * theCascade
 
G4QGSModel< G4QGSParticipants > * theStringModel
 
G4ExcitedStringDecay * theStringDecay
 
G4QuasiElasticChannel * theQuasiElastic
 
G4LundStringFragmentation * theStrFragm
 
G4ExcitationHandler * theHandler
 
G4double theMin
 

Detailed Description

Definition at line 33 of file QGSPStrFragmLundProtonBuilder.hh.

Constructor & Destructor Documentation

QGSPStrFragmLundProtonBuilder::QGSPStrFragmLundProtonBuilder ( G4bool  quasiElastic = true)

Definition at line 22 of file QGSPStrFragmLundProtonBuilder.cc.

23  {
24  theMin = 100*GeV;
25  theModel = new G4TheoFSGenerator("QGSP");
26 
27  theStringModel = new G4QGSModel< G4QGSParticipants >;
28  theStringDecay = new G4ExcitedStringDecay(theStrFragm = new G4LundStringFragmentation);
29  theStringModel->SetFragmentationModel(theStringDecay);
30 
31  theCascade = new G4GeneratorPrecompoundInterface;
32  thePreEquilib = new G4PreCompoundModel(theHandler = new G4ExcitationHandler);
33  theCascade->SetDeExcitation(thePreEquilib);
34 
35  theModel->SetTransport(theCascade);
36  theModel->SetHighEnergyGenerator(theStringModel);
37  if (quasiElastic)
38  {
39  theQuasiElastic=new G4QuasiElasticChannel;
40  theModel->SetQuasiElasticChannel(theQuasiElastic);
41  } else
42  { theQuasiElastic=0;}
43 
44  }
G4QGSModel< G4QGSParticipants > * theStringModel
G4GeneratorPrecompoundInterface * theCascade
static const double GeV
Definition: Units.h:29
QGSPStrFragmLundProtonBuilder::~QGSPStrFragmLundProtonBuilder ( )
virtual

Definition at line 60 of file QGSPStrFragmLundProtonBuilder.cc.

61  {
62  delete thePreEquilib;
63  delete theCascade;
64  if ( theQuasiElastic ) delete theQuasiElastic;
65  delete theStringDecay;
66  delete theStringModel;
67  delete theModel;
68  delete theStrFragm;
69  //delete theHandler;
70  }
G4QGSModel< G4QGSParticipants > * theStringModel
G4GeneratorPrecompoundInterface * theCascade

Member Function Documentation

void QGSPStrFragmLundProtonBuilder::Build ( G4HadronElasticProcess *  aP)
virtual

Definition at line 56 of file QGSPStrFragmLundProtonBuilder.cc.

57  {
58  }
void QGSPStrFragmLundProtonBuilder::Build ( G4ProtonInelasticProcess *  aP)
virtual

Definition at line 47 of file QGSPStrFragmLundProtonBuilder.cc.

48  {
49  aP->AddDataSet(new G4BGGNucleonInelasticXS(G4Proton::Proton()));
50  theModel->SetMinEnergy(theMin);
51  theModel->SetMaxEnergy(100*TeV);
52  aP->RegisterMe(theModel);
53  }
static const double TeV
Definition: Units.h:131
void QGSPStrFragmLundProtonBuilder::SetMinEnergy ( G4double  aM)
inline

Member Data Documentation

G4GeneratorPrecompoundInterface* QGSPStrFragmLundProtonBuilder::theCascade
private

Definition at line 51 of file QGSPStrFragmLundProtonBuilder.hh.

G4ExcitationHandler* QGSPStrFragmLundProtonBuilder::theHandler
private

Definition at line 56 of file QGSPStrFragmLundProtonBuilder.hh.

G4double QGSPStrFragmLundProtonBuilder::theMin
private

Definition at line 57 of file QGSPStrFragmLundProtonBuilder.hh.

G4TheoFSGenerator* QGSPStrFragmLundProtonBuilder::theModel
private

Definition at line 49 of file QGSPStrFragmLundProtonBuilder.hh.

G4PreCompoundModel* QGSPStrFragmLundProtonBuilder::thePreEquilib
private

Definition at line 50 of file QGSPStrFragmLundProtonBuilder.hh.

G4QuasiElasticChannel* QGSPStrFragmLundProtonBuilder::theQuasiElastic
private

Definition at line 54 of file QGSPStrFragmLundProtonBuilder.hh.

G4LundStringFragmentation* QGSPStrFragmLundProtonBuilder::theStrFragm
private

Definition at line 55 of file QGSPStrFragmLundProtonBuilder.hh.

G4ExcitedStringDecay* QGSPStrFragmLundProtonBuilder::theStringDecay
private

Definition at line 53 of file QGSPStrFragmLundProtonBuilder.hh.

G4QGSModel< G4QGSParticipants >* QGSPStrFragmLundProtonBuilder::theStringModel
private

Definition at line 52 of file QGSPStrFragmLundProtonBuilder.hh.


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