Geant4-11
Public Member Functions | Private Attributes
G4QGSBinaryProtonBuilder Class Reference

#include <G4QGSBinaryProtonBuilder.hh>

Inheritance diagram for G4QGSBinaryProtonBuilder:
G4VProtonBuilder G4PhysicsBuilderInterface

Public Member Functions

virtual void Build ()
 
virtual void Build (G4HadronElasticProcess *) final override
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4HadronInelasticProcess *aP) final override
 
virtual void Build (G4HadronInelasticProcess *aP)=0
 
 G4QGSBinaryProtonBuilder (G4bool quasiElastic=false)
 
virtual void RegisterMe (G4PhysicsBuilderInterface *)
 
virtual void SetMaxEnergy (G4double)
 
virtual void SetMinEnergy (G4double aM) final override
 
virtual ~G4QGSBinaryProtonBuilder ()
 

Private Attributes

G4double theMin
 
G4TheoFSGeneratortheModel
 

Detailed Description

Definition at line 55 of file G4QGSBinaryProtonBuilder.hh.

Constructor & Destructor Documentation

◆ G4QGSBinaryProtonBuilder()

G4QGSBinaryProtonBuilder::G4QGSBinaryProtonBuilder ( G4bool  quasiElastic = false)

Definition at line 46 of file G4QGSBinaryProtonBuilder.cc.

47 {
49 theModel = new G4TheoFSGenerator("QGSB");
50
51 G4QGSModel< G4QGSParticipants >* theStringModel =
53 G4ExcitedStringDecay* theStringDecay =
55 theStringModel->SetFragmentationModel(theStringDecay);
56
58 theModel->SetHighEnergyGenerator(theStringModel);
59 if (quasiElastic)
60 {
62 }
63 }
static G4HadronicParameters * Instance()
G4double GetMinEnergyTransitionQGS_FTF() const
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)

References G4HadronicParameters::GetMinEnergyTransitionQGS_FTF(), G4HadronicParameters::Instance(), G4VPartonStringModel::SetFragmentationModel(), G4TheoFSGenerator::SetHighEnergyGenerator(), G4TheoFSGenerator::SetQuasiElasticChannel(), G4TheoFSGenerator::SetTransport(), theMin, and theModel.

◆ ~G4QGSBinaryProtonBuilder()

G4QGSBinaryProtonBuilder::~G4QGSBinaryProtonBuilder ( )
virtual

Definition at line 74 of file G4QGSBinaryProtonBuilder.cc.

75 {
76 }

Member Function Documentation

◆ Build() [1/5]

virtual void G4PhysicsBuilderInterface::Build ( )
inlinevirtualinherited

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 46 of file G4PhysicsBuilderInterface.hh.

47 {
48 G4Exception("G4PhysicsBuilderInterface::Build", "PHYSBLD001",
50 "Called based class method. Should be implemented in"
51 " inherited class");
52 }
@ FatalException
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
Definition: G4Exception.cc:35

◆ Build() [2/5]

virtual void G4QGSBinaryProtonBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VProtonBuilder.

Definition at line 61 of file G4QGSBinaryProtonBuilder.hh.

61{}

◆ Build() [3/5]

virtual void G4VProtonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VProtonBuilder.

◆ Build() [4/5]

void G4QGSBinaryProtonBuilder::Build ( G4HadronInelasticProcess aP)
finaloverridevirtual

◆ Build() [5/5]

virtual void G4VProtonBuilder::Build ( G4HadronInelasticProcess aP)
virtual

Implements G4VProtonBuilder.

◆ RegisterMe()

virtual void G4PhysicsBuilderInterface::RegisterMe ( G4PhysicsBuilderInterface )
inlinevirtualinherited

◆ SetMaxEnergy()

virtual void G4PhysicsBuilderInterface::SetMaxEnergy ( G4double  )
inlinevirtualinherited

◆ SetMinEnergy()

virtual void G4QGSBinaryProtonBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 64 of file G4QGSBinaryProtonBuilder.hh.

64{theMin = aM;}

References theMin.

Field Documentation

◆ theMin

G4double G4QGSBinaryProtonBuilder::theMin
private

Definition at line 70 of file G4QGSBinaryProtonBuilder.hh.

Referenced by Build(), G4QGSBinaryProtonBuilder(), and SetMinEnergy().

◆ theModel

G4TheoFSGenerator* G4QGSBinaryProtonBuilder::theModel
private

Definition at line 69 of file G4QGSBinaryProtonBuilder.hh.

Referenced by Build(), and G4QGSBinaryProtonBuilder().


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