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

#include <G4ElectroNuclearBuilder.hh>

Public Member Functions

 G4ElectroNuclearBuilder ()
 
virtual ~G4ElectroNuclearBuilder ()
 
virtual void Build ()
 

Protected Attributes

G4PhotoNuclearProcessthePhotoNuclearProcess
 
G4ElectronNuclearProcesstheElectronNuclearProcess
 
G4PositronNuclearProcessthePositronNuclearProcess
 
G4ElectroNuclearReactiontheElectroReaction
 
G4GammaNuclearReactiontheGammaReaction
 
G4TheoFSGeneratortheModel
 
G4GeneratorPrecompoundInterfacetheCascade
 
G4QGSModel< G4GammaParticipants > * theStringModel
 
G4QGSMFragmentationtheFragmentation
 
G4ExcitedStringDecaytheStringDecay
 
G4bool wasActivated
 

Detailed Description

Definition at line 45 of file G4ElectroNuclearBuilder.hh.

Constructor & Destructor Documentation

◆ G4ElectroNuclearBuilder()

G4ElectroNuclearBuilder::G4ElectroNuclearBuilder ( )

Definition at line 53 of file G4ElectroNuclearBuilder.cc.

53 :
58 wasActivated(false)
59{
60}
G4ExcitedStringDecay * theStringDecay
G4GeneratorPrecompoundInterface * theCascade
G4PositronNuclearProcess * thePositronNuclearProcess
G4ElectronNuclearProcess * theElectronNuclearProcess
G4QGSModel< G4GammaParticipants > * theStringModel
G4ElectroNuclearReaction * theElectroReaction
G4GammaNuclearReaction * theGammaReaction
G4QGSMFragmentation * theFragmentation
G4PhotoNuclearProcess * thePhotoNuclearProcess

◆ ~G4ElectroNuclearBuilder()

G4ElectroNuclearBuilder::~G4ElectroNuclearBuilder ( )
virtual

Definition at line 62 of file G4ElectroNuclearBuilder.cc.

63{
64 if(wasActivated) {
65 delete theFragmentation;
66 delete theStringDecay;
67 delete theStringModel;
71 delete theElectroReaction;
72 delete theGammaReaction;
73 delete theModel;
74 delete theCascade;
75 }
76}

Member Function Documentation

◆ Build()

void G4ElectroNuclearBuilder::Build ( )
virtual

Definition at line 78 of file G4ElectroNuclearBuilder.cc.

79{
80 if(wasActivated) return;
81 wasActivated=true;
82
88
90
94
96
99
100 G4ProcessManager * aProcMan = 0;
101
102 aProcMan = G4Gamma::Gamma()->GetProcessManager();
105 theModel->SetMinEnergy(3.*GeV);
106 theModel->SetMaxEnergy(100*TeV);
109
113
117}
static G4Electron * Electron()
Definition: G4Electron.cc:94
static G4Gamma * Gamma()
Definition: G4Gamma.cc:86
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void RegisterMe(G4HadronicInteraction *a)
G4ProcessManager * GetProcessManager() const
static G4Positron * Positron()
Definition: G4Positron.cc:94
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)

Member Data Documentation

◆ theCascade

G4GeneratorPrecompoundInterface* G4ElectroNuclearBuilder::theCascade
protected

Definition at line 62 of file G4ElectroNuclearBuilder.hh.

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

◆ theElectronNuclearProcess

G4ElectronNuclearProcess* G4ElectroNuclearBuilder::theElectronNuclearProcess
protected

Definition at line 56 of file G4ElectroNuclearBuilder.hh.

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

◆ theElectroReaction

G4ElectroNuclearReaction* G4ElectroNuclearBuilder::theElectroReaction
protected

Definition at line 58 of file G4ElectroNuclearBuilder.hh.

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

◆ theFragmentation

G4QGSMFragmentation* G4ElectroNuclearBuilder::theFragmentation
protected

Definition at line 64 of file G4ElectroNuclearBuilder.hh.

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

◆ theGammaReaction

G4GammaNuclearReaction* G4ElectroNuclearBuilder::theGammaReaction
protected

Definition at line 59 of file G4ElectroNuclearBuilder.hh.

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

◆ theModel

G4TheoFSGenerator* G4ElectroNuclearBuilder::theModel
protected

Definition at line 61 of file G4ElectroNuclearBuilder.hh.

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

◆ thePhotoNuclearProcess

G4PhotoNuclearProcess* G4ElectroNuclearBuilder::thePhotoNuclearProcess
protected

Definition at line 55 of file G4ElectroNuclearBuilder.hh.

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

◆ thePositronNuclearProcess

G4PositronNuclearProcess* G4ElectroNuclearBuilder::thePositronNuclearProcess
protected

Definition at line 57 of file G4ElectroNuclearBuilder.hh.

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

◆ theStringDecay

G4ExcitedStringDecay* G4ElectroNuclearBuilder::theStringDecay
protected

Definition at line 65 of file G4ElectroNuclearBuilder.hh.

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

◆ theStringModel

G4QGSModel< G4GammaParticipants >* G4ElectroNuclearBuilder::theStringModel
protected

Definition at line 63 of file G4ElectroNuclearBuilder.hh.

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

◆ wasActivated

G4bool G4ElectroNuclearBuilder::wasActivated
protected

Definition at line 66 of file G4ElectroNuclearBuilder.hh.

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


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