Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4OpticalProcessIndex.hh File Reference
#include "globals.hh"

Go to the source code of this file.

Enumerations

enum  G4OpticalProcessIndex {
  kCerenkov , kScintillation , kAbsorption , kRayleigh ,
  kMieHG , kBoundary , kWLS , kNoProcess
}
 

Functions

G4String G4OpticalProcessName (G4int)
 Return the name for a given optical process index.
 

Enumeration Type Documentation

◆ G4OpticalProcessIndex

Enumerator
kCerenkov 

Cerenkov process index.

kScintillation 

Scintillation process index.

kAbsorption 

Absorption process index.

kRayleigh 

Rayleigh scattering process index.

kMieHG 

Mie scattering process index.

kBoundary 

Boundary process index.

kWLS 

Wave Length Shifting process index.

kNoProcess 

Number of processes, no selected process.

Definition at line 51 of file G4OpticalProcessIndex.hh.

51 {
52 kCerenkov, ///< Cerenkov process index
53 kScintillation, ///< Scintillation process index
54 kAbsorption, ///< Absorption process index
55 kRayleigh, ///< Rayleigh scattering process index
56 kMieHG, ///< Mie scattering process index
57 kBoundary, ///< Boundary process index
58 kWLS, ///< Wave Length Shifting process index
59 kNoProcess ///< Number of processes, no selected process
60};
@ kWLS
Wave Length Shifting process index.
@ kScintillation
Scintillation process index.
@ kRayleigh
Rayleigh scattering process index.
@ kAbsorption
Absorption process index.
@ kBoundary
Boundary process index.
@ kNoProcess
Number of processes, no selected process.
@ kCerenkov
Cerenkov process index.
@ kMieHG
Mie scattering process index.

Function Documentation

◆ G4OpticalProcessName()

G4String G4OpticalProcessName ( G4int  processNumber)
inline

Return the name for a given optical process index.

Definition at line 70 of file G4OpticalProcessIndex.hh.

71{
72 switch ( processNumber ) {
73 case kCerenkov: return "Cerenkov";
74 case kScintillation: return "Scintillation";
75 case kAbsorption: return "OpAbsorption";
76 case kRayleigh: return "OpRayleigh";
77 case kMieHG: return "OpMieHG";
78 case kBoundary: return "OpBoundary";
79 case kWLS: return "OpWLS";
80 default: return "NoProcess";
81 }
82}

Referenced by G4OpticalPhysicsMessenger::G4OpticalPhysicsMessenger().