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

#include <G4BertiniElectroNuclearBuilder.hh>

+ Inheritance diagram for G4BertiniElectroNuclearBuilder:

Public Member Functions

 G4BertiniElectroNuclearBuilder (G4bool eNucl)
 
virtual ~G4BertiniElectroNuclearBuilder ()
 
virtual void Build ()
 

Protected Attributes

G4HadronInelasticProcessthePhotoNuclearProcess
 
G4ElectronNuclearProcesstheElectronNuclearProcess
 
G4PositronNuclearProcessthePositronNuclearProcess
 
G4ElectroVDNuclearModeltheElectroReaction
 
G4CascadeInterfacetheGammaReaction
 
G4TheoFSGeneratortheModel
 
G4GeneratorPrecompoundInterfacetheCascade
 
G4QGSModel< G4GammaParticipants > * theStringModel
 
G4QGSMFragmentationtheFragmentation
 
G4ExcitedStringDecaytheStringDecay
 
G4bool wasActivated
 
G4bool eActivated
 

Detailed Description

Definition at line 48 of file G4BertiniElectroNuclearBuilder.hh.

Constructor & Destructor Documentation

◆ G4BertiniElectroNuclearBuilder()

G4BertiniElectroNuclearBuilder::G4BertiniElectroNuclearBuilder ( G4bool  eNucl)

Definition at line 58 of file G4BertiniElectroNuclearBuilder.cc.

58 :
61 theGammaReaction(nullptr), theModel(nullptr), theCascade(nullptr),
62 theStringModel(nullptr), theFragmentation(nullptr), theStringDecay(nullptr),
63 wasActivated(false), eActivated(eNucl)
64{}
G4QGSModel< G4GammaParticipants > * theStringModel
G4GeneratorPrecompoundInterface * theCascade
G4ElectronNuclearProcess * theElectronNuclearProcess
G4HadronInelasticProcess * thePhotoNuclearProcess
G4PositronNuclearProcess * thePositronNuclearProcess

◆ ~G4BertiniElectroNuclearBuilder()

G4BertiniElectroNuclearBuilder::~G4BertiniElectroNuclearBuilder ( )
virtual

Definition at line 66 of file G4BertiniElectroNuclearBuilder.cc.

67{
68 if(wasActivated) {
69 delete theFragmentation;
70 delete theStringDecay;
71 }
72}

Member Function Documentation

◆ Build()

void G4BertiniElectroNuclearBuilder::Build ( )
virtual

Reimplemented in G4LENDBertiniGammaElectroNuclearBuilder.

Definition at line 74 of file G4BertiniElectroNuclearBuilder.cc.

75{
76 if(wasActivated) return;
77 wasActivated=true;
78
81
82 if(eActivated) {
86 }
88
90
94
96
99
100 G4ProcessManager * aProcMan = nullptr;
101
104 theModel->SetMinEnergy(3.*GeV);
107
110 if(sp) {
111 sp->AddHadProcess(thePhotoNuclearProcess);
112 } else {
113 aProcMan = G4Gamma::Gamma()->GetProcessManager();
115 }
116
117 if(eActivated) {
121
125 }
126}
static G4Electron * Electron()
Definition: G4Electron.cc:93
static G4Gamma * Gamma()
Definition: G4Gamma.cc:85
static G4Gamma * Definition()
Definition: G4Gamma.cc:48
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
static G4HadronicParameters * Instance()
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4LossTableManager * Instance()
G4VEmProcess * GetGammaGeneralProcess()
G4ProcessManager * GetProcessManager() const
static G4Positron * Positron()
Definition: G4Positron.cc:93
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)

Referenced by G4LENDBertiniGammaElectroNuclearBuilder::Build().

Member Data Documentation

◆ eActivated

G4bool G4BertiniElectroNuclearBuilder::eActivated
protected

Definition at line 70 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build().

◆ theCascade

G4GeneratorPrecompoundInterface* G4BertiniElectroNuclearBuilder::theCascade
protected

Definition at line 65 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build().

◆ theElectronNuclearProcess

G4ElectronNuclearProcess* G4BertiniElectroNuclearBuilder::theElectronNuclearProcess
protected

Definition at line 59 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build().

◆ theElectroReaction

G4ElectroVDNuclearModel* G4BertiniElectroNuclearBuilder::theElectroReaction
protected

Definition at line 61 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build().

◆ theFragmentation

G4QGSMFragmentation* G4BertiniElectroNuclearBuilder::theFragmentation
protected

Definition at line 67 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build(), and ~G4BertiniElectroNuclearBuilder().

◆ theGammaReaction

G4CascadeInterface* G4BertiniElectroNuclearBuilder::theGammaReaction
protected

◆ theModel

G4TheoFSGenerator* G4BertiniElectroNuclearBuilder::theModel
protected

Definition at line 64 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build().

◆ thePhotoNuclearProcess

G4HadronInelasticProcess* G4BertiniElectroNuclearBuilder::thePhotoNuclearProcess
protected

◆ thePositronNuclearProcess

G4PositronNuclearProcess* G4BertiniElectroNuclearBuilder::thePositronNuclearProcess
protected

Definition at line 60 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build().

◆ theStringDecay

G4ExcitedStringDecay* G4BertiniElectroNuclearBuilder::theStringDecay
protected

Definition at line 68 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build(), and ~G4BertiniElectroNuclearBuilder().

◆ theStringModel

G4QGSModel< G4GammaParticipants >* G4BertiniElectroNuclearBuilder::theStringModel
protected

Definition at line 66 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build().

◆ wasActivated

G4bool G4BertiniElectroNuclearBuilder::wasActivated
protected

Definition at line 69 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build(), and ~G4BertiniElectroNuclearBuilder().


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