Geant4  10.02.p03
G4EmProcessOptions Class Reference

#include <G4EmProcessOptions.hh>

Collaboration diagram for G4EmProcessOptions:

Public Member Functions

 G4EmProcessOptions ()
 
 ~G4EmProcessOptions ()
 
void SetLossFluctuations (G4bool val)
 
void SetBuildCSDARange (G4bool val)
 
void SetLPMFlag (G4bool val)
 
void SetSplineFlag (G4bool val)
 
void SetUseCutAsFinalRange (G4bool val)
 
void SetApplyCuts (G4bool val)
 
void SetFluo (G4bool val)
 
void SetAuger (G4bool val)
 
void SetPIXE (G4bool val)
 
void SetDeexcitationIgnoreCuts (G4bool val)
 
void SetMscLateralDisplacement (G4bool val)
 
void SetMscMuHadLateralDisplacement (G4bool val)
 
void SetDisplacementBeyondSafety (G4bool val)
 
void SetMinSubRange (G4double val)
 
void SetMinEnergy (G4double val)
 
void SetMaxEnergy (G4double val)
 
void SetMaxEnergyForMuons (G4double val)
 
void SetMaxEnergyForCSDARange (G4double val)
 
void SetLinearLossLimit (G4double val)
 
void SetBremsstrahlungTh (G4double val)
 
void SetLambdaFactor (G4double val)
 
void SetFactorForAngleLimit (G4double val)
 
void SetPolarAngleLimit (G4double val)
 
void SetMscRangeFactor (G4double val)
 
void SetMscGeomFactor (G4double val)
 
void SetSkin (G4double val)
 
void SetDEDXBinning (G4int val)
 
void SetDEDXBinningForCSDARange (G4int val)
 
void SetLambdaBinning (G4int val)
 
void SetVerbose (G4int val)
 
void SetWorkerVerbose (G4int val)
 
void SetMscStepLimitation (G4MscStepLimitType val)
 
void SetSubCutoff (G4bool val, const G4Region *r=0)
 
void SetIntegral (G4bool val)
 
void SetStepFunction (G4double v1, G4double v2)
 
void SetDeexcitationActiveRegion (const G4String &rname="", G4bool valDeexcitation=true, G4bool valAuger=true, G4bool valPIXE=true)
 
void SetPIXECrossSectionModel (const G4String &val)
 
void SetPIXEElectronCrossSectionModel (const G4String &val)
 
void SetProcessBiasingFactor (const G4String &name, G4double val, G4bool flag=true)
 
void ActivateForcedInteraction (const G4String &name, G4double length=0.0, const G4String &region="", G4bool flag=true)
 
void ActivateSecondaryBiasing (const G4String &name, const G4String &region, G4double factor, G4double energyLimit)
 
void ActivateSecondaryBiasingForGamma (const G4String &name, const G4String &region, G4double factor, G4double energyLimit)
 

Private Member Functions

G4EmProcessOptionsoperator= (const G4EmProcessOptions &right)
 
 G4EmProcessOptions (const G4EmProcessOptions &)
 

Private Attributes

G4LossTableManagertheManager
 
G4EmParameterstheParameters
 

Detailed Description

Definition at line 64 of file G4EmProcessOptions.hh.

Constructor & Destructor Documentation

◆ G4EmProcessOptions() [1/2]

G4EmProcessOptions::G4EmProcessOptions ( )

Definition at line 69 of file G4EmProcessOptions.cc.

70 {
73 }
static G4LossTableManager * Instance()
G4LossTableManager * theManager
static G4EmParameters * Instance()
G4EmParameters * theParameters
Here is the call graph for this function:

◆ ~G4EmProcessOptions()

G4EmProcessOptions::~G4EmProcessOptions ( )

Definition at line 77 of file G4EmProcessOptions.cc.

78 {}

◆ G4EmProcessOptions() [2/2]

G4EmProcessOptions::G4EmProcessOptions ( const G4EmProcessOptions )
private

Member Function Documentation

◆ ActivateForcedInteraction()

void G4EmProcessOptions::ActivateForcedInteraction ( const G4String name,
G4double  length = 0.0,
const G4String region = "",
G4bool  flag = true 
)

Definition at line 386 of file G4EmProcessOptions.cc.

390 {
391  const std::vector<G4VEnergyLossProcess*>& v =
393  std::vector<G4VEnergyLossProcess*>::const_iterator itr;
394  for(itr = v.begin(); itr != v.end(); ++itr) {
395  G4VEnergyLossProcess* p = *itr;
396  if(p) {
397  if (p->GetProcessName() == name) {
398  p->ActivateForcedInteraction(length,region,flag);
399  }
400  }
401  }
402  const std::vector<G4VEmProcess*>& w =
404  std::vector<G4VEmProcess*>::const_iterator itp;
405  for(itp = w.begin(); itp != w.end(); itp++) {
406  G4VEmProcess* q = *itp;
407  if(q) {
408  if (q->GetProcessName() == name) {
409  q->ActivateForcedInteraction(length,region,flag);
410  }
411  }
412  }
413 }
void ActivateForcedInteraction(G4double length=0.0, const G4String &r="", G4bool flag=true)
G4String name
Definition: TRTMaterials.hh:40
void ActivateForcedInteraction(G4double length=0.0, const G4String &region="", G4bool flag=true)
const std::vector< G4VEmProcess * > & GetEmProcessVector()
const G4String & GetProcessName() const
Definition: G4VProcess.hh:408
const std::vector< G4VEnergyLossProcess * > & GetEnergyLossProcessVector()
G4LossTableManager * theManager
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ActivateSecondaryBiasing()

void G4EmProcessOptions::ActivateSecondaryBiasing ( const G4String name,
const G4String region,
G4double  factor,
G4double  energyLimit 
)

Definition at line 418 of file G4EmProcessOptions.cc.

422 {
423  if(0.0 > factor) { return; }
424  const std::vector<G4VEnergyLossProcess*>& v =
426  std::vector<G4VEnergyLossProcess*>::const_iterator itr;
427  for(itr = v.begin(); itr != v.end(); ++itr) {
428  G4VEnergyLossProcess* p = *itr;
429  if(p) {
430  if (p->GetProcessName() == name) {
431  p->ActivateSecondaryBiasing(region, factor, energyLimit);
432  }
433  }
434  }
435 }
G4String name
Definition: TRTMaterials.hh:40
void ActivateSecondaryBiasing(const G4String &region, G4double factor, G4double energyLimit)
const G4String & GetProcessName() const
Definition: G4VProcess.hh:408
const std::vector< G4VEnergyLossProcess * > & GetEnergyLossProcessVector()
static const G4double factor
G4LossTableManager * theManager
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ActivateSecondaryBiasingForGamma()

void G4EmProcessOptions::ActivateSecondaryBiasingForGamma ( const G4String name,
const G4String region,
G4double  factor,
G4double  energyLimit 
)

Definition at line 440 of file G4EmProcessOptions.cc.

444 {
445  if(0.0 > factor) { return; }
446  const std::vector<G4VEmProcess*>& v =
448  std::vector<G4VEmProcess*>::const_iterator itr;
449  for(itr = v.begin(); itr != v.end(); ++itr) {
450  G4VEmProcess* p = *itr;
451  if(p) {
452  if (p->GetProcessName() == name) {
453  p->ActivateSecondaryBiasing(region, factor, energyLimit);
454  }
455  }
456  }
457 }
G4String name
Definition: TRTMaterials.hh:40
const std::vector< G4VEmProcess * > & GetEmProcessVector()
void ActivateSecondaryBiasing(const G4String &region, G4double factor, G4double energyLimit)
const G4String & GetProcessName() const
Definition: G4VProcess.hh:408
static const G4double factor
G4LossTableManager * theManager
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

G4EmProcessOptions& G4EmProcessOptions::operator= ( const G4EmProcessOptions right)
private

◆ SetApplyCuts()

void G4EmProcessOptions::SetApplyCuts ( G4bool  val)

Definition at line 117 of file G4EmProcessOptions.cc.

118 {
120 }
void SetApplyCuts(G4bool val)
G4EmParameters * theParameters
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetAuger()

void G4EmProcessOptions::SetAuger ( G4bool  val)

Definition at line 131 of file G4EmProcessOptions.cc.

132 {
133  theParameters->SetAuger(val);
134 }
void SetAuger(G4bool val)
G4EmParameters * theParameters
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetBremsstrahlungTh()

void G4EmProcessOptions::SetBremsstrahlungTh ( G4double  val)

Definition at line 215 of file G4EmProcessOptions.cc.

216 {
218 }
void SetBremsstrahlungTh(G4double val)
G4EmParameters * theParameters
Here is the call graph for this function:

◆ SetBuildCSDARange()

void G4EmProcessOptions::SetBuildCSDARange ( G4bool  val)

Definition at line 89 of file G4EmProcessOptions.cc.

90 {
92 }
void SetBuildCSDARange(G4bool val)
G4EmParameters * theParameters
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetDEDXBinning()

void G4EmProcessOptions::SetDEDXBinning ( G4int  val)

Definition at line 264 of file G4EmProcessOptions.cc.

265 {
267 }
void SetNumberOfBins(G4int val)
G4EmParameters * theParameters
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetDEDXBinningForCSDARange()

void G4EmProcessOptions::SetDEDXBinningForCSDARange ( G4int  val)

Definition at line 271 of file G4EmProcessOptions.cc.

272 {}
Here is the caller graph for this function:

◆ SetDeexcitationActiveRegion()

void G4EmProcessOptions::SetDeexcitationActiveRegion ( const G4String rname = "",
G4bool  valDeexcitation = true,
G4bool  valAuger = true,
G4bool  valPIXE = true 
)

Definition at line 326 of file G4EmProcessOptions.cc.

330 {
331  G4VAtomDeexcitation* ad = theManager-> AtomDeexcitation();
332  if(ad) {
333  ad->SetDeexcitationActiveRegion(rname, valDeexcitation,
334  valAuger,valPIXE);
335  }
336 }
void SetDeexcitationActiveRegion(const G4String &rname, G4bool valDeexcitation, G4bool valAuger, G4bool valPIXE)
G4LossTableManager * theManager
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetDeexcitationIgnoreCuts()

void G4EmProcessOptions::SetDeexcitationIgnoreCuts ( G4bool  val)

Definition at line 145 of file G4EmProcessOptions.cc.

146 {
148 }
void SetDeexcitationIgnoreCut(G4bool val)
G4EmParameters * theParameters
Here is the call graph for this function:

◆ SetDisplacementBeyondSafety()

void G4EmProcessOptions::SetDisplacementBeyondSafety ( G4bool  val)

Definition at line 166 of file G4EmProcessOptions.cc.

167 {
169 }
void SetLatDisplacementBeyondSafety(G4bool val)
G4EmParameters * theParameters
Here is the call graph for this function:

◆ SetFactorForAngleLimit()

void G4EmProcessOptions::SetFactorForAngleLimit ( G4double  val)

Definition at line 229 of file G4EmProcessOptions.cc.

230 {
232 }
void SetFactorForAngleLimit(G4double val)
G4EmParameters * theParameters
Here is the call graph for this function:

◆ SetFluo()

void G4EmProcessOptions::SetFluo ( G4bool  val)

Definition at line 124 of file G4EmProcessOptions.cc.

125 {
126  theParameters->SetFluo(val);
127 }
G4EmParameters * theParameters
void SetFluo(G4bool val)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetIntegral()

void G4EmProcessOptions::SetIntegral ( G4bool  val)

Definition at line 311 of file G4EmProcessOptions.cc.

312 {
313  theManager->SetIntegral(val);
314 }
G4LossTableManager * theManager
void SetIntegral(G4bool val)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetLambdaBinning()

void G4EmProcessOptions::SetLambdaBinning ( G4int  val)

Definition at line 276 of file G4EmProcessOptions.cc.

277 {
279 }
void SetNumberOfBins(G4int val)
G4EmParameters * theParameters
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetLambdaFactor()

void G4EmProcessOptions::SetLambdaFactor ( G4double  val)

Definition at line 222 of file G4EmProcessOptions.cc.

223 {
225 }
void SetLambdaFactor(G4double val)
G4EmParameters * theParameters
Here is the call graph for this function:

◆ SetLinearLossLimit()

void G4EmProcessOptions::SetLinearLossLimit ( G4double  val)

Definition at line 208 of file G4EmProcessOptions.cc.

209 {
211 }
void SetLinearLossLimit(G4double val)
G4EmParameters * theParameters
Here is the call graph for this function:

◆ SetLossFluctuations()

void G4EmProcessOptions::SetLossFluctuations ( G4bool  val)

Definition at line 82 of file G4EmProcessOptions.cc.

83 {
85 }
void SetLossFluctuations(G4bool val)
G4EmParameters * theParameters
Here is the call graph for this function:

◆ SetLPMFlag()

void G4EmProcessOptions::SetLPMFlag ( G4bool  val)

Definition at line 96 of file G4EmProcessOptions.cc.

97 {
98  theParameters->SetLPM(val);
99 }
void SetLPM(G4bool val)
G4EmParameters * theParameters
Here is the call graph for this function:

◆ SetMaxEnergy()

void G4EmProcessOptions::SetMaxEnergy ( G4double  val)

Definition at line 187 of file G4EmProcessOptions.cc.

188 {
190 }
void SetMaxEnergy(G4double val)
G4EmParameters * theParameters
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetMaxEnergyForCSDARange()

void G4EmProcessOptions::SetMaxEnergyForCSDARange ( G4double  val)

Definition at line 201 of file G4EmProcessOptions.cc.

202 {
204 }
void SetMaxEnergyForCSDARange(G4double val)
G4EmParameters * theParameters
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetMaxEnergyForMuons()

void G4EmProcessOptions::SetMaxEnergyForMuons ( G4double  val)

Definition at line 194 of file G4EmProcessOptions.cc.

195 {
197 }
void SetMaxEnergy(G4double val)
G4EmParameters * theParameters
Here is the call graph for this function:

◆ SetMinEnergy()

void G4EmProcessOptions::SetMinEnergy ( G4double  val)

Definition at line 180 of file G4EmProcessOptions.cc.

181 {
183 }
void SetMinEnergy(G4double val)
G4EmParameters * theParameters
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetMinSubRange()

void G4EmProcessOptions::SetMinSubRange ( G4double  val)

Definition at line 173 of file G4EmProcessOptions.cc.

174 {
176 }
void SetMinSubRange(G4double val)
G4EmParameters * theParameters
Here is the call graph for this function:

◆ SetMscGeomFactor()

void G4EmProcessOptions::SetMscGeomFactor ( G4double  val)

Definition at line 250 of file G4EmProcessOptions.cc.

251 {
253 }
void SetMscGeomFactor(G4double val)
G4EmParameters * theParameters
Here is the call graph for this function:

◆ SetMscLateralDisplacement()

void G4EmProcessOptions::SetMscLateralDisplacement ( G4bool  val)

Definition at line 152 of file G4EmProcessOptions.cc.

153 {
155 }
void SetLateralDisplacement(G4bool val)
G4EmParameters * theParameters
Here is the call graph for this function:

◆ SetMscMuHadLateralDisplacement()

void G4EmProcessOptions::SetMscMuHadLateralDisplacement ( G4bool  val)

Definition at line 159 of file G4EmProcessOptions.cc.

160 {
162 }
void SetMuHadLateralDisplacement(G4bool val)
G4EmParameters * theParameters
Here is the call graph for this function:

◆ SetMscRangeFactor()

void G4EmProcessOptions::SetMscRangeFactor ( G4double  val)

Definition at line 243 of file G4EmProcessOptions.cc.

244 {
246 }
void SetMscRangeFactor(G4double val)
G4EmParameters * theParameters
Here is the call graph for this function:

◆ SetMscStepLimitation()

void G4EmProcessOptions::SetMscStepLimitation ( G4MscStepLimitType  val)

Definition at line 297 of file G4EmProcessOptions.cc.

298 {
300 }
void SetMscStepLimitType(G4MscStepLimitType val)
G4EmParameters * theParameters
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetPIXE()

void G4EmProcessOptions::SetPIXE ( G4bool  val)

Definition at line 138 of file G4EmProcessOptions.cc.

139 {
140  theParameters->SetPixe(val);
141 }
void SetPixe(G4bool val)
G4EmParameters * theParameters
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetPIXECrossSectionModel()

void G4EmProcessOptions::SetPIXECrossSectionModel ( const G4String val)

Definition at line 340 of file G4EmProcessOptions.cc.

341 {
343 }
void SetPIXECrossSectionModel(const G4String &)
G4EmParameters * theParameters
Here is the call graph for this function:

◆ SetPIXEElectronCrossSectionModel()

void G4EmProcessOptions::SetPIXEElectronCrossSectionModel ( const G4String val)

Definition at line 348 of file G4EmProcessOptions.cc.

349 {
351 }
void SetPIXEElectronCrossSectionModel(const G4String &)
G4EmParameters * theParameters
Here is the call graph for this function:

◆ SetPolarAngleLimit()

void G4EmProcessOptions::SetPolarAngleLimit ( G4double  val)

Definition at line 236 of file G4EmProcessOptions.cc.

237 {
239 }
void SetMscThetaLimit(G4double val)
G4EmParameters * theParameters
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetProcessBiasingFactor()

void G4EmProcessOptions::SetProcessBiasingFactor ( const G4String name,
G4double  val,
G4bool  flag = true 
)

Definition at line 356 of file G4EmProcessOptions.cc.

358 {
359  const std::vector<G4VEnergyLossProcess*>& v =
361  std::vector<G4VEnergyLossProcess*>::const_iterator itr;
362  for(itr = v.begin(); itr != v.end(); ++itr) {
363  G4VEnergyLossProcess* p = *itr;
364  if(p) {
365  if (p->GetProcessName() == name) {
366  p->SetCrossSectionBiasingFactor(val, flag);
367  }
368  }
369  }
370  const std::vector<G4VEmProcess*>& w =
372  std::vector<G4VEmProcess*>::const_iterator itp;
373  for(itp = w.begin(); itp != w.end(); itp++) {
374  G4VEmProcess* q = *itp;
375  if(q) {
376  if (q->GetProcessName() == name) {
377  q->SetCrossSectionBiasingFactor(val, flag);
378  }
379  }
380  }
381 }
G4String name
Definition: TRTMaterials.hh:40
const std::vector< G4VEmProcess * > & GetEmProcessVector()
void SetCrossSectionBiasingFactor(G4double f, G4bool flag=true)
const G4String & GetProcessName() const
Definition: G4VProcess.hh:408
void SetCrossSectionBiasingFactor(G4double f, G4bool flag=true)
const std::vector< G4VEnergyLossProcess * > & GetEnergyLossProcessVector()
G4LossTableManager * theManager
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetSkin()

void G4EmProcessOptions::SetSkin ( G4double  val)

Definition at line 257 of file G4EmProcessOptions.cc.

258 {
260 }
G4EmParameters * theParameters
void SetMscSkin(G4double val)
Here is the call graph for this function:

◆ SetSplineFlag()

void G4EmProcessOptions::SetSplineFlag ( G4bool  val)

Definition at line 103 of file G4EmProcessOptions.cc.

104 {
105  theParameters->SetSpline(val);
106 }
void SetSpline(G4bool val)
G4EmParameters * theParameters
Here is the call graph for this function:

◆ SetStepFunction()

void G4EmProcessOptions::SetStepFunction ( G4double  v1,
G4double  v2 
)

Definition at line 318 of file G4EmProcessOptions.cc.

319 {
320  theManager->SetStepFunction(v1, v2);
321 }
void SetStepFunction(G4double v1, G4double v2)
G4LossTableManager * theManager
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetSubCutoff()

void G4EmProcessOptions::SetSubCutoff ( G4bool  val,
const G4Region r = 0 
)

Definition at line 304 of file G4EmProcessOptions.cc.

305 {
306  theManager->SetSubCutoff(val, r);
307 }
void SetSubCutoff(G4bool val, const G4Region *r=0)
G4LossTableManager * theManager
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetUseCutAsFinalRange()

void G4EmProcessOptions::SetUseCutAsFinalRange ( G4bool  val)

Definition at line 110 of file G4EmProcessOptions.cc.

111 {
113 }
void SetUseCutAsFinalRange(G4bool val)
G4EmParameters * theParameters
Here is the call graph for this function:

◆ SetVerbose()

void G4EmProcessOptions::SetVerbose ( G4int  val)

Definition at line 283 of file G4EmProcessOptions.cc.

284 {
286 }
void SetVerbose(G4int val)
G4EmParameters * theParameters
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetWorkerVerbose()

void G4EmProcessOptions::SetWorkerVerbose ( G4int  val)

Definition at line 290 of file G4EmProcessOptions.cc.

291 {
293 }
void SetWorkerVerbose(G4int val)
G4EmParameters * theParameters
Here is the call graph for this function:

Member Data Documentation

◆ theManager

G4LossTableManager* G4EmProcessOptions::theManager
private

Definition at line 171 of file G4EmProcessOptions.hh.

◆ theParameters

G4EmParameters* G4EmProcessOptions::theParameters
private

Definition at line 172 of file G4EmProcessOptions.hh.


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