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

#include <G4LENDBertiniGammaElectroNuclearBuilder.hh>

+ Inheritance diagram for G4LENDBertiniGammaElectroNuclearBuilder:

Public Member Functions

 G4LENDBertiniGammaElectroNuclearBuilder (G4bool eNucl)
 
 ~G4LENDBertiniGammaElectroNuclearBuilder () override=default
 
void Build () override
 
G4LENDBertiniGammaElectroNuclearBuilderoperator= (const G4LENDBertiniGammaElectroNuclearBuilder &right)=delete
 
 G4LENDBertiniGammaElectroNuclearBuilder (const G4LENDBertiniGammaElectroNuclearBuilder &)=delete
 
- Public Member Functions inherited from G4BertiniElectroNuclearBuilder
 G4BertiniElectroNuclearBuilder (G4bool eNucl)
 
virtual ~G4BertiniElectroNuclearBuilder ()=default
 
G4BertiniElectroNuclearBuilderoperator= (const G4BertiniElectroNuclearBuilder &right)=delete
 
 G4BertiniElectroNuclearBuilder (const G4BertiniElectroNuclearBuilder &)=delete
 

Additional Inherited Members

- Protected Attributes inherited from G4BertiniElectroNuclearBuilder
G4HadronInelasticProcessthePhotoNuclearProcess {nullptr}
 
G4CascadeInterfacetheGammaReaction {nullptr}
 
G4bool eActivated
 

Detailed Description

Definition at line 31 of file G4LENDBertiniGammaElectroNuclearBuilder.hh.

Constructor & Destructor Documentation

◆ G4LENDBertiniGammaElectroNuclearBuilder() [1/2]

G4LENDBertiniGammaElectroNuclearBuilder::G4LENDBertiniGammaElectroNuclearBuilder ( G4bool eNucl)
explicit

◆ ~G4LENDBertiniGammaElectroNuclearBuilder()

G4LENDBertiniGammaElectroNuclearBuilder::~G4LENDBertiniGammaElectroNuclearBuilder ( )
overridedefault

◆ G4LENDBertiniGammaElectroNuclearBuilder() [2/2]

G4LENDBertiniGammaElectroNuclearBuilder::G4LENDBertiniGammaElectroNuclearBuilder ( const G4LENDBertiniGammaElectroNuclearBuilder & )
delete

Member Function Documentation

◆ Build()

void G4LENDBertiniGammaElectroNuclearBuilder::Build ( )
overridevirtual

Reimplemented from G4BertiniElectroNuclearBuilder.

Definition at line 54 of file G4LENDBertiniGammaElectroNuclearBuilder.cc.

55{
56 //G4cout << "G4LENDBertiniGammaElectroNuclearBuilder::Build()" << G4endl;
57
59
60 if ( !G4FindDataDir("G4LENDDATA") ) {
61 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";
62 G4Exception( "G4LENDBertiniGammaElectroNuclearBuilder::Build()"
63 , "G4LENDBertiniGammaElectroNuclearBuilder001"
64 , JustWarning , message);
65 return;
66 }
67
69 G4LENDorBERTModel* theGammaReactionLowE = new G4LENDorBERTModel( G4Gamma::Gamma() );
70 theGammaReactionLowE->DumpLENDTargetInfo(true);
71 G4LENDCombinedCrossSection* theGammaCrossSectionLowE = new G4LENDCombinedCrossSection( G4Gamma::Gamma() );
72 theGammaReactionLowE->SetMaxEnergy(20*MeV);
73 thePhotoNuclearProcess->RegisterMe(theGammaReactionLowE);
74 thePhotoNuclearProcess->AddDataSet(theGammaCrossSectionLowE);
75}
const char * G4FindDataDir(const char *)
@ JustWarning
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4HadronInelasticProcess * thePhotoNuclearProcess
static G4Gamma * Gamma()
Definition G4Gamma.cc:81
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
void DumpLENDTargetInfo(G4bool force=false)

◆ operator=()

G4LENDBertiniGammaElectroNuclearBuilder & G4LENDBertiniGammaElectroNuclearBuilder::operator= ( const G4LENDBertiniGammaElectroNuclearBuilder & right)
delete

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