Geant4  10.02.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)
 
void SetTrackSecondariesFirst (const G4bool state)
 
void SetFiniteRiseTime (const G4bool state)
 
G4bool GetTrackSecondariesFirst () const
 
G4bool GetFiniteRiseTime () const
 
void SetScintillationYieldFactor (const G4double yieldfactor)
 
G4double GetScintillationYieldFactor () const
 
void SetScintillationExcitationRatio (const G4double ratio)
 
G4double GetScintillationExcitationRatio () const
 
G4PhysicsTableGetFastIntegralTable () const
 
G4PhysicsTableGetSlowIntegralTable () const
 
void AddSaturation (G4EmSaturation *)
 
void RemoveSaturation ()
 
G4EmSaturationGetSaturation () const
 
void SetScintillationByParticleType (const G4bool)
 
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 &)
 

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)
 

Private Attributes

G4bool fTrackSecondariesFirst
 
G4bool fFiniteRiseTime
 
G4double fYieldFactor
 
G4double fExcitationRatio
 
G4bool fScintillationByParticleType
 
G4EmSaturationfEmSaturation
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VProcess
static const G4StringGetProcessTypeName (G4ProcessType)
 

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 137 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)

Definition at line 674 of file G4Scintillation.cc.

References fEmSaturation.

Referenced by 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 173 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 153 of file G4Scintillation.cc.

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

+ Here is the call graph for this function:

void G4Scintillation::BuildThePhysicsTable ( )
protected

Definition at line 489 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 688 of file G4Scintillation.cc.

References DBL_MAX, and StronglyForced.

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

Implements G4VRestDiscreteProcess.

Definition at line 702 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 186 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(), twopi, G4VProcess::verboseLevel, and G4EmSaturation::VisibleEnergyDepositionAtAStep().

Referenced by AtRestDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4Scintillation::RemoveSaturation ( )

Definition at line 679 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 711 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)

Definition at line 647 of file G4Scintillation.cc.

References fFiniteRiseTime.

Referenced by UIhelpers::buildCommands(), and G4OpticalPhysics::ConstructProcess().

+ Here is the caller graph for this function:

void G4Scintillation::SetScintillationByParticleType ( const G4bool  scintType)

Definition at line 664 of file G4Scintillation.cc.

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

Referenced by UIhelpers::buildCommands(), and G4OpticalPhysics::ConstructProcess().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4Scintillation::SetScintillationExcitationRatio ( const G4double  ratio)

Definition at line 657 of file G4Scintillation.cc.

References fExcitationRatio.

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

+ Here is the caller graph for this function:

void G4Scintillation::SetScintillationYieldFactor ( const G4double  yieldfactor)

Definition at line 652 of file G4Scintillation.cc.

References fYieldFactor.

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

+ Here is the caller graph for this function:

void G4Scintillation::SetTrackSecondariesFirst ( const G4bool  state)

Definition at line 642 of file G4Scintillation.cc.

References fTrackSecondariesFirst.

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

+ 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
private
G4double G4Scintillation::fExcitationRatio
private
G4PhysicsTable* G4Scintillation::fFastIntegralTable
protected
G4bool G4Scintillation::fFiniteRiseTime
private

Definition at line 229 of file G4Scintillation.hh.

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

G4bool G4Scintillation::fScintillationByParticleType
private
G4PhysicsTable* G4Scintillation::fSlowIntegralTable
protected
G4bool G4Scintillation::fTrackSecondariesFirst
private
G4double G4Scintillation::fYieldFactor
private

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