Geant4  10.03
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) override
 
void BuildPhysicsTable (const G4ParticleDefinition &aParticleType) override
 
G4double GetMeanFreePath (const G4Track &aTrack, G4double, G4ForceCondition *) override
 
G4double GetMeanLifeTime (const G4Track &aTrack, G4ForceCondition *) override
 
G4VParticleChangePostStepDoIt (const G4Track &aTrack, const G4Step &aStep) override
 
G4VParticleChangeAtRestDoIt (const G4Track &aTrack, const G4Step &aStep) override
 
G4double GetScintillationYieldByParticleType (const G4Track &aTrack, const G4Step &aStep)
 
void SetTrackSecondariesFirst (const G4bool state)
 
G4bool GetTrackSecondariesFirst () const
 
void SetFiniteRiseTime (const G4bool state)
 
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 *sat)
 
void RemoveSaturation ()
 
G4EmSaturationGetSaturation () const
 
void SetScintillationByParticleType (const G4bool)
 
G4bool GetScintillationByParticleType () const
 
void SetScintillationTrackInfo (const G4bool trackType)
 
G4bool GetScintillationTrackInfo () const
 
void SetStackPhotons (const G4bool)
 
G4bool GetStackPhotons () const
 
G4int GetNumPhotons () 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)=delete
 
G4Scintillationoperator= (const G4Scintillation &right)=delete
 
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
 
G4bool fScintillationTrackInfo
 
G4bool fStackingFlag
 
G4int fNumPhotons
 
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 
)
explicit

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

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

+ Here is the call graph for this function:

G4Scintillation::G4Scintillation ( const G4Scintillation right)
privatedelete

Member Function Documentation

void G4Scintillation::AddSaturation ( G4EmSaturation sat)
inline

Definition at line 349 of file G4Scintillation.hh.

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

Reimplemented from G4VRestDiscreteProcess.

Definition at line 179 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 435 of file G4Scintillation.hh.

Referenced by sample_time().

+ Here is the caller graph for this function:

void G4Scintillation::BuildPhysicsTable ( const G4ParticleDefinition aParticleType)
overridevirtual

Reimplemented from G4VProcess.

Definition at line 159 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 501 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 403 of file G4Scintillation.hh.

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

+ Here is the call graph for this function:

G4PhysicsTable * G4Scintillation::GetFastIntegralTable ( ) const
inline

Definition at line 343 of file G4Scintillation.hh.

References fFastIntegralTable.

G4bool G4Scintillation::GetFiniteRiseTime ( ) const
inline

Definition at line 307 of file G4Scintillation.hh.

References fFiniteRiseTime.

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

Implements G4VRestDiscreteProcess.

Definition at line 668 of file G4Scintillation.cc.

References DBL_MAX, and StronglyForced.

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

Implements G4VRestDiscreteProcess.

Definition at line 682 of file G4Scintillation.cc.

References DBL_MAX, and Forced.

G4int G4Scintillation::GetNumPhotons ( ) const
inline

Definition at line 397 of file G4Scintillation.hh.

References fNumPhotons.

G4EmSaturation * G4Scintillation::GetSaturation ( ) const
inline

Definition at line 361 of file G4Scintillation.hh.

References fEmSaturation.

G4bool G4Scintillation::GetScintillationByParticleType ( ) const
inline

Definition at line 367 of file G4Scintillation.hh.

References fScintillationByParticleType.

G4double G4Scintillation::GetScintillationExcitationRatio ( ) const
inline

Definition at line 331 of file G4Scintillation.hh.

References fExcitationRatio.

G4bool G4Scintillation::GetScintillationTrackInfo ( ) const
inline

Definition at line 379 of file G4Scintillation.hh.

References fScintillationTrackInfo.

G4double G4Scintillation::GetScintillationYieldFactor ( ) const
inline

Definition at line 319 of file G4Scintillation.hh.

References fYieldFactor.

G4PhysicsTable * G4Scintillation::GetSlowIntegralTable ( ) const
inline

Definition at line 337 of file G4Scintillation.hh.

References fSlowIntegralTable.

G4bool G4Scintillation::GetStackPhotons ( ) const
inline

Definition at line 391 of file G4Scintillation.hh.

References fStackingFlag.

G4bool G4Scintillation::GetTrackSecondariesFirst ( ) const
inline

Definition at line 295 of file G4Scintillation.hh.

References fTrackSecondariesFirst.

G4bool G4Scintillation::IsApplicable ( const G4ParticleDefinition aParticleType)
inlineoverridevirtual

Reimplemented from G4VProcess.

Definition at line 280 of file G4Scintillation.hh.

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

Referenced by OpNovicePhysicsList::ConstructOp(), DMXPhysicsList::ConstructOp(), 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)
privatedelete
G4VParticleChange * G4Scintillation::PostStepDoIt ( const G4Track aTrack,
const G4Step aStep 
)
overridevirtual

Reimplemented from G4VRestDiscreteProcess.

Definition at line 192 of file G4Scintillation.cc.

References G4ParticleChange::AddSecondary(), G4VProcess::aParticleChange, fAlive, Fast, fEmSaturation, fExcitationRatio, fFastIntegralTable, fFiniteRiseTime, fNumPhotons, fScintillationByParticleType, fScintillationTrackInfo, fSlowIntegralTable, fStackingFlag, 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(), Slow, 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 ( )
inline

Definition at line 355 of file G4Scintillation.hh.

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 691 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)
inline

Definition at line 301 of file G4Scintillation.hh.

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 654 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)
inline

Definition at line 325 of file G4Scintillation.hh.

References fExcitationRatio.

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

+ Here is the caller graph for this function:

void G4Scintillation::SetScintillationTrackInfo ( const G4bool  trackType)
inline

Definition at line 373 of file G4Scintillation.hh.

References fScintillationTrackInfo.

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

+ Here is the caller graph for this function:

void G4Scintillation::SetScintillationYieldFactor ( const G4double  yieldfactor)
inline

Definition at line 313 of file G4Scintillation.hh.

References fYieldFactor.

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

+ Here is the caller graph for this function:

void G4Scintillation::SetStackPhotons ( const G4bool  stackingFlag)
inline

Definition at line 385 of file G4Scintillation.hh.

References fStackingFlag.

void G4Scintillation::SetTrackSecondariesFirst ( const G4bool  state)
inline

Definition at line 289 of file G4Scintillation.hh.

References fTrackSecondariesFirst.

Referenced by UIhelpers::buildCommands(), OpNovicePhysicsList::ConstructOp(), DMXPhysicsList::ConstructOp(), 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 429 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 247 of file G4Scintillation.hh.

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

G4int G4Scintillation::fNumPhotons
private

Definition at line 259 of file G4Scintillation.hh.

Referenced by GetNumPhotons(), and PostStepDoIt().

G4bool G4Scintillation::fScintillationByParticleType
private
G4bool G4Scintillation::fScintillationTrackInfo
private
G4PhysicsTable* G4Scintillation::fSlowIntegralTable
protected
G4bool G4Scintillation::fStackingFlag
private

Definition at line 257 of file G4Scintillation.hh.

Referenced by GetStackPhotons(), PostStepDoIt(), and SetStackPhotons().

G4bool G4Scintillation::fTrackSecondariesFirst
private
G4double G4Scintillation::fYieldFactor
private

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