Geant4 10.7.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>

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.

63 {
64 kCerenkov, ///< Cerenkov process index
65 kScintillation, ///< Scintillation process index
66 kAbsorption, ///< Absorption process index
67 kRayleigh, ///< Rayleigh scattering process index
68 kMieHG, ///< Mie scattering process index
69 kBoundary, ///< Boundary process index
70 kWLS, ///< Wave Length Shifting process index
71 kWLS2, ///< Second Wave Length Shifting process index
72 kNoProcess ///< Number of processes, no selected process
73};
@ 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 case kCerenkov: return "Cerenkov";
83 case kScintillation: return "Scintillation";
84 case kAbsorption: return "OpAbsorption";
85 case kRayleigh: return "OpRayleigh";
86 case kMieHG: return "OpMieHG";
87 case kBoundary: return "OpBoundary";
88 case kWLS: return "OpWLS";
89 case kWLS2: return "OpWLS2";
90 default: return "NoProcess";
91 }
92}

Referenced by G4OpticalParametersMessenger::G4OpticalParametersMessenger().