Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4BetaDecayType.cc File Reference
#include "G4BetaDecayType.hh"
Include dependency graph for G4BetaDecayType.cc:

Go to the source code of this file.

Functions

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

Function Documentation

std::istream& operator>> ( std::istream &  strm,
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 }