Geant4-11
Enumerations | Functions
G4BetaDecayType.hh File Reference
#include "globals.hh"

Go to the source code of this file.

Enumerations

enum  G4BetaDecayType {
  allowed , firstForbidden , uniqueFirstForbidden , secondForbidden ,
  uniqueSecondForbidden , thirdForbidden , uniqueThirdForbidden , notImplemented
}
 

Functions

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

Enumeration Type Documentation

◆ G4BetaDecayType

Enumerator
allowed 
firstForbidden 
uniqueFirstForbidden 
secondForbidden 
uniqueSecondForbidden 
thirdForbidden 
uniqueThirdForbidden 
notImplemented 

Definition at line 38 of file G4BetaDecayType.hh.

39{
40 allowed,
48};
@ uniqueFirstForbidden
@ uniqueThirdForbidden
@ allowed
@ uniqueSecondForbidden
@ thirdForbidden
@ secondForbidden
@ notImplemented
@ firstForbidden

Function Documentation

◆ operator>>()

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

Definition at line 29 of file G4BetaDecayType.cc.

30{
31 G4String a;
32 strm >> a;
33
34 if (a == "allowed")
35 {q = allowed;}
36 else if (a == "firstForbidden")
37 {q = firstForbidden;}
38 else if (a == "uniqueFirstForbidden")
40 else if (a == "secondForbidden")
41 {q = secondForbidden;}
42 else if (a == "uniqueSecondForbidden")
44 else if (a == "thirdForbidden")
45 {q = thirdForbidden;}
46 else if (a == "uniqueThirdForbidden")
48 else
49 {q = notImplemented;}
50
51 return strm;
52}

References allowed, firstForbidden, notImplemented, secondForbidden, thirdForbidden, uniqueFirstForbidden, uniqueSecondForbidden, and uniqueThirdForbidden.