Geant4 11.4.0
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>
#include <memory>

Go to the source code of this file.

Classes

class  G4OpticalParameters

Enumerations

enum  G4OpticalProcessIndex {
  kCerenkov , kScintillation , kAbsorption , kRayleigh ,
  kMieHG , kBoundary , kWLS , kWLS2 ,
  kNoProcess
}
enum  G4XRayModelType { kCerenkovDefault = 0 , kScintillationDefault }

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 64 of file G4OpticalParameters.hh.

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

◆ G4XRayModelType

Enumerator
kCerenkovDefault 
kScintillationDefault 

Definition at line 77 of file G4OpticalParameters.hh.

78{
79 kCerenkovDefault = 0, // default model
80 kScintillationDefault, // default model
81};
@ kScintillationDefault
@ kCerenkovDefault

Function Documentation

◆ G4OpticalProcessName()

G4String G4OpticalProcessName ( G4int processNumber)
inline

Return the name for a given optical process index.

Definition at line 86 of file G4OpticalParameters.hh.

87{
88 switch(processNumber)
89 {
90 case kCerenkov:
91 return "Cerenkov";
92 case kScintillation:
93 return "Scintillation";
94 case kAbsorption:
95 return "OpAbsorption";
96 case kRayleigh:
97 return "OpRayleigh";
98 case kMieHG:
99 return "OpMieHG";
100 case kBoundary:
101 return "OpBoundary";
102 case kWLS:
103 return "OpWLS";
104 case kWLS2:
105 return "OpWLS2";
106 default:
107 return "NoProcess";
108 }
109}

Referenced by G4OpticalParametersMessenger::G4OpticalParametersMessenger().