#include "globals.hh"
Go to the source code of this file.
Defines | |
#define | G4BetaDecayType_h 1 |
Enumerations | |
enum | G4BetaDecayType { allowed, firstForbidden, uniqueFirstForbidden, secondForbidden, uniqueSecondForbidden, thirdForbidden, uniqueThirdForbidden, notImplemented } |
Functions | |
std::istream & | operator>> (std::istream &s, G4BetaDecayType &q) |
#define G4BetaDecayType_h 1 |
Definition at line 37 of file G4BetaDecayType.hh.
enum G4BetaDecayType |
allowed | |
firstForbidden | |
uniqueFirstForbidden | |
secondForbidden | |
uniqueSecondForbidden | |
thirdForbidden | |
uniqueThirdForbidden | |
notImplemented |
Definition at line 39 of file G4BetaDecayType.hh.
00040 { 00041 allowed, 00042 firstForbidden, 00043 uniqueFirstForbidden, 00044 secondForbidden, 00045 uniqueSecondForbidden, 00046 thirdForbidden, 00047 uniqueThirdForbidden, 00048 notImplemented 00049 };
std::istream& operator>> | ( | std::istream & | s, | |
G4BetaDecayType & | q | |||
) |
Definition at line 29 of file G4BetaDecayType.cc.
00030 { 00031 G4String a; 00032 strm >> a; 00033 00034 if (a == "allowed") 00035 {q = allowed;} 00036 else if (a == "firstForbidden") 00037 {q = firstForbidden;} 00038 else if (a == "uniqueFirstForbidden") 00039 {q = uniqueFirstForbidden;} 00040 else if (a == "secondForbidden") 00041 {q = secondForbidden;} 00042 else if (a == "uniqueSecondForbidden") 00043 {q = uniqueSecondForbidden;} 00044 else if (a == "thirdForbidden") 00045 {q = thirdForbidden;} 00046 else if (a == "uniqueThirdForbidden") 00047 {q = uniqueThirdForbidden;} 00048 else 00049 {q = notImplemented;} 00050 00051 return strm; 00052 }