Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Enumerations | Functions
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. More...
 

Enumeration Type Documentation

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 };
Number of processes, no selected process.
Scintillation process index.
Mie scattering process index.
Absorption process index.
Wave Length Shifting process index.
Boundary process index.
Cerenkov process index.
Rayleigh scattering process index.

Function Documentation

G4String G4OpticalProcessName ( G4int  processNumber)
inline

Return the name for a given optical process index.

Definition at line 70 of file G4OpticalProcessIndex.hh.

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

Referenced by G4OpticalPhysicsMessenger::G4OpticalPhysicsMessenger().

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 }
Scintillation process index.
Mie scattering process index.
Absorption process index.
Wave Length Shifting process index.
Boundary process index.
Cerenkov process index.
Rayleigh scattering process index.