Geant4-11
Public Member Functions | Protected Attributes | Private Types
G4LENDBertiniGammaElectroNuclearBuilder Class Reference

#include <G4LENDBertiniGammaElectroNuclearBuilder.hh>

Inheritance diagram for G4LENDBertiniGammaElectroNuclearBuilder:
G4BertiniElectroNuclearBuilder

Public Member Functions

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

Protected Attributes

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

Private Types

using base = G4BertiniElectroNuclearBuilder
 

Detailed Description

Definition at line 34 of file G4LENDBertiniGammaElectroNuclearBuilder.hh.

Member Typedef Documentation

◆ base

Definition at line 37 of file G4LENDBertiniGammaElectroNuclearBuilder.hh.

Constructor & Destructor Documentation

◆ G4LENDBertiniGammaElectroNuclearBuilder()

G4LENDBertiniGammaElectroNuclearBuilder::G4LENDBertiniGammaElectroNuclearBuilder ( G4bool  eNucl)

◆ ~G4LENDBertiniGammaElectroNuclearBuilder()

G4LENDBertiniGammaElectroNuclearBuilder::~G4LENDBertiniGammaElectroNuclearBuilder ( )
virtual

Definition at line 57 of file G4LENDBertiniGammaElectroNuclearBuilder.cc.

58{
59/*
60 DHW 13 Jan 2020 - fix double deletion error; these deletes are already done in the base class dtor
61 (Coverity bugs 101609 and 101727)
62 if ( wasActivated ) {
63 delete theFragmentation;
64 delete theStringDecay;
65 }
66*/
67}

Member Function Documentation

◆ Build()

void G4LENDBertiniGammaElectroNuclearBuilder::Build ( )
virtual

Reimplemented from G4BertiniElectroNuclearBuilder.

Definition at line 69 of file G4LENDBertiniGammaElectroNuclearBuilder.cc.

70{
71 //G4cout << "G4LENDBertiniGammaElectroNuclearBuilder::Build()" << G4endl;
72
74
75 if ( std::getenv ("G4LENDDATA") == NULL ) {
76 G4String message = "\n Skipping activation of Low Energy Nuclear Data (LEND) model for gamma nuclear interactions.\n The LEND model needs data files and they are available from ftp://gdo-nuclear.ucllnl.org/GND_after2013/GND_v1.3.tar.gz.\n Please set the environment variable G4LENDDATA to point to the directory named v1.3 extracted from the archive file.\n";
77 G4Exception( "G4LENDBertiniGammaElectroNuclearBuilder::Build()"
78 , "G4LENDBertiniGammaElectroNuclearBuilder001"
79 , JustWarning , message);
80 return;
81 }
82
84 G4LENDorBERTModel* theGammaReactionLowE = new G4LENDorBERTModel( G4Gamma::Gamma() );
85 theGammaReactionLowE->DumpLENDTargetInfo(true);
86 G4LENDCombinedCrossSection* theGammaCrossSectionLowE = new G4LENDCombinedCrossSection( G4Gamma::Gamma() );
87 theGammaReactionLowE->SetMaxEnergy(20*MeV);
88 thePhotoNuclearProcess->RegisterMe(theGammaReactionLowE);
89 thePhotoNuclearProcess->AddDataSet(theGammaCrossSectionLowE);
90
91}
@ JustWarning
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
Definition: G4Exception.cc:35
static constexpr double MeV
Definition: G4SIunits.hh:200
G4HadronInelasticProcess * thePhotoNuclearProcess
static G4Gamma * Gamma()
Definition: G4Gamma.cc:85
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
void DumpLENDTargetInfo(G4bool force=false)
Definition: G4LENDModel.cc:277

References G4HadronicProcess::AddDataSet(), G4BertiniElectroNuclearBuilder::Build(), G4LENDModel::DumpLENDTargetInfo(), G4Exception(), G4Gamma::Gamma(), JustWarning, MeV, G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), G4HadronicInteraction::SetMinEnergy(), G4BertiniElectroNuclearBuilder::theGammaReaction, and G4BertiniElectroNuclearBuilder::thePhotoNuclearProcess.

Field Documentation

◆ eActivated

G4bool G4BertiniElectroNuclearBuilder::eActivated
protectedinherited

◆ theCascade

G4GeneratorPrecompoundInterface* G4BertiniElectroNuclearBuilder::theCascade
protectedinherited

◆ theElectronNuclearProcess

G4ElectronNuclearProcess* G4BertiniElectroNuclearBuilder::theElectronNuclearProcess
protectedinherited

◆ theElectroReaction

G4ElectroVDNuclearModel* G4BertiniElectroNuclearBuilder::theElectroReaction
protectedinherited

◆ theFragmentation

G4QGSMFragmentation* G4BertiniElectroNuclearBuilder::theFragmentation
protectedinherited

◆ theGammaReaction

G4CascadeInterface* G4BertiniElectroNuclearBuilder::theGammaReaction
protectedinherited

◆ theModel

G4TheoFSGenerator* G4BertiniElectroNuclearBuilder::theModel
protectedinherited

◆ thePhotoNuclearProcess

G4HadronInelasticProcess* G4BertiniElectroNuclearBuilder::thePhotoNuclearProcess
protectedinherited

◆ thePositronNuclearProcess

G4PositronNuclearProcess* G4BertiniElectroNuclearBuilder::thePositronNuclearProcess
protectedinherited

◆ theStringDecay

G4ExcitedStringDecay* G4BertiniElectroNuclearBuilder::theStringDecay
protectedinherited

◆ theStringModel

G4QGSModel< G4GammaParticipants >* G4BertiniElectroNuclearBuilder::theStringModel
protectedinherited

◆ wasActivated

G4bool G4BertiniElectroNuclearBuilder::wasActivated
protectedinherited

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