Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4OpticalProcessIndex.hh File Reference
#include "globals.hh"
Include dependency graph for G4OpticalProcessIndex.hh:
This graph shows which files directly or indirectly include this file:

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,
54  kAbsorption,
55  kRayleigh,
56  kMieHG,
57  kBoundary,
58  kWLS,
59  kNoProcess
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.

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.

Here is the caller graph for this function: