#include "globals.hh"
Go to the source code of this file.
Defines | |
#define | G4OpticalProcessIndex_h 1 |
Enumerations | |
enum | G4OpticalProcessIndex { kCerenkov, kScintillation, kAbsorption, kRayleigh, kMieHG, kBoundary, kWLS, kNoProcess } |
Functions | |
G4String | G4OpticalProcessName (G4int) |
Return the name for a given optical process index. |
#define G4OpticalProcessIndex_h 1 |
Definition at line 47 of file G4OpticalProcessIndex.hh.
Definition at line 51 of file G4OpticalProcessIndex.hh.
00051 { 00052 kCerenkov, 00053 kScintillation, 00054 kAbsorption, 00055 kRayleigh, 00056 kMieHG, 00057 kBoundary, 00058 kWLS, 00059 kNoProcess 00060 };
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().
00071 { 00072 switch ( processNumber ) { 00073 case kCerenkov: return "Cerenkov"; 00074 case kScintillation: return "Scintillation"; 00075 case kAbsorption: return "OpAbsorption"; 00076 case kRayleigh: return "OpRayleigh"; 00077 case kMieHG: return "OpMieHG"; 00078 case kBoundary: return "OpBoundary"; 00079 case kWLS: return "OpWLS"; 00080 default: return "NoProcess"; 00081 } 00082 }