G4OpticalProcessIndex.hh File Reference

#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 Documentation

#define G4OpticalProcessIndex_h   1

Definition at line 47 of file G4OpticalProcessIndex.hh.


Enumeration Type Documentation

enum 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.
kNoProcess  Number of processes, no selected process.

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 };


Function Documentation

G4String G4OpticalProcessName ( G4int   )  [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().

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 }


Generated on Mon May 27 17:50:58 2013 for Geant4 by  doxygen 1.4.7