WCSim
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
WCSimOpticalPhysics Class Reference

#include <WCSimOpticalPhysics.hh>

Inheritance diagram for WCSimOpticalPhysics:
Inheritance graph
Collaboration diagram for WCSimOpticalPhysics:
Collaboration graph

Public Member Functions

 WCSimOpticalPhysics (G4int verbose=0, const G4String &name="Optical")
 
virtual ~WCSimOpticalPhysics ()
 
void Configure (G4OpticalProcessIndex, G4bool)
 
void SetTrackSecondariesFirst (G4OpticalProcessIndex, G4bool)
 
void SetMaxNumPhotonsPerStep (G4int)
 
void SetMaxBetaChangePerStep (G4double)
 
void SetCerenkovStackPhotons (G4bool)
 
void SetCerenkovTrackSecondariesFirst (G4bool)
 
void SetCerenkovVerbosity (G4int)
 
void SetScintillationYieldFactor (G4double)
 
void SetScintillationExcitationRatio (G4double)
 
void SetScintillationByParticleType (G4bool)
 
void SetScintillationTrackInfo (G4bool)
 
void SetScintillationTrackSecondariesFirst (G4bool)
 
void SetFiniteRiseTime (G4bool)
 
void SetScintillationStackPhotons (G4bool)
 
void SetScintillationVerbosity (G4int)
 
void SetWLSTimeProfile (G4String)
 
void SetWLSVerbosity (G4int)
 
void SetBoundaryVerbosity (G4int)
 
void SetInvokeSD (G4bool)
 
void SetAbsorptionVerbosity (G4int)
 
void SetRayleighVerbosity (G4int)
 
void SetMieVerbosity (G4int)
 

Protected Member Functions

virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 

Private Member Functions

 WCSimOpticalPhysics (const WCSimOpticalPhysics &right)
 Not implemented. More...
 
WCSimOpticalPhysicsoperator= (const WCSimOpticalPhysics &right)
 Not implemented. More...
 
void PrintStatistics () const
 

Private Attributes

WCSimOpticalPhysicsMessengerfMessenger
 
std::vector< G4bool > fProcessUse
 
std::vector< G4bool > fProcessTrackSecondariesFirst
 
G4double fYieldFactor
 scintillation yield factor More...
 
G4double fExcitationRatio
 scintillation excitation ratio More...
 
G4bool fFiniteRiseTime
 
G4bool fScintillationByParticleType
 
G4bool fScintillationTrackInfo
 
G4bool fScintillationStackPhotons
 option to allow stacking of secondary Scintillation photons More...
 
G4int fScintillationVerbosity
 
G4int fMaxNumPhotons
 max number of Cerenkov photons per step More...
 
G4double fMaxBetaChange
 max change of beta per step More...
 
G4bool fCerenkovStackPhotons
 option to allow stacking of secondary Cerenkov photons More...
 
G4int fCerenkovVerbosity
 
G4String fWLSTimeProfileName
 
G4int fWLSVerbosity
 
G4int fAbsorptionVerbosity
 
G4int fRayleighVerbosity
 
G4int fMieVerbosity
 
G4bool fInvokeSD
 WCSimOpBoundaryProcess to call InvokeSD method. More...
 
G4int fBoundaryVerbosity
 

Static Private Attributes

static G4ThreadLocal G4Scintillation * fScintillationProcess = nullptr
 
static G4ThreadLocal G4Cerenkov * fCerenkovProcess = nullptr
 
static G4ThreadLocal G4OpWLS * fWLSProcess = nullptr
 
static G4ThreadLocal G4OpAbsorption * fAbsorptionProcess = nullptr
 
static G4ThreadLocal G4OpRayleigh * fRayleighProcess = nullptr
 
static G4ThreadLocal G4OpMieHG * fMieProcess = nullptr
 
static G4ThreadLocal WCSimOpBoundaryProcessfBoundaryProcess = nullptr
 

Detailed Description

Definition at line 67 of file WCSimOpticalPhysics.hh.

Constructor & Destructor Documentation

◆ WCSimOpticalPhysics() [1/2]

WCSimOpticalPhysics::WCSimOpticalPhysics ( G4int  verbose = 0,
const G4String name = "Optical" 
)

Definition at line 73 of file WCSimOpticalPhysics.cc.

◆ ~WCSimOpticalPhysics()

WCSimOpticalPhysics::~WCSimOpticalPhysics ( )
virtual

Definition at line 107 of file WCSimOpticalPhysics.cc.

◆ WCSimOpticalPhysics() [2/2]

WCSimOpticalPhysics::WCSimOpticalPhysics ( const WCSimOpticalPhysics right)
private

Not implemented.

Member Function Documentation

◆ Configure()

void WCSimOpticalPhysics::Configure ( G4OpticalProcessIndex  index,
G4bool  isUse 
)

Definition at line 460 of file WCSimOpticalPhysics.cc.

◆ ConstructParticle()

void WCSimOpticalPhysics::ConstructParticle ( )
protectedvirtual

Definition at line 157 of file WCSimOpticalPhysics.cc.

◆ ConstructProcess()

void WCSimOpticalPhysics::ConstructProcess ( )
protectedvirtual

Definition at line 164 of file WCSimOpticalPhysics.cc.

◆ operator=()

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

Not implemented.

◆ PrintStatistics()

void WCSimOpticalPhysics::PrintStatistics ( ) const
private

Definition at line 115 of file WCSimOpticalPhysics.cc.

◆ SetAbsorptionVerbosity()

void WCSimOpticalPhysics::SetAbsorptionVerbosity ( G4int  ver)

Definition at line 394 of file WCSimOpticalPhysics.cc.

◆ SetBoundaryVerbosity()

void WCSimOpticalPhysics::SetBoundaryVerbosity ( G4int  ver)

Definition at line 418 of file WCSimOpticalPhysics.cc.

◆ SetCerenkovStackPhotons()

void WCSimOpticalPhysics::SetCerenkovStackPhotons ( G4bool  val)

Definition at line 314 of file WCSimOpticalPhysics.cc.

◆ SetCerenkovTrackSecondariesFirst()

void WCSimOpticalPhysics::SetCerenkovTrackSecondariesFirst ( G4bool  val)

Definition at line 324 of file WCSimOpticalPhysics.cc.

◆ SetCerenkovVerbosity()

void WCSimOpticalPhysics::SetCerenkovVerbosity ( G4int  ver)

Definition at line 333 of file WCSimOpticalPhysics.cc.

◆ SetFiniteRiseTime()

void WCSimOpticalPhysics::SetFiniteRiseTime ( G4bool  b)

Definition at line 434 of file WCSimOpticalPhysics.cc.

◆ SetInvokeSD()

void WCSimOpticalPhysics::SetInvokeSD ( G4bool  b)

Definition at line 442 of file WCSimOpticalPhysics.cc.

◆ SetMaxBetaChangePerStep()

void WCSimOpticalPhysics::SetMaxBetaChangePerStep ( G4double  val)

Limit step to the specified maximum change of beta of the parent particle

Definition at line 305 of file WCSimOpticalPhysics.cc.

◆ SetMaxNumPhotonsPerStep()

void WCSimOpticalPhysics::SetMaxNumPhotonsPerStep ( G4int  val)

Limit step to the specified maximum number of Cerenkov photons

Definition at line 296 of file WCSimOpticalPhysics.cc.

◆ SetMieVerbosity()

void WCSimOpticalPhysics::SetMieVerbosity ( G4int  ver)

Definition at line 410 of file WCSimOpticalPhysics.cc.

◆ SetRayleighVerbosity()

void WCSimOpticalPhysics::SetRayleighVerbosity ( G4int  ver)

Definition at line 402 of file WCSimOpticalPhysics.cc.

◆ SetScintillationByParticleType()

void WCSimOpticalPhysics::SetScintillationByParticleType ( G4bool  val)

Definition at line 358 of file WCSimOpticalPhysics.cc.

◆ SetScintillationExcitationRatio()

void WCSimOpticalPhysics::SetScintillationExcitationRatio ( G4double  val)

Definition at line 288 of file WCSimOpticalPhysics.cc.

◆ SetScintillationStackPhotons()

void WCSimOpticalPhysics::SetScintillationStackPhotons ( G4bool  stackingFlag)

Definition at line 450 of file WCSimOpticalPhysics.cc.

◆ SetScintillationTrackInfo()

void WCSimOpticalPhysics::SetScintillationTrackInfo ( G4bool  val)

Definition at line 376 of file WCSimOpticalPhysics.cc.

◆ SetScintillationTrackSecondariesFirst()

void WCSimOpticalPhysics::SetScintillationTrackSecondariesFirst ( G4bool  val)

Definition at line 367 of file WCSimOpticalPhysics.cc.

◆ SetScintillationVerbosity()

void WCSimOpticalPhysics::SetScintillationVerbosity ( G4int  ver)

Definition at line 386 of file WCSimOpticalPhysics.cc.

◆ SetScintillationYieldFactor()

void WCSimOpticalPhysics::SetScintillationYieldFactor ( G4double  val)

Definition at line 280 of file WCSimOpticalPhysics.cc.

◆ SetTrackSecondariesFirst()

void WCSimOpticalPhysics::SetTrackSecondariesFirst ( G4OpticalProcessIndex  index,
G4bool  trackSecondariesFirst 
)

Definition at line 426 of file WCSimOpticalPhysics.cc.

◆ SetWLSTimeProfile()

void WCSimOpticalPhysics::SetWLSTimeProfile ( G4String  name)

Set the WLS time profile (delta or exponential)

Definition at line 341 of file WCSimOpticalPhysics.cc.

◆ SetWLSVerbosity()

void WCSimOpticalPhysics::SetWLSVerbosity ( G4int  ver)

Definition at line 350 of file WCSimOpticalPhysics.cc.

Member Data Documentation

◆ fAbsorptionProcess

G4ThreadLocal G4OpAbsorption * WCSimOpticalPhysics::fAbsorptionProcess = nullptr
staticprivate

Definition at line 181 of file WCSimOpticalPhysics.hh.

◆ fAbsorptionVerbosity

G4int WCSimOpticalPhysics::fAbsorptionVerbosity
private

Definition at line 182 of file WCSimOpticalPhysics.hh.

◆ fBoundaryProcess

G4ThreadLocal WCSimOpBoundaryProcess * WCSimOpticalPhysics::fBoundaryProcess = nullptr
staticprivate

Definition at line 190 of file WCSimOpticalPhysics.hh.

◆ fBoundaryVerbosity

G4int WCSimOpticalPhysics::fBoundaryVerbosity
private

Definition at line 193 of file WCSimOpticalPhysics.hh.

◆ fCerenkovProcess

G4ThreadLocal G4Cerenkov * WCSimOpticalPhysics::fCerenkovProcess = nullptr
staticprivate

Definition at line 167 of file WCSimOpticalPhysics.hh.

◆ fCerenkovStackPhotons

G4bool WCSimOpticalPhysics::fCerenkovStackPhotons
private

option to allow stacking of secondary Cerenkov photons

Definition at line 173 of file WCSimOpticalPhysics.hh.

◆ fCerenkovVerbosity

G4int WCSimOpticalPhysics::fCerenkovVerbosity
private

Definition at line 174 of file WCSimOpticalPhysics.hh.

◆ fExcitationRatio

G4double WCSimOpticalPhysics::fExcitationRatio
private

scintillation excitation ratio

Definition at line 145 of file WCSimOpticalPhysics.hh.

◆ fFiniteRiseTime

G4bool WCSimOpticalPhysics::fFiniteRiseTime
private

option to set a finite rise-time; Note: the G4Scintillation process expects the user to have set the constant material property FAST/SLOWSCINTILLATIONRISETIME

Definition at line 150 of file WCSimOpticalPhysics.hh.

◆ fInvokeSD

G4bool WCSimOpticalPhysics::fInvokeSD
private

WCSimOpBoundaryProcess to call InvokeSD method.

Definition at line 192 of file WCSimOpticalPhysics.hh.

◆ fMaxBetaChange

G4double WCSimOpticalPhysics::fMaxBetaChange
private

max change of beta per step

Definition at line 171 of file WCSimOpticalPhysics.hh.

◆ fMaxNumPhotons

G4int WCSimOpticalPhysics::fMaxNumPhotons
private

max number of Cerenkov photons per step

Definition at line 169 of file WCSimOpticalPhysics.hh.

◆ fMessenger

WCSimOpticalPhysicsMessenger* WCSimOpticalPhysics::fMessenger
private

Definition at line 130 of file WCSimOpticalPhysics.hh.

◆ fMieProcess

G4ThreadLocal G4OpMieHG * WCSimOpticalPhysics::fMieProcess = nullptr
staticprivate

Definition at line 187 of file WCSimOpticalPhysics.hh.

◆ fMieVerbosity

G4int WCSimOpticalPhysics::fMieVerbosity
private

Definition at line 188 of file WCSimOpticalPhysics.hh.

◆ fProcessTrackSecondariesFirst

std::vector<G4bool> WCSimOpticalPhysics::fProcessTrackSecondariesFirst
private

Definition at line 137 of file WCSimOpticalPhysics.hh.

◆ fProcessUse

std::vector<G4bool> WCSimOpticalPhysics::fProcessUse
private

Definition at line 133 of file WCSimOpticalPhysics.hh.

◆ fRayleighProcess

G4ThreadLocal G4OpRayleigh * WCSimOpticalPhysics::fRayleighProcess = nullptr
staticprivate

Definition at line 184 of file WCSimOpticalPhysics.hh.

◆ fRayleighVerbosity

G4int WCSimOpticalPhysics::fRayleighVerbosity
private

Definition at line 185 of file WCSimOpticalPhysics.hh.

◆ fScintillationByParticleType

G4bool WCSimOpticalPhysics::fScintillationByParticleType
private

option to allow for the light yield to be a function of particle type and deposited energy in case of non-linear light emission in scintillators

Definition at line 155 of file WCSimOpticalPhysics.hh.

◆ fScintillationProcess

G4ThreadLocal G4Scintillation * WCSimOpticalPhysics::fScintillationProcess = nullptr
staticprivate

Definition at line 140 of file WCSimOpticalPhysics.hh.

◆ fScintillationStackPhotons

G4bool WCSimOpticalPhysics::fScintillationStackPhotons
private

option to allow stacking of secondary Scintillation photons

Definition at line 162 of file WCSimOpticalPhysics.hh.

◆ fScintillationTrackInfo

G4bool WCSimOpticalPhysics::fScintillationTrackInfo
private

option to allow for G4ScintillationTrackInformation to be attached to a scintillation photon's track

Definition at line 159 of file WCSimOpticalPhysics.hh.

◆ fScintillationVerbosity

G4int WCSimOpticalPhysics::fScintillationVerbosity
private

Definition at line 164 of file WCSimOpticalPhysics.hh.

◆ fWLSProcess

G4ThreadLocal G4OpWLS * WCSimOpticalPhysics::fWLSProcess = nullptr
staticprivate

Definition at line 177 of file WCSimOpticalPhysics.hh.

◆ fWLSTimeProfileName

G4String WCSimOpticalPhysics::fWLSTimeProfileName
private

Definition at line 178 of file WCSimOpticalPhysics.hh.

◆ fWLSVerbosity

G4int WCSimOpticalPhysics::fWLSVerbosity
private

Definition at line 179 of file WCSimOpticalPhysics.hh.

◆ fYieldFactor

G4double WCSimOpticalPhysics::fYieldFactor
private

scintillation yield factor

Definition at line 142 of file WCSimOpticalPhysics.hh.


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