Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4BetaDecayType.hh File Reference
#include "globals.hh"
Include dependency graph for G4BetaDecayType.hh:
This graph shows which files directly or indirectly include this file:

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

Enumerator
allowed 
firstForbidden 
uniqueFirstForbidden 
secondForbidden 
uniqueSecondForbidden 
thirdForbidden 
uniqueThirdForbidden 
notImplemented 

Definition at line 39 of file G4BetaDecayType.hh.

Function Documentation

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 }