G4RadioactiveDecayMode.cc File Reference

#include "G4RadioactiveDecayMode.hh"

Go to the source code of this file.

Functions

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


Function Documentation

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

Definition at line 29 of file G4RadioactiveDecayMode.cc.

References Alpha, BetaMinus, BetaPlus, ERROR, IT, KshellEC, LshellEC, MshellEC, and SpFission.

00030 {
00031   G4String a;
00032   strm >> a;
00033   if (a == "IT")
00034     {q = IT;}
00035   else if (a == "BetaMinus")
00036     {q = BetaMinus;}
00037   else if (a == "BetaPlus")
00038     {q = BetaPlus;}
00039   else if (a == "KshellEC")
00040     {q = KshellEC;}
00041   else if (a == "LshellEC")
00042     {q = LshellEC;}
00043   else if (a == "MshellEC")
00044     {q = MshellEC;}
00045   else if (a == "Alpha")
00046     {q = Alpha;}
00047   else if (a == "SpFission")
00048     {q = SpFission;}
00049   else
00050     {q = ERROR;}
00051   return strm;
00052 }


Generated on Mon May 27 17:51:04 2013 for Geant4 by  doxygen 1.4.7