Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4QGSC_CHIPSNeutronBuilder Class Reference

#include <G4QGSC_CHIPSNeutronBuilder.hh>

+ Inheritance diagram for G4QGSC_CHIPSNeutronBuilder:

Public Member Functions

 G4QGSC_CHIPSNeutronBuilder (G4bool quasiElastic=false)
 
virtual ~G4QGSC_CHIPSNeutronBuilder ()
 
virtual void Build (G4HadronElasticProcess *)
 
virtual void Build (G4HadronFissionProcess *)
 
virtual void Build (G4HadronCaptureProcess *)
 
virtual void Build (G4NeutronInelasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
- Public Member Functions inherited from G4VNeutronBuilder
 G4VNeutronBuilder ()
 
virtual ~G4VNeutronBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4HadronFissionProcess *aP)=0
 
virtual void Build (G4HadronCaptureProcess *aP)=0
 
virtual void Build (G4NeutronInelasticProcess *aP)=0
 

Detailed Description

Definition at line 48 of file G4QGSC_CHIPSNeutronBuilder.hh.

Constructor & Destructor Documentation

◆ G4QGSC_CHIPSNeutronBuilder()

G4QGSC_CHIPSNeutronBuilder::G4QGSC_CHIPSNeutronBuilder ( G4bool  quasiElastic = false)

Definition at line 32 of file G4QGSC_CHIPSNeutronBuilder.cc.

34{
35 theMin = 0*GeV;
36 theModel = new G4TheoFSGenerator("QGSC_CHIPS");
37
38 theStringModel= new G4QGSModel< G4QGSParticipants >;
39 theStringDecay = new G4ExcitedStringDecay(new G4QGSMFragmentation);
40 theStringModel->SetFragmentationModel(theStringDecay);
41
43
44 theModel->SetTransport(theCascade);
45 theModel->SetHighEnergyGenerator(theStringModel);
46 if (quasiElastic)
47 {
48 theQuasiElastic=new G4QuasiElasticChannel;
49 theModel->SetQuasiElasticChannel(theQuasiElastic);
50 } else
51 { theQuasiElastic=0;}
52}
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)

◆ ~G4QGSC_CHIPSNeutronBuilder()

G4QGSC_CHIPSNeutronBuilder::~G4QGSC_CHIPSNeutronBuilder ( )
virtual

Definition at line 54 of file G4QGSC_CHIPSNeutronBuilder.cc.

56{
57 delete theStringDecay;
58 delete theStringModel;
59 delete theCascade;
60 if ( theQuasiElastic ) delete theQuasiElastic;
61 delete theModel;
62}

Member Function Documentation

◆ Build() [1/4]

virtual void G4QGSC_CHIPSNeutronBuilder::Build ( G4HadronCaptureProcess )
inlinevirtual

Implements G4VNeutronBuilder.

Definition at line 57 of file G4QGSC_CHIPSNeutronBuilder.hh.

57{}

◆ Build() [2/4]

virtual void G4QGSC_CHIPSNeutronBuilder::Build ( G4HadronElasticProcess )
inlinevirtual

Implements G4VNeutronBuilder.

Definition at line 55 of file G4QGSC_CHIPSNeutronBuilder.hh.

55{}

◆ Build() [3/4]

virtual void G4QGSC_CHIPSNeutronBuilder::Build ( G4HadronFissionProcess )
inlinevirtual

Implements G4VNeutronBuilder.

Definition at line 56 of file G4QGSC_CHIPSNeutronBuilder.hh.

56{}

◆ Build() [4/4]

void G4QGSC_CHIPSNeutronBuilder::Build ( G4NeutronInelasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 64 of file G4QGSC_CHIPSNeutronBuilder.cc.

66{
67 theModel->SetMinEnergy(theMin);
68 theModel->SetMaxEnergy(100*TeV);
69 aP->RegisterMe(theModel);
70 aP->AddDataSet(&theXSec);
71}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)

◆ SetMinEnergy()

void G4QGSC_CHIPSNeutronBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 60 of file G4QGSC_CHIPSNeutronBuilder.hh.

60{theMin = aM;}

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