Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4BetaDecayType.cc File Reference
#include "G4BetaDecayType.hh"

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator>>()

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}
@ uniqueFirstForbidden
@ uniqueThirdForbidden
@ allowed
@ uniqueSecondForbidden
@ thirdForbidden
@ secondForbidden
@ notImplemented
@ firstForbidden