Geant4  10.00.p01
G4Scintillation Class Reference

#include <G4Scintillation.hh>

+ Inheritance diagram for G4Scintillation:
+ Collaboration diagram for G4Scintillation:

Public Member Functions

 G4Scintillation (const G4String &processName="Scintillation", G4ProcessType type=fElectromagnetic)
 
 ~G4Scintillation ()
 
G4bool IsApplicable (const G4ParticleDefinition &aParticleType)
 
void BuildPhysicsTable (const G4ParticleDefinition &aParticleType)
 
G4double GetMeanFreePath (const G4Track &aTrack, G4double, G4ForceCondition *)
 
G4double GetMeanLifeTime (const G4Track &aTrack, G4ForceCondition *)
 
G4VParticleChangePostStepDoIt (const G4Track &aTrack, const G4Step &aStep)
 
G4VParticleChangeAtRestDoIt (const G4Track &aTrack, const G4Step &aStep)
 
G4double GetScintillationYieldByParticleType (const G4Track &aTrack, const G4Step &aStep)
 
G4bool GetTrackSecondariesFirst () const
 
G4bool GetFiniteRiseTime () const
 
G4double GetScintillationYieldFactor () const
 
G4double GetScintillationExcitationRatio () const
 
G4PhysicsTableGetFastIntegralTable () const
 
G4PhysicsTableGetSlowIntegralTable () const
 
G4EmSaturationGetSaturation () const
 
G4bool GetScintillationByParticleType () const
 
void DumpPhysicsTable () const
 
- Public Member Functions inherited from G4VRestDiscreteProcess
 G4VRestDiscreteProcess (const G4String &, G4ProcessType aType=fNotDefined)
 
 G4VRestDiscreteProcess (G4VRestDiscreteProcess &)
 
virtual ~G4VRestDiscreteProcess ()
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
 
virtual G4double AtRestGetPhysicalInteractionLength (const G4Track &, G4ForceCondition *)
 
virtual G4double AlongStepGetPhysicalInteractionLength (const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
 
virtual G4VParticleChangeAlongStepDoIt (const G4Track &, const G4Step &)
 
- Public Member Functions inherited from G4VProcess
 G4VProcess (const G4String &aName="NoName", G4ProcessType aType=fNotDefined)
 
 G4VProcess (const G4VProcess &right)
 
virtual ~G4VProcess ()
 
G4int operator== (const G4VProcess &right) const
 
G4int operator!= (const G4VProcess &right) const
 
G4double GetCurrentInteractionLength () const
 
void SetPILfactor (G4double value)
 
G4double GetPILfactor () const
 
G4double AlongStepGPIL (const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double &proposedSafety, G4GPILSelection *selection)
 
G4double AtRestGPIL (const G4Track &track, G4ForceCondition *condition)
 
G4double PostStepGPIL (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
 
virtual void PreparePhysicsTable (const G4ParticleDefinition &)
 
virtual G4bool StorePhysicsTable (const G4ParticleDefinition *, const G4String &, G4bool)
 
virtual G4bool RetrievePhysicsTable (const G4ParticleDefinition *, const G4String &, G4bool)
 
const G4StringGetPhysicsTableFileName (const G4ParticleDefinition *, const G4String &directory, const G4String &tableName, G4bool ascii=false)
 
const G4StringGetProcessName () const
 
G4ProcessType GetProcessType () const
 
void SetProcessType (G4ProcessType)
 
G4int GetProcessSubType () const
 
void SetProcessSubType (G4int)
 
virtual void StartTracking (G4Track *)
 
virtual void EndTracking ()
 
virtual void SetProcessManager (const G4ProcessManager *)
 
virtual const G4ProcessManagerGetProcessManager ()
 
virtual void ResetNumberOfInteractionLengthLeft ()
 
G4double GetNumberOfInteractionLengthLeft () const
 
G4double GetTotalNumberOfInteractionLengthTraversed () const
 
G4bool isAtRestDoItIsEnabled () const
 
G4bool isAlongStepDoItIsEnabled () const
 
G4bool isPostStepDoItIsEnabled () const
 
virtual void DumpInfo () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
virtual void SetMasterProcess (G4VProcess *masterP)
 
const G4VProcessGetMasterProcess () const
 
virtual void BuildWorkerPhysicsTable (const G4ParticleDefinition &part)
 
virtual void PrepareWorkerPhysicsTable (const G4ParticleDefinition &)
 

Static Public Member Functions

static void SetTrackSecondariesFirst (const G4bool state)
 
static void SetFiniteRiseTime (const G4bool state)
 
static void SetScintillationYieldFactor (const G4double yieldfactor)
 
static void SetScintillationExcitationRatio (const G4double ratio)
 
static void AddSaturation (G4EmSaturation *)
 
static void RemoveSaturation ()
 
static void SetScintillationByParticleType (const G4bool)
 
- Static Public Member Functions inherited from G4VProcess
static const G4StringGetProcessTypeName (G4ProcessType)
 

Protected Member Functions

void BuildThePhysicsTable ()
 
- Protected Member Functions inherited from G4VProcess
void SubtractNumberOfInteractionLengthLeft (G4double previousStepSize)
 
void ClearNumberOfInteractionLengthLeft ()
 

Protected Attributes

G4PhysicsTablefFastIntegralTable
 
G4PhysicsTablefSlowIntegralTable
 
- Protected Attributes inherited from G4VProcess
const G4ProcessManageraProcessManager
 
G4VParticleChangepParticleChange
 
G4ParticleChange aParticleChange
 
G4double theNumberOfInteractionLengthLeft
 
G4double currentInteractionLength
 
G4double theInitialNumberOfInteractionLength
 
G4String theProcessName
 
G4String thePhysicsTableFileName
 
G4ProcessType theProcessType
 
G4int theProcessSubType
 
G4double thePILfactor
 
G4bool enableAtRestDoIt
 
G4bool enableAlongStepDoIt
 
G4bool enablePostStepDoIt
 
G4int verboseLevel
 

Private Member Functions

 G4Scintillation (const G4Scintillation &right)
 
G4Scintillationoperator= (const G4Scintillation &right)
 
G4double single_exp (G4double t, G4double tau2)
 
G4double bi_exp (G4double t, G4double tau1, G4double tau2)
 
G4double sample_time (G4double tau1, G4double tau2)
 

Static Private Attributes

static G4bool fTrackSecondariesFirst = false
 
static G4bool fFiniteRiseTime = false
 
static G4double fYieldFactor = 1.0
 
static G4double fExcitationRatio = 1.0
 
static G4bool fScintillationByParticleType = false
 
static G4EmSaturationfEmSaturation = NULL
 

Detailed Description

Definition at line 88 of file G4Scintillation.hh.

Constructor & Destructor Documentation

G4Scintillation::G4Scintillation ( const G4String processName = "Scintillation",
G4ProcessType  type = fElectromagnetic 
)

Definition at line 108 of file G4Scintillation.cc.

References fFastIntegralTable, fScintillation, fSlowIntegralTable, G4cout, G4endl, G4VProcess::GetProcessName(), G4VProcess::SetProcessSubType(), and G4VProcess::verboseLevel.

+ Here is the call graph for this function:

G4Scintillation::~G4Scintillation ( )

Definition at line 131 of file G4Scintillation.cc.

References G4PhysicsTable::clearAndDestroy(), fFastIntegralTable, and fSlowIntegralTable.

+ Here is the call graph for this function:

G4Scintillation::G4Scintillation ( const G4Scintillation right)
private

Member Function Documentation

void G4Scintillation::AddSaturation ( G4EmSaturation sat)
static

Definition at line 658 of file G4Scintillation.cc.

References fEmSaturation.

Referenced by G4OpticalPhysics::AddScintillationSaturation(), OpNovicePhysicsList::ConstructOp(), WLSOpticalPhysics::ConstructProcess(), and G4OpticalPhysics::ConstructProcess().

+ Here is the caller graph for this function:

G4VParticleChange * G4Scintillation::AtRestDoIt ( const G4Track aTrack,
const G4Step aStep 
)
virtual

Reimplemented from G4VRestDiscreteProcess.

Definition at line 157 of file G4Scintillation.cc.

References PostStepDoIt().

+ Here is the call graph for this function:

G4double G4Scintillation::bi_exp ( G4double  t,
G4double  tau1,
G4double  tau2 
)
inlineprivate

Definition at line 333 of file G4Scintillation.hh.

Referenced by sample_time().

+ Here is the caller graph for this function:

void G4Scintillation::BuildPhysicsTable ( const G4ParticleDefinition aParticleType)
virtual

Reimplemented from G4VProcess.

Definition at line 147 of file G4Scintillation.cc.

References BuildThePhysicsTable(), fFastIntegralTable, and fSlowIntegralTable.

+ Here is the call graph for this function:

void G4Scintillation::BuildThePhysicsTable ( )
protected

Definition at line 473 of file G4Scintillation.cc.

References G4PhysicsVector::Energy(), fFastIntegralTable, fSlowIntegralTable, G4Material::GetMaterialPropertiesTable(), G4Material::GetMaterialTable(), G4Material::GetNumberOfMaterials(), G4MaterialPropertiesTable::GetProperty(), G4PhysicsVector::GetVectorLength(), and G4PhysicsTable::insertAt().

Referenced by BuildPhysicsTable().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4Scintillation::DumpPhysicsTable ( ) const
inline

Definition at line 301 of file G4Scintillation.hh.

References G4PhysicsOrderedFreeVector::DumpValues(), G4PhysicsTable::entries(), fFastIntegralTable, and fSlowIntegralTable.

+ Here is the call graph for this function:

G4PhysicsTable * G4Scintillation::GetFastIntegralTable ( ) const
inline

Definition at line 295 of file G4Scintillation.hh.

References fFastIntegralTable.

G4bool G4Scintillation::GetFiniteRiseTime ( ) const
inline

Definition at line 271 of file G4Scintillation.hh.

References fFiniteRiseTime.

G4double G4Scintillation::GetMeanFreePath ( const G4Track aTrack,
G4double  ,
G4ForceCondition condition 
)
virtual

Implements G4VRestDiscreteProcess.

Definition at line 672 of file G4Scintillation.cc.

References DBL_MAX, and StronglyForced.

G4double G4Scintillation::GetMeanLifeTime ( const G4Track aTrack,
G4ForceCondition condition 
)
virtual

Implements G4VRestDiscreteProcess.

Definition at line 686 of file G4Scintillation.cc.

References DBL_MAX, and Forced.

G4EmSaturation* G4Scintillation::GetSaturation ( ) const
inline

Definition at line 198 of file G4Scintillation.hh.

References fEmSaturation.

G4bool G4Scintillation::GetScintillationByParticleType ( ) const
inline

Definition at line 205 of file G4Scintillation.hh.

References fScintillationByParticleType.

G4double G4Scintillation::GetScintillationExcitationRatio ( ) const
inline

Definition at line 283 of file G4Scintillation.hh.

References fExcitationRatio.

G4double G4Scintillation::GetScintillationYieldFactor ( ) const
inline

Definition at line 277 of file G4Scintillation.hh.

References fYieldFactor.

G4PhysicsTable * G4Scintillation::GetSlowIntegralTable ( ) const
inline

Definition at line 289 of file G4Scintillation.hh.

References fSlowIntegralTable.

G4bool G4Scintillation::GetTrackSecondariesFirst ( ) const
inline

Definition at line 265 of file G4Scintillation.hh.

References fTrackSecondariesFirst.

G4bool G4Scintillation::IsApplicable ( const G4ParticleDefinition aParticleType)
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 256 of file G4Scintillation.hh.

References G4ParticleDefinition::GetParticleName(), and G4ParticleDefinition::IsShortLived().

Referenced by OpNovicePhysicsList::ConstructOp(), DMXPhysicsList::ConstructOp(), F04OpticalPhysics::ConstructProcess(), WLSOpticalPhysics::ConstructProcess(), and G4OpticalPhysics::ConstructProcess().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4Scintillation& G4Scintillation::operator= ( const G4Scintillation right)
private
G4VParticleChange * G4Scintillation::PostStepDoIt ( const G4Track aTrack,
const G4Step aStep 
)
virtual

Reimplemented from G4VRestDiscreteProcess.

Definition at line 170 of file G4Scintillation.cc.

References G4ParticleChange::AddSecondary(), G4VProcess::aParticleChange, fAlive, fEmSaturation, fExcitationRatio, fFastIntegralTable, fFiniteRiseTime, fScintillationByParticleType, fSlowIntegralTable, fSuspend, fTrackSecondariesFirst, fYieldFactor, G4cout, G4endl, G4Poisson(), G4UniformRand, G4DynamicParticle::GetDefinition(), G4Step::GetDeltaPosition(), G4Track::GetDynamicParticle(), G4PhysicsOrderedFreeVector::GetEnergy(), G4StepPoint::GetGlobalTime(), G4Material::GetIndex(), G4Track::GetMaterial(), G4Material::GetMaterialPropertiesTable(), G4PhysicsOrderedFreeVector::GetMaxValue(), G4VParticleChange::GetNumberOfSecondaries(), G4ParticleDefinition::GetPDGCharge(), G4StepPoint::GetPosition(), G4Step::GetPostStepPoint(), G4Step::GetPreStepPoint(), G4MaterialPropertiesTable::GetProperty(), GetScintillationYieldByParticleType(), G4Step::GetStepLength(), G4Step::GetTotalEnergyDeposit(), G4StepPoint::GetTouchableHandle(), G4Track::GetTrackID(), G4Track::GetTrackStatus(), G4StepPoint::GetVelocity(), G4ParticleChange::Initialize(), G4INCL::Math::min(), ns, G4OpticalPhoton::OpticalPhoton(), G4VRestDiscreteProcess::PostStepDoIt(), G4VParticleChange::ProposeTrackStatus(), sample_time(), G4DynamicParticle::SetKineticEnergy(), G4VParticleChange::SetNumberOfSecondaries(), G4Track::SetParentID(), G4DynamicParticle::SetPolarization(), G4Track::SetTouchableHandle(), G4INCL::DeJongSpin::shoot(), G4VProcess::verboseLevel, and G4EmSaturation::VisibleEnergyDeposition().

Referenced by AtRestDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4Scintillation::RemoveSaturation ( )
static

Definition at line 663 of file G4Scintillation.cc.

References fEmSaturation.

Referenced by SetScintillationByParticleType().

+ Here is the caller graph for this function:

G4double G4Scintillation::sample_time ( G4double  tau1,
G4double  tau2 
)
private

Definition at line 695 of file G4Scintillation.cc.

References bi_exp(), G4UniformRand, and single_exp().

Referenced by PostStepDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4Scintillation::SetFiniteRiseTime ( const G4bool  state)
static

Definition at line 631 of file G4Scintillation.cc.

References fFiniteRiseTime.

Referenced by G4OpticalPhysics::ConstructProcess(), and G4OpticalPhysics::SetFiniteRiseTime().

+ Here is the caller graph for this function:

void G4Scintillation::SetScintillationByParticleType ( const G4bool  scintType)
static

Definition at line 648 of file G4Scintillation.cc.

References fEmSaturation, fScintillationByParticleType, G4Exception(), JustWarning, and RemoveSaturation().

Referenced by G4OpticalPhysics::ConstructProcess(), and G4OpticalPhysics::SetScintillationByParticleType().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4Scintillation::SetScintillationExcitationRatio ( const G4double  ratio)
static

Definition at line 641 of file G4Scintillation.cc.

References fExcitationRatio.

Referenced by DMXPhysicsList::ConstructOp(), F04OpticalPhysics::ConstructProcess(), WLSOpticalPhysics::ConstructProcess(), G4OpticalPhysics::ConstructProcess(), and G4OpticalPhysics::SetScintillationExcitationRatio().

+ Here is the caller graph for this function:

void G4Scintillation::SetScintillationYieldFactor ( const G4double  yieldfactor)
static

Definition at line 636 of file G4Scintillation.cc.

References fYieldFactor.

Referenced by DMXPhysicsList::ConstructOp(), F04OpticalPhysics::ConstructProcess(), WLSOpticalPhysics::ConstructProcess(), G4OpticalPhysics::ConstructProcess(), OpNovicePhysicsList::OpNovicePhysicsList(), and G4OpticalPhysics::SetScintillationYieldFactor().

+ Here is the caller graph for this function:

void G4Scintillation::SetTrackSecondariesFirst ( const G4bool  state)
static

Definition at line 626 of file G4Scintillation.cc.

References fTrackSecondariesFirst.

Referenced by DMXPhysicsList::ConstructOp(), F04OpticalPhysics::ConstructProcess(), WLSOpticalPhysics::ConstructProcess(), G4OpticalPhysics::ConstructProcess(), OpNovicePhysicsList::OpNovicePhysicsList(), and G4OpticalPhysics::SetTrackSecondariesFirst().

+ Here is the caller graph for this function:

G4double G4Scintillation::single_exp ( G4double  t,
G4double  tau2 
)
inlineprivate

Definition at line 327 of file G4Scintillation.hh.

Referenced by sample_time().

+ Here is the caller graph for this function:

Member Data Documentation

G4EmSaturation * G4Scintillation::fEmSaturation = NULL
staticprivate
G4double G4Scintillation::fExcitationRatio = 1.0
staticprivate
G4PhysicsTable* G4Scintillation::fFastIntegralTable
protected
G4bool G4Scintillation::fFiniteRiseTime = false
staticprivate

Definition at line 229 of file G4Scintillation.hh.

Referenced by GetFiniteRiseTime(), PostStepDoIt(), and SetFiniteRiseTime().

G4bool G4Scintillation::fScintillationByParticleType = false
staticprivate
G4PhysicsTable* G4Scintillation::fSlowIntegralTable
protected
G4bool G4Scintillation::fTrackSecondariesFirst = false
staticprivate
G4double G4Scintillation::fYieldFactor = 1.0
staticprivate

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