Geant4-11
Public Member Functions | Private Member Functions | Private Attributes
G4EmLowEParameters Class Reference

#include <G4EmLowEParameters.hh>

Public Member Functions

void AddDNA (const G4String &region, const G4String &type)
 
void AddMicroElec (const G4String &region)
 
G4bool ANSTOFluoDir () const
 
G4bool Auger () const
 
G4bool BeardenFluoDir () const
 
G4bool DeexcitationIgnoreCut () const
 
void DefineRegParamForDeex (G4VAtomDeexcitation *) const
 
G4bool DNAElectronMsc () const
 
G4DNAModelSubType DNAeSolvationSubType () const
 
G4bool DNAFast () const
 
G4bool DNAStationary () const
 
G4bool Fluo () const
 
 G4EmLowEParameters ()
 
 G4EmLowEParameters (G4EmLowEParameters &)=delete
 
void Initialise ()
 
const G4StringLivermoreDataDir ()
 
G4EmLowEParametersoperator= (const G4EmLowEParameters &right)=delete
 
G4bool Pixe () const
 
const G4StringPIXECrossSectionModel ()
 
const G4StringPIXEElectronCrossSectionModel ()
 
const std::vector< G4String > & RegionsDNA () const
 
const std::vector< G4String > & RegionsMicroElec () const
 
void SetANSTOFluoDir (G4bool val)
 
void SetAuger (G4bool val)
 
void SetBeardenFluoDir (G4bool val)
 
void SetDeexActiveRegion (const G4String &region, G4bool fdeex, G4bool fauger, G4bool fpixe)
 
void SetDeexcitationIgnoreCut (G4bool val)
 
void SetDNAElectronMsc (G4bool val)
 
void SetDNAeSolvationSubType (G4DNAModelSubType val)
 
void SetDNAFast (G4bool val)
 
void SetDNAStationary (G4bool val)
 
void SetFluo (G4bool val)
 
void SetLivermoreDataDir (const G4String &)
 
void SetPixe (G4bool val)
 
void SetPIXECrossSectionModel (const G4String &)
 
void SetPIXEElectronCrossSectionModel (const G4String &)
 
const std::vector< G4String > & TypesDNA () const
 
 ~G4EmLowEParameters ()
 

Private Member Functions

G4String CheckRegion (const G4String &) const
 
void PrintWarning (G4ExceptionDescription &ed) const
 

Private Attributes

G4bool auger
 
G4bool beardenFluoDir
 
G4bool deexIgnoreCut
 
G4DNAModelSubType dnaElectronSolvation
 
G4bool dnaFast
 
G4bool dnaMsc
 
G4bool dnaStationary
 
G4bool fANSTOFluoDir
 
G4bool fluo
 
G4String livDataDir
 
std::vector< G4boolm_auger
 
std::vector< G4boolm_fluo
 
std::vector< G4boolm_pixe
 
std::vector< G4Stringm_regnamesDeex
 
std::vector< G4Stringm_regnamesDNA
 
std::vector< G4Stringm_regnamesME
 
std::vector< G4Stringm_typesDNA
 
G4String nameElectronPIXE
 
G4String namePIXE
 
G4bool pixe
 
G4EmLowEParametersMessengertheMessenger
 

Detailed Description

Definition at line 58 of file G4EmLowEParameters.hh.

Constructor & Destructor Documentation

◆ G4EmLowEParameters() [1/2]

G4EmLowEParameters::G4EmLowEParameters ( )
explicit

Definition at line 53 of file G4EmLowEParameters.cc.

References Initialise(), and theMessenger.

◆ ~G4EmLowEParameters()

G4EmLowEParameters::~G4EmLowEParameters ( )

Definition at line 61 of file G4EmLowEParameters.cc.

62{
63 delete theMessenger;
64}

References theMessenger.

◆ G4EmLowEParameters() [2/2]

G4EmLowEParameters::G4EmLowEParameters ( G4EmLowEParameters )
delete

Member Function Documentation

◆ AddDNA()

void G4EmLowEParameters::AddDNA ( const G4String region,
const G4String type 
)

Definition at line 250 of file G4EmLowEParameters.cc.

251{
252 G4String r = CheckRegion(region);
253 G4int nreg = m_regnamesDNA.size();
254 for(G4int i=0; i<nreg; ++i) {
255 if(r == m_regnamesDNA[i]) { return; }
256 }
257 m_regnamesDNA.push_back(r);
258 m_typesDNA.push_back(type);
259}
int G4int
Definition: G4Types.hh:85
std::vector< G4String > m_typesDNA
G4String CheckRegion(const G4String &) const
std::vector< G4String > m_regnamesDNA

References CheckRegion(), m_regnamesDNA, and m_typesDNA.

Referenced by G4EmParameters::AddDNA(), and G4EmLowEParametersMessenger::SetNewValue().

◆ AddMicroElec()

void G4EmLowEParameters::AddMicroElec ( const G4String region)

Definition at line 235 of file G4EmLowEParameters.cc.

236{
237 G4String r = CheckRegion(region);
238 G4int nreg = m_regnamesME.size();
239 for(G4int i=0; i<nreg; ++i) {
240 if(r == m_regnamesME[i]) { return; }
241 }
242 m_regnamesME.push_back(r);
243}
std::vector< G4String > m_regnamesME

References CheckRegion(), and m_regnamesME.

Referenced by G4EmParameters::AddMicroElec(), and G4EmLowEParametersMessenger::SetNewValue().

◆ ANSTOFluoDir()

G4bool G4EmLowEParameters::ANSTOFluoDir ( ) const

Definition at line 114 of file G4EmLowEParameters.cc.

115{
116 return fANSTOFluoDir;
117}

References fANSTOFluoDir.

Referenced by G4EmParameters::ANSTOFluoDir(), and G4EmParameters::StreamInfo().

◆ Auger()

G4bool G4EmLowEParameters::Auger ( ) const

Definition at line 125 of file G4EmLowEParameters.cc.

126{
127 return auger;
128}

References auger.

Referenced by G4EmParameters::Auger(), and G4EmParameters::StreamInfo().

◆ BeardenFluoDir()

G4bool G4EmLowEParameters::BeardenFluoDir ( ) const

Definition at line 104 of file G4EmLowEParameters.cc.

105{
106 return beardenFluoDir;
107}

References beardenFluoDir.

Referenced by G4EmParameters::BeardenFluoDir(), and G4EmParameters::StreamInfo().

◆ CheckRegion()

G4String G4EmLowEParameters::CheckRegion ( const G4String reg) const
private

Definition at line 226 of file G4EmLowEParameters.cc.

227{
228 G4String r = reg;
229 if(r == "" || r == "world" || r == "World") {
230 r = "DefaultRegionForTheWorld";
231 }
232 return r;
233}
static const G4double reg

References reg.

Referenced by AddDNA(), AddMicroElec(), and SetDeexActiveRegion().

◆ DeexcitationIgnoreCut()

G4bool G4EmLowEParameters::DeexcitationIgnoreCut ( ) const

Definition at line 146 of file G4EmLowEParameters.cc.

147{
148 return deexIgnoreCut;
149}

References deexIgnoreCut.

Referenced by G4EmParameters::DeexcitationIgnoreCut(), and G4EmParameters::StreamInfo().

◆ DefineRegParamForDeex()

void G4EmLowEParameters::DefineRegParamForDeex ( G4VAtomDeexcitation ptr) const

Definition at line 299 of file G4EmLowEParameters.cc.

300{
301 G4int n = m_regnamesDeex.size();
302 for(G4int i=0; i<n; ++i) {
304 m_fluo[i], m_auger[i], m_pixe[i]);
305 }
306}
std::vector< G4String > m_regnamesDeex
std::vector< G4bool > m_pixe
std::vector< G4bool > m_fluo
std::vector< G4bool > m_auger
void SetDeexcitationActiveRegion(const G4String &rname, G4bool valDeexcitation, G4bool valAuger, G4bool valPIXE)

References m_auger, m_fluo, m_pixe, m_regnamesDeex, CLHEP::detail::n, and G4VAtomDeexcitation::SetDeexcitationActiveRegion().

Referenced by G4EmParameters::DefineRegParamForDeex().

◆ DNAElectronMsc()

G4bool G4EmLowEParameters::DNAElectronMsc ( ) const

Definition at line 176 of file G4EmLowEParameters.cc.

177{
178 return dnaMsc;
179}

References dnaMsc.

Referenced by G4EmParameters::DNAElectronMsc(), and G4EmParameters::StreamInfo().

◆ DNAeSolvationSubType()

G4DNAModelSubType G4EmLowEParameters::DNAeSolvationSubType ( ) const

Definition at line 186 of file G4EmLowEParameters.cc.

187{
189}
G4DNAModelSubType dnaElectronSolvation

References dnaElectronSolvation.

Referenced by G4EmParameters::DNAeSolvationSubType(), and G4EmParameters::StreamInfo().

◆ DNAFast()

G4bool G4EmLowEParameters::DNAFast ( ) const

Definition at line 156 of file G4EmLowEParameters.cc.

157{
158 return dnaFast;
159}

References dnaFast.

Referenced by G4EmParameters::DNAFast(), and G4EmParameters::StreamInfo().

◆ DNAStationary()

G4bool G4EmLowEParameters::DNAStationary ( ) const

Definition at line 166 of file G4EmLowEParameters.cc.

167{
168 return dnaStationary;
169}

References dnaStationary.

Referenced by G4EmParameters::DNAStationary(), and G4EmParameters::StreamInfo().

◆ Fluo()

G4bool G4EmLowEParameters::Fluo ( ) const

Definition at line 94 of file G4EmLowEParameters.cc.

95{
96 return fluo;
97}

References fluo.

Referenced by G4EmParameters::Fluo(), and G4EmParameters::StreamInfo().

◆ Initialise()

void G4EmLowEParameters::Initialise ( )

Definition at line 68 of file G4EmLowEParameters.cc.

69{
70 fluo = false;
71 beardenFluoDir = false;
72 fANSTOFluoDir = false;
73 auger = false;
74 pixe = false;
75 deexIgnoreCut = false;
76
77 dnaFast = false;
78 dnaStationary = false;
79 dnaMsc = false;
81
82 namePIXE = "Empirical";
83 nameElectronPIXE = "Livermore";
84 livDataDir = "livermore";
85}
@ fMeesungnoen2002eSolvation

References auger, beardenFluoDir, deexIgnoreCut, dnaElectronSolvation, dnaFast, dnaMsc, dnaStationary, fANSTOFluoDir, fluo, fMeesungnoen2002eSolvation, livDataDir, nameElectronPIXE, namePIXE, and pixe.

Referenced by G4EmLowEParameters(), and G4EmParameters::SetDefaults().

◆ LivermoreDataDir()

const G4String & G4EmLowEParameters::LivermoreDataDir ( )

Definition at line 216 of file G4EmLowEParameters.cc.

217{
218 return livDataDir;
219}

References livDataDir.

Referenced by G4EmParameters::LivermoreDataDir(), and G4EmParameters::StreamInfo().

◆ operator=()

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

◆ Pixe()

G4bool G4EmLowEParameters::Pixe ( ) const

Definition at line 136 of file G4EmLowEParameters.cc.

137{
138 return pixe;
139}

References pixe.

Referenced by G4EmParameters::Pixe(), and G4EmParameters::StreamInfo().

◆ PIXECrossSectionModel()

const G4String & G4EmLowEParameters::PIXECrossSectionModel ( )

Definition at line 196 of file G4EmLowEParameters.cc.

197{
198 return namePIXE;
199}

References namePIXE.

Referenced by G4EmParameters::PIXECrossSectionModel(), and G4EmParameters::StreamInfo().

◆ PIXEElectronCrossSectionModel()

const G4String & G4EmLowEParameters::PIXEElectronCrossSectionModel ( )

Definition at line 206 of file G4EmLowEParameters.cc.

207{
208 return nameElectronPIXE;
209}

References nameElectronPIXE.

Referenced by G4EmParameters::PIXEElectronCrossSectionModel(), and G4EmParameters::StreamInfo().

◆ PrintWarning()

void G4EmLowEParameters::PrintWarning ( G4ExceptionDescription ed) const
private

Definition at line 221 of file G4EmLowEParameters.cc.

222{
223 G4Exception("G4EmLowEParameters", "em0044", JustWarning, ed);
224}
@ JustWarning
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
Definition: G4Exception.cc:35

References G4Exception(), and JustWarning.

◆ RegionsDNA()

const std::vector< G4String > & G4EmLowEParameters::RegionsDNA ( ) const

Definition at line 261 of file G4EmLowEParameters.cc.

262{
263 return m_regnamesDNA;
264}

References m_regnamesDNA.

Referenced by G4EmParameters::RegionsDNA().

◆ RegionsMicroElec()

const std::vector< G4String > & G4EmLowEParameters::RegionsMicroElec ( ) const

Definition at line 245 of file G4EmLowEParameters.cc.

246{
247 return m_regnamesME;
248}

References m_regnamesME.

Referenced by G4EmParameters::RegionsMicroElec().

◆ SetANSTOFluoDir()

void G4EmLowEParameters::SetANSTOFluoDir ( G4bool  val)

Definition at line 109 of file G4EmLowEParameters.cc.

110{
111 fANSTOFluoDir = val;
112}

References fANSTOFluoDir.

Referenced by G4EmParameters::SetANSTOFluoDir(), and G4EmLowEParametersMessenger::SetNewValue().

◆ SetAuger()

void G4EmLowEParameters::SetAuger ( G4bool  val)

Definition at line 119 of file G4EmLowEParameters.cc.

120{
121 auger = val;
122 if(val) { fluo = true; }
123}

References auger, and fluo.

Referenced by G4EmParameters::SetAuger(), and G4EmLowEParametersMessenger::SetNewValue().

◆ SetBeardenFluoDir()

void G4EmLowEParameters::SetBeardenFluoDir ( G4bool  val)

Definition at line 99 of file G4EmLowEParameters.cc.

100{
101 beardenFluoDir = val;
102}

References beardenFluoDir.

Referenced by G4EmParameters::SetBeardenFluoDir(), and G4EmLowEParametersMessenger::SetNewValue().

◆ SetDeexActiveRegion()

void G4EmLowEParameters::SetDeexActiveRegion ( const G4String region,
G4bool  fdeex,
G4bool  fauger,
G4bool  fpixe 
)

Definition at line 272 of file G4EmLowEParameters.cc.

274{
275 if(fdeex) { fluo = true; }
276 G4String r = CheckRegion(region);
277 G4int nreg = m_regnamesDeex.size();
278 if(0 == nreg && r != "DefaultRegionForTheWorld") {
279 m_regnamesDeex.push_back("DefaultRegionForTheWorld");
280 m_fluo.push_back(false);
281 m_auger.push_back(false);
282 m_pixe.push_back(false);
283 nreg = 1;
284 }
285 for(G4int i=0; i<nreg; ++i) {
286 if(r == m_regnamesDeex[i]) {
287 m_fluo[i] = fdeex;
288 m_auger[i]= fauger;
289 m_pixe[i] = fpixe;
290 return;
291 }
292 }
293 m_regnamesDeex.push_back(r);
294 m_fluo.push_back(fdeex);
295 m_auger.push_back(fauger);
296 m_pixe.push_back(fpixe);
297}

References CheckRegion(), fluo, m_auger, m_fluo, m_pixe, and m_regnamesDeex.

Referenced by G4EmParameters::SetDeexActiveRegion(), and G4EmLowEParametersMessenger::SetNewValue().

◆ SetDeexcitationIgnoreCut()

void G4EmLowEParameters::SetDeexcitationIgnoreCut ( G4bool  val)

◆ SetDNAElectronMsc()

void G4EmLowEParameters::SetDNAElectronMsc ( G4bool  val)

Definition at line 171 of file G4EmLowEParameters.cc.

172{
173 dnaMsc = val;
174}

References dnaMsc.

Referenced by G4EmParameters::SetDNAElectronMsc(), and G4EmLowEParametersMessenger::SetNewValue().

◆ SetDNAeSolvationSubType()

void G4EmLowEParameters::SetDNAeSolvationSubType ( G4DNAModelSubType  val)

◆ SetDNAFast()

void G4EmLowEParameters::SetDNAFast ( G4bool  val)

Definition at line 151 of file G4EmLowEParameters.cc.

152{
153 dnaFast = val;
154}

References dnaFast.

Referenced by G4EmParameters::SetDNAFast(), and G4EmLowEParametersMessenger::SetNewValue().

◆ SetDNAStationary()

void G4EmLowEParameters::SetDNAStationary ( G4bool  val)

Definition at line 161 of file G4EmLowEParameters.cc.

162{
163 dnaStationary = val;
164}

References dnaStationary.

Referenced by G4EmParameters::SetDNAStationary(), and G4EmLowEParametersMessenger::SetNewValue().

◆ SetFluo()

void G4EmLowEParameters::SetFluo ( G4bool  val)

Definition at line 89 of file G4EmLowEParameters.cc.

90{
91 fluo = val;
92}

References fluo.

Referenced by G4EmParameters::SetFluo(), and G4EmLowEParametersMessenger::SetNewValue().

◆ SetLivermoreDataDir()

void G4EmLowEParameters::SetLivermoreDataDir ( const G4String sss)

Definition at line 211 of file G4EmLowEParameters.cc.

212{
213 livDataDir = sss;
214}
static const char sss[MAX_N_PAR+2]
Definition: Evaluator.cc:63

References livDataDir, and sss.

Referenced by G4EmParameters::SetLivermoreDataDir(), and G4EmLowEParametersMessenger::SetNewValue().

◆ SetPixe()

void G4EmLowEParameters::SetPixe ( G4bool  val)

Definition at line 130 of file G4EmLowEParameters.cc.

131{
132 pixe = val;
133 if(val) { fluo = true; }
134}

References fluo, and pixe.

Referenced by G4EmLowEParametersMessenger::SetNewValue(), and G4EmParameters::SetPixe().

◆ SetPIXECrossSectionModel()

void G4EmLowEParameters::SetPIXECrossSectionModel ( const G4String sss)

Definition at line 191 of file G4EmLowEParameters.cc.

192{
193 namePIXE = sss;
194}

References namePIXE, and sss.

Referenced by G4EmLowEParametersMessenger::SetNewValue(), and G4EmParameters::SetPIXECrossSectionModel().

◆ SetPIXEElectronCrossSectionModel()

void G4EmLowEParameters::SetPIXEElectronCrossSectionModel ( const G4String sss)

◆ TypesDNA()

const std::vector< G4String > & G4EmLowEParameters::TypesDNA ( ) const

Definition at line 266 of file G4EmLowEParameters.cc.

267{
268 return m_typesDNA;
269}

References m_typesDNA.

Referenced by G4EmParameters::TypesDNA().

Field Documentation

◆ auger

G4bool G4EmLowEParameters::auger
private

Definition at line 139 of file G4EmLowEParameters.hh.

Referenced by Auger(), Initialise(), and SetAuger().

◆ beardenFluoDir

G4bool G4EmLowEParameters::beardenFluoDir
private

Definition at line 137 of file G4EmLowEParameters.hh.

Referenced by BeardenFluoDir(), Initialise(), and SetBeardenFluoDir().

◆ deexIgnoreCut

G4bool G4EmLowEParameters::deexIgnoreCut
private

◆ dnaElectronSolvation

G4DNAModelSubType G4EmLowEParameters::dnaElectronSolvation
private

◆ dnaFast

G4bool G4EmLowEParameters::dnaFast
private

Definition at line 143 of file G4EmLowEParameters.hh.

Referenced by DNAFast(), Initialise(), and SetDNAFast().

◆ dnaMsc

G4bool G4EmLowEParameters::dnaMsc
private

Definition at line 145 of file G4EmLowEParameters.hh.

Referenced by DNAElectronMsc(), Initialise(), and SetDNAElectronMsc().

◆ dnaStationary

G4bool G4EmLowEParameters::dnaStationary
private

Definition at line 144 of file G4EmLowEParameters.hh.

Referenced by DNAStationary(), Initialise(), and SetDNAStationary().

◆ fANSTOFluoDir

G4bool G4EmLowEParameters::fANSTOFluoDir
private

Definition at line 138 of file G4EmLowEParameters.hh.

Referenced by ANSTOFluoDir(), Initialise(), and SetANSTOFluoDir().

◆ fluo

G4bool G4EmLowEParameters::fluo
private

Definition at line 136 of file G4EmLowEParameters.hh.

Referenced by Fluo(), Initialise(), SetAuger(), SetDeexActiveRegion(), SetFluo(), and SetPixe().

◆ livDataDir

G4String G4EmLowEParameters::livDataDir
private

Definition at line 151 of file G4EmLowEParameters.hh.

Referenced by Initialise(), LivermoreDataDir(), and SetLivermoreDataDir().

◆ m_auger

std::vector<G4bool> G4EmLowEParameters::m_auger
private

Definition at line 160 of file G4EmLowEParameters.hh.

Referenced by DefineRegParamForDeex(), and SetDeexActiveRegion().

◆ m_fluo

std::vector<G4bool> G4EmLowEParameters::m_fluo
private

Definition at line 159 of file G4EmLowEParameters.hh.

Referenced by DefineRegParamForDeex(), and SetDeexActiveRegion().

◆ m_pixe

std::vector<G4bool> G4EmLowEParameters::m_pixe
private

Definition at line 161 of file G4EmLowEParameters.hh.

Referenced by DefineRegParamForDeex(), and SetDeexActiveRegion().

◆ m_regnamesDeex

std::vector<G4String> G4EmLowEParameters::m_regnamesDeex
private

Definition at line 158 of file G4EmLowEParameters.hh.

Referenced by DefineRegParamForDeex(), and SetDeexActiveRegion().

◆ m_regnamesDNA

std::vector<G4String> G4EmLowEParameters::m_regnamesDNA
private

Definition at line 155 of file G4EmLowEParameters.hh.

Referenced by AddDNA(), and RegionsDNA().

◆ m_regnamesME

std::vector<G4String> G4EmLowEParameters::m_regnamesME
private

Definition at line 153 of file G4EmLowEParameters.hh.

Referenced by AddMicroElec(), and RegionsMicroElec().

◆ m_typesDNA

std::vector<G4String> G4EmLowEParameters::m_typesDNA
private

Definition at line 156 of file G4EmLowEParameters.hh.

Referenced by AddDNA(), and TypesDNA().

◆ nameElectronPIXE

G4String G4EmLowEParameters::nameElectronPIXE
private

◆ namePIXE

G4String G4EmLowEParameters::namePIXE
private

◆ pixe

G4bool G4EmLowEParameters::pixe
private

Definition at line 140 of file G4EmLowEParameters.hh.

Referenced by Initialise(), Pixe(), and SetPixe().

◆ theMessenger

G4EmLowEParametersMessenger* G4EmLowEParameters::theMessenger
private

Definition at line 134 of file G4EmLowEParameters.hh.

Referenced by G4EmLowEParameters(), and ~G4EmLowEParameters().


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