Geant4-11
Data Structures | Enumerations | Functions
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.

Data Structures

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. More...
 

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,
68 kRayleigh,
69 kMieHG,
70 kBoundary,
71 kWLS,
72 kWLS2,
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}

References kAbsorption, kBoundary, kCerenkov, kMieHG, kRayleigh, kScintillation, kWLS, and kWLS2.

Referenced by G4OpticalParametersMessenger::G4OpticalParametersMessenger().