G4BetaDecayType.hh File Reference

#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 Documentation

#define G4BetaDecayType_h   1

Definition at line 37 of file G4BetaDecayType.hh.


Enumeration Type Documentation

enum G4BetaDecayType

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.

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 }


Generated on Mon May 27 17:50:38 2013 for Geant4 by  doxygen 1.4.7