Geant4  10.03
G4GenericBiasingPhysics Class Reference

#include <G4GenericBiasingPhysics.hh>

+ Inheritance diagram for G4GenericBiasingPhysics:
+ Collaboration diagram for G4GenericBiasingPhysics:

Public Member Functions

 G4GenericBiasingPhysics (const G4String &name="BiasingP")
 
virtual ~G4GenericBiasingPhysics ()
 
void PhysicsBias (const G4String &particleName)
 
void PhysicsBias (const G4String &particleName, const std::vector< G4String > &processToBiasNames)
 
void NonPhysicsBias (const G4String &particleName)
 
void Bias (const G4String &particleName)
 
void Bias (const G4String &particleName, const std::vector< G4String > &processToBiasNames)
 
void PhysicsBiasAddPDGRange (G4int PDGlow, G4int PDGhigh, G4bool includeAntiParticle=true)
 
void NonPhysicsBiasAddPDGRange (G4int PDGlow, G4int PDGhigh, G4bool includeAntiParticle=true)
 
void BiasAddPDGRange (G4int PDGlow, G4int PDGhigh, G4bool includeAntiParticle=true)
 
void PhysicsBiasAllCharged (G4bool includeShortLived=false)
 
void NonPhysicsBiasAllCharged (G4bool includeShortLived=false)
 
void BiasAllCharged (G4bool includeShortLived=false)
 
void PhysicsBiasAllNeutral (G4bool includeShortLived=false)
 
void NonPhysicsBiasAllNeutral (G4bool includeShortLived=false)
 
void BiasAllNeutral (G4bool includeShortLived=false)
 
void AddParallelGeometry (const G4String &particleName, const G4String &parallelGeometryName)
 
void AddParallelGeometry (const G4String &particleName, const std::vector< G4String > &parallelGeometryNames)
 
void AddParallelGeometry (G4int PDGlow, G4int PDGhigh, const G4String &parallelGeometryName, G4bool includeAntiParticle=true)
 
void AddParallelGeometry (G4int PDGlow, G4int PDGhigh, const std::vector< G4String > &parallelGeometryNames, G4bool includeAntiParticle=true)
 
void AddParallelGeometryAllCharged (const G4String &parallelGeometryName, G4bool includeShortLived=false)
 
void AddParallelGeometryAllCharged (const std::vector< G4String > &parallelGeometryNames, G4bool includeShortLived=false)
 
void AddParallelGeometryAllNeutral (const G4String &parallelGeometryName, G4bool includeShortLived=false)
 
void AddParallelGeometryAllNeutral (const std::vector< G4String > &parallelGeometryNames, G4bool includeShortLived=false)
 
void BeVerbose ()
 
virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 
- Public Member Functions inherited from G4VPhysicsConstructor
 G4VPhysicsConstructor (const G4String &="")
 
 G4VPhysicsConstructor (const G4String &name, G4int physics_type)
 
virtual ~G4VPhysicsConstructor ()
 
void SetPhysicsName (const G4String &="")
 
const G4StringGetPhysicsName () const
 
void SetPhysicsType (G4int)
 
G4int GetPhysicsType () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
G4int GetInstanceID () const
 

Private Member Functions

G4GenericBiasingPhysicsoperator= (const G4GenericBiasingPhysics &right)
 
 G4GenericBiasingPhysics (const G4GenericBiasingPhysics &)
 
void AssociateParallelGeometries ()
 

Private Attributes

std::vector< G4StringfBiasedParticles
 
std::vector< G4boolfBiasAllProcesses
 
std::vector< std::vector
< G4String > > 
fBiasedProcesses
 
std::vector< G4StringfNonPhysBiasedParticles
 
std::vector< G4intfPhysBiasByPDGRangeLow
 
std::vector< G4intfPhysBiasByPDGRangeHigh
 
std::vector< G4intfNonPhysBiasByPDGRangeLow
 
std::vector< G4intfNonPhysBiasByPDGRangeHigh
 
G4bool fPhysBiasAllCharged
 
G4bool fNonPhysBiasAllCharged
 
G4bool fPhysBiasAllChargedISL
 
G4bool fNonPhysBiasAllChargedISL
 
G4bool fPhysBiasAllNeutral
 
G4bool fNonPhysBiasAllNeutral
 
G4bool fPhysBiasAllNeutralISL
 
G4bool fNonPhysBiasAllNeutralISL
 
std::vector< G4StringfParticlesWithParallelGeometries
 
std::map< G4String,
std::vector< G4String > > 
fParallelGeometriesForParticle
 
std::vector< G4intfPDGlowParallelGeometries
 
std::vector< G4intfPDGhighParallelGeometries
 
std::map< G4int, std::vector
< G4String > > 
fPDGrangeParallelGeometries
 
std::vector< G4StringfParallelGeometriesForCharged
 
std::vector< G4StringfParallelGeometriesForNeutral
 
std::vector< G4boolfAllChargedParallelGeometriesISL
 
std::vector< G4boolfAllNeutralParallelGeometriesISL
 
G4bool fVerbose
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VPhysicsConstructor
static const G4VPCManagerGetSubInstanceManager ()
 
- Protected Member Functions inherited from G4VPhysicsConstructor
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
G4ParticleTable::G4PTblDicIteratorGetParticleIterator () const
 
- Protected Attributes inherited from G4VPhysicsConstructor
G4int verboseLevel
 
G4String namePhysics
 
G4int typePhysics
 
G4ParticleTabletheParticleTable
 
G4int g4vpcInstanceID
 
- Static Protected Attributes inherited from G4VPhysicsConstructor
static G4RUN_DLL G4VPCManager subInstanceManager
 

Detailed Description

Definition at line 42 of file G4GenericBiasingPhysics.hh.

Constructor & Destructor Documentation

G4GenericBiasingPhysics::G4GenericBiasingPhysics ( const G4String name = "BiasingP")

Definition at line 60 of file G4GenericBiasingPhysics.cc.

G4GenericBiasingPhysics::~G4GenericBiasingPhysics ( )
virtual

Definition at line 71 of file G4GenericBiasingPhysics.cc.

G4GenericBiasingPhysics::G4GenericBiasingPhysics ( const G4GenericBiasingPhysics )
private

Member Function Documentation

void G4GenericBiasingPhysics::AddParallelGeometry ( const G4String particleName,
const G4String parallelGeometryName 
)

Definition at line 188 of file G4GenericBiasingPhysics.cc.

References fParallelGeometriesForParticle, and fParticlesWithParallelGeometries.

Referenced by AddParallelGeometry(), and main().

+ Here is the caller graph for this function:

void G4GenericBiasingPhysics::AddParallelGeometry ( const G4String particleName,
const std::vector< G4String > &  parallelGeometryNames 
)

Definition at line 218 of file G4GenericBiasingPhysics.cc.

References AddParallelGeometry().

+ Here is the call graph for this function:

void G4GenericBiasingPhysics::AddParallelGeometry ( G4int  PDGlow,
G4int  PDGhigh,
const G4String parallelGeometryName,
G4bool  includeAntiParticle = true 
)
void G4GenericBiasingPhysics::AddParallelGeometry ( G4int  PDGlow,
G4int  PDGhigh,
const std::vector< G4String > &  parallelGeometryNames,
G4bool  includeAntiParticle = true 
)

Definition at line 246 of file G4GenericBiasingPhysics.cc.

References AddParallelGeometry(), G4cout, and G4endl.

+ Here is the call graph for this function:

void G4GenericBiasingPhysics::AddParallelGeometryAllCharged ( const G4String parallelGeometryName,
G4bool  includeShortLived = false 
)

Definition at line 257 of file G4GenericBiasingPhysics.cc.

References fAllChargedParallelGeometriesISL, and fParallelGeometriesForCharged.

Referenced by AddParallelGeometryAllCharged().

+ Here is the caller graph for this function:

void G4GenericBiasingPhysics::AddParallelGeometryAllCharged ( const std::vector< G4String > &  parallelGeometryNames,
G4bool  includeShortLived = false 
)

Definition at line 275 of file G4GenericBiasingPhysics.cc.

References AddParallelGeometryAllCharged().

+ Here is the call graph for this function:

void G4GenericBiasingPhysics::AddParallelGeometryAllNeutral ( const G4String parallelGeometryName,
G4bool  includeShortLived = false 
)

Definition at line 280 of file G4GenericBiasingPhysics.cc.

References fAllNeutralParallelGeometriesISL, and fParallelGeometriesForNeutral.

Referenced by AddParallelGeometryAllNeutral().

+ Here is the caller graph for this function:

void G4GenericBiasingPhysics::AddParallelGeometryAllNeutral ( const std::vector< G4String > &  parallelGeometryNames,
G4bool  includeShortLived = false 
)

Definition at line 298 of file G4GenericBiasingPhysics.cc.

References AddParallelGeometryAllNeutral().

+ Here is the call graph for this function:

void G4GenericBiasingPhysics::AssociateParallelGeometries ( )
private

Definition at line 504 of file G4GenericBiasingPhysics.cc.

References G4BiasingHelper::AddLimiterProcess(), G4ParallelGeometriesLimiterProcess::AddParallelWorld(), fParallelGeometriesForParticle, fParticlesWithParallelGeometries, fPDGhighParallelGeometries, fPDGlowParallelGeometries, fPDGrangeParallelGeometries, G4VPhysicsConstructor::GetParticleIterator(), G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetPDGEncoding(), and G4ParticleDefinition::GetProcessManager().

Referenced by ConstructProcess().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GenericBiasingPhysics::BeVerbose ( )
inline

Definition at line 107 of file G4GenericBiasingPhysics.hh.

References fVerbose.

Referenced by main().

+ Here is the caller graph for this function:

void G4GenericBiasingPhysics::Bias ( const G4String particleName)

Definition at line 103 of file G4GenericBiasingPhysics.cc.

References NonPhysicsBias(), and PhysicsBias().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GenericBiasingPhysics::Bias ( const G4String particleName,
const std::vector< G4String > &  processToBiasNames 
)

Definition at line 111 of file G4GenericBiasingPhysics.cc.

References NonPhysicsBias(), and PhysicsBias().

+ Here is the call graph for this function:

void G4GenericBiasingPhysics::BiasAddPDGRange ( G4int  PDGlow,
G4int  PDGhigh,
G4bool  includeAntiParticle = true 
)

Definition at line 145 of file G4GenericBiasingPhysics.cc.

References G4cout, G4endl, NonPhysicsBiasAddPDGRange(), and PhysicsBiasAddPDGRange().

+ Here is the call graph for this function:

void G4GenericBiasingPhysics::BiasAllCharged ( G4bool  includeShortLived = false)
void G4GenericBiasingPhysics::BiasAllNeutral ( G4bool  includeShortLived = false)
void G4GenericBiasingPhysics::ConstructParticle ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 307 of file G4GenericBiasingPhysics.cc.

void G4GenericBiasingPhysics::NonPhysicsBias ( const G4String particleName)

Definition at line 96 of file G4GenericBiasingPhysics.cc.

References fNonPhysBiasedParticles.

Referenced by Bias(), and main().

+ Here is the caller graph for this function:

void G4GenericBiasingPhysics::NonPhysicsBiasAddPDGRange ( G4int  PDGlow,
G4int  PDGhigh,
G4bool  includeAntiParticle = true 
)

Definition at line 131 of file G4GenericBiasingPhysics.cc.

References fNonPhysBiasByPDGRangeHigh, fNonPhysBiasByPDGRangeLow, G4cout, and G4endl.

Referenced by BiasAddPDGRange().

+ Here is the caller graph for this function:

void G4GenericBiasingPhysics::NonPhysicsBiasAllCharged ( G4bool  includeShortLived = false)
void G4GenericBiasingPhysics::NonPhysicsBiasAllNeutral ( G4bool  includeShortLived = false)
G4GenericBiasingPhysics& G4GenericBiasingPhysics::operator= ( const G4GenericBiasingPhysics right)
private
void G4GenericBiasingPhysics::PhysicsBias ( const G4String particleName)

Definition at line 77 of file G4GenericBiasingPhysics.cc.

References fBiasAllProcesses, fBiasedParticles, and fBiasedProcesses.

Referenced by Bias(), and main().

+ Here is the caller graph for this function:

void G4GenericBiasingPhysics::PhysicsBias ( const G4String particleName,
const std::vector< G4String > &  processToBiasNames 
)

Definition at line 87 of file G4GenericBiasingPhysics.cc.

References fBiasAllProcesses, fBiasedParticles, and fBiasedProcesses.

void G4GenericBiasingPhysics::PhysicsBiasAddPDGRange ( G4int  PDGlow,
G4int  PDGhigh,
G4bool  includeAntiParticle = true 
)

Definition at line 118 of file G4GenericBiasingPhysics.cc.

References fPhysBiasByPDGRangeHigh, fPhysBiasByPDGRangeLow, G4cout, and G4endl.

Referenced by BiasAddPDGRange().

+ Here is the caller graph for this function:

void G4GenericBiasingPhysics::PhysicsBiasAllCharged ( G4bool  includeShortLived = false)

Definition at line 152 of file G4GenericBiasingPhysics.cc.

References fPhysBiasAllCharged, and fPhysBiasAllChargedISL.

void G4GenericBiasingPhysics::PhysicsBiasAllNeutral ( G4bool  includeShortLived = false)

Definition at line 169 of file G4GenericBiasingPhysics.cc.

References fPhysBiasAllNeutral, and fPhysBiasAllNeutralISL.

Member Data Documentation

std::vector< G4bool > G4GenericBiasingPhysics::fAllChargedParallelGeometriesISL
private

Definition at line 148 of file G4GenericBiasingPhysics.hh.

Referenced by AddParallelGeometryAllCharged().

std::vector< G4bool > G4GenericBiasingPhysics::fAllNeutralParallelGeometriesISL
private

Definition at line 148 of file G4GenericBiasingPhysics.hh.

Referenced by AddParallelGeometryAllNeutral().

std::vector< G4bool > G4GenericBiasingPhysics::fBiasAllProcesses
private

Definition at line 127 of file G4GenericBiasingPhysics.hh.

Referenced by ConstructProcess(), and PhysicsBias().

std::vector< G4String > G4GenericBiasingPhysics::fBiasedParticles
private

Definition at line 126 of file G4GenericBiasingPhysics.hh.

Referenced by ConstructProcess(), and PhysicsBias().

std::vector< std::vector< G4String > > G4GenericBiasingPhysics::fBiasedProcesses
private

Definition at line 129 of file G4GenericBiasingPhysics.hh.

Referenced by ConstructProcess(), and PhysicsBias().

G4bool G4GenericBiasingPhysics::fNonPhysBiasAllCharged
private
G4bool G4GenericBiasingPhysics::fNonPhysBiasAllChargedISL
private
G4bool G4GenericBiasingPhysics::fNonPhysBiasAllNeutral
private
G4bool G4GenericBiasingPhysics::fNonPhysBiasAllNeutralISL
private
std::vector< G4int > G4GenericBiasingPhysics::fNonPhysBiasByPDGRangeHigh
private

Definition at line 135 of file G4GenericBiasingPhysics.hh.

Referenced by ConstructProcess(), and NonPhysicsBiasAddPDGRange().

std::vector< G4int > G4GenericBiasingPhysics::fNonPhysBiasByPDGRangeLow
private

Definition at line 135 of file G4GenericBiasingPhysics.hh.

Referenced by ConstructProcess(), and NonPhysicsBiasAddPDGRange().

std::vector< G4String > G4GenericBiasingPhysics::fNonPhysBiasedParticles
private

Definition at line 131 of file G4GenericBiasingPhysics.hh.

Referenced by ConstructProcess(), and NonPhysicsBias().

std::vector< G4String > G4GenericBiasingPhysics::fParallelGeometriesForCharged
private

Definition at line 147 of file G4GenericBiasingPhysics.hh.

Referenced by AddParallelGeometryAllCharged().

std::vector< G4String > G4GenericBiasingPhysics::fParallelGeometriesForNeutral
private

Definition at line 147 of file G4GenericBiasingPhysics.hh.

Referenced by AddParallelGeometryAllNeutral().

std::map< G4String, std::vector< G4String > > G4GenericBiasingPhysics::fParallelGeometriesForParticle
private

Definition at line 144 of file G4GenericBiasingPhysics.hh.

Referenced by AddParallelGeometry(), and AssociateParallelGeometries().

std::vector< G4String > G4GenericBiasingPhysics::fParticlesWithParallelGeometries
private

Definition at line 143 of file G4GenericBiasingPhysics.hh.

Referenced by AddParallelGeometry(), and AssociateParallelGeometries().

std::vector< G4int > G4GenericBiasingPhysics::fPDGhighParallelGeometries
private

Definition at line 145 of file G4GenericBiasingPhysics.hh.

Referenced by AddParallelGeometry(), and AssociateParallelGeometries().

std::vector< G4int > G4GenericBiasingPhysics::fPDGlowParallelGeometries
private

Definition at line 145 of file G4GenericBiasingPhysics.hh.

Referenced by AddParallelGeometry(), and AssociateParallelGeometries().

std::map< G4int, std::vector< G4String > > G4GenericBiasingPhysics::fPDGrangeParallelGeometries
private

Definition at line 146 of file G4GenericBiasingPhysics.hh.

Referenced by AddParallelGeometry(), and AssociateParallelGeometries().

G4bool G4GenericBiasingPhysics::fPhysBiasAllCharged
private
G4bool G4GenericBiasingPhysics::fPhysBiasAllChargedISL
private
G4bool G4GenericBiasingPhysics::fPhysBiasAllNeutral
private
G4bool G4GenericBiasingPhysics::fPhysBiasAllNeutralISL
private
std::vector< G4int > G4GenericBiasingPhysics::fPhysBiasByPDGRangeHigh
private

Definition at line 134 of file G4GenericBiasingPhysics.hh.

Referenced by ConstructProcess(), and PhysicsBiasAddPDGRange().

std::vector< G4int > G4GenericBiasingPhysics::fPhysBiasByPDGRangeLow
private

Definition at line 134 of file G4GenericBiasingPhysics.hh.

Referenced by ConstructProcess(), and PhysicsBiasAddPDGRange().

G4bool G4GenericBiasingPhysics::fVerbose
private

Definition at line 155 of file G4GenericBiasingPhysics.hh.

Referenced by BeVerbose(), and ConstructProcess().


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