G4RadioactiveDecayMode.hh File Reference

#include "globals.hh"

Go to the source code of this file.

Defines

#define G4RadioactiveDecayMode_h   1

Enumerations

enum  G4RadioactiveDecayMode {
  ERROR = -1, IT = 0, BetaMinus = 1, BetaPlus = 2,
  KshellEC = 3, LshellEC = 4, MshellEC = 5, Alpha = 6,
  SpFission = 7
}

Functions

std::istream & operator>> (std::istream &s, G4RadioactiveDecayMode &q)


Define Documentation

#define G4RadioactiveDecayMode_h   1

Definition at line 27 of file G4RadioactiveDecayMode.hh.


Enumeration Type Documentation

enum G4RadioactiveDecayMode

Enumerator:
ERROR 
IT 
BetaMinus 
BetaPlus 
KshellEC 
LshellEC 
MshellEC 
Alpha 
SpFission 

Definition at line 64 of file G4RadioactiveDecayMode.hh.

00065   {ERROR=-1, IT=0, BetaMinus=1, BetaPlus=2, KshellEC=3, LshellEC=4, MshellEC=5, Alpha=6,
00066    SpFission=7};


Function Documentation

std::istream& operator>> ( std::istream &  s,
G4RadioactiveDecayMode q 
)

Definition at line 29 of file G4RadioactiveDecayMode.cc.

References Alpha, BetaMinus, BetaPlus, ERROR, IT, KshellEC, LshellEC, MshellEC, and SpFission.

00030 {
00031   G4String a;
00032   strm >> a;
00033   if (a == "IT")
00034     {q = IT;}
00035   else if (a == "BetaMinus")
00036     {q = BetaMinus;}
00037   else if (a == "BetaPlus")
00038     {q = BetaPlus;}
00039   else if (a == "KshellEC")
00040     {q = KshellEC;}
00041   else if (a == "LshellEC")
00042     {q = LshellEC;}
00043   else if (a == "MshellEC")
00044     {q = MshellEC;}
00045   else if (a == "Alpha")
00046     {q = Alpha;}
00047   else if (a == "SpFission")
00048     {q = SpFission;}
00049   else
00050     {q = ERROR;}
00051   return strm;
00052 }


Generated on Mon May 27 17:51:05 2013 for Geant4 by  doxygen 1.4.7