Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4OpticalParameters.hh File Reference
#include "globals.hh"
#include "G4ios.hh"
#include "G4ThreeVector.hh"
#include "G4Threading.hh"
#include <vector>

Go to the source code of this file.

Classes

class  G4OpticalParameters
 

Enumerations

enum  G4OpticalProcessIndex {
  kCerenkov , kScintillation , kAbsorption , kRayleigh ,
  kMieHG , kBoundary , kWLS , kWLS2 ,
  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.

kWLS2 

Second Wave Length Shifting process index.

kNoProcess 

Number of processes, no selected process.

Definition at line 63 of file G4OpticalParameters.hh.

64{
65 kCerenkov, ///< Cerenkov process index
66 kScintillation, ///< Scintillation process index
67 kAbsorption, ///< Absorption process index
68 kRayleigh, ///< Rayleigh scattering process index
69 kMieHG, ///< Mie scattering process index
70 kBoundary, ///< Boundary process index
71 kWLS, ///< Wave Length Shifting process index
72 kWLS2, ///< Second Wave Length Shifting process index
73 kNoProcess ///< Number of processes, no selected process
74};
@ kWLS
Wave Length Shifting process index.
@ kScintillation
Scintillation process index.
@ kWLS2
Second Wave Length Shifting 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 79 of file G4OpticalParameters.hh.

80{
81 switch(processNumber)
82 {
83 case kCerenkov:
84 return "Cerenkov";
85 case kScintillation:
86 return "Scintillation";
87 case kAbsorption:
88 return "OpAbsorption";
89 case kRayleigh:
90 return "OpRayleigh";
91 case kMieHG:
92 return "OpMieHG";
93 case kBoundary:
94 return "OpBoundary";
95 case kWLS:
96 return "OpWLS";
97 case kWLS2:
98 return "OpWLS2";
99 default:
100 return "NoProcess";
101 }
102}

Referenced by G4OpticalParametersMessenger::G4OpticalParametersMessenger().