Geant4-11
Enumerations | Functions
G4RadioactiveDecayMode.hh File Reference
#include "globals.hh"

Go to the source code of this file.

Enumerations

enum  G4RadioactiveDecayMode {
  RDM_ERROR =-1 , IT =0 , BetaMinus =1 , BetaPlus =2 ,
  KshellEC =3 , LshellEC =4 , MshellEC =5 , NshellEC =6 ,
  Alpha =7 , Proton =8 , Neutron =9 , SpFission =10 ,
  BDProton =11 , BDNeutron =12 , Beta2Minus =13 , Beta2Plus =14 ,
  Proton2 =15 , Neutron2 =16 , Triton =17 , G4RadioactiveDecayModeSize
}
 

Functions

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

Enumeration Type Documentation

◆ G4RadioactiveDecayMode

Enumerator
RDM_ERROR 
IT 
BetaMinus 
BetaPlus 
KshellEC 
LshellEC 
MshellEC 
NshellEC 
Alpha 
Proton 
Neutron 
SpFission 
BDProton 
BDNeutron 
Beta2Minus 
Beta2Plus 
Proton2 
Neutron2 
Triton 
G4RadioactiveDecayModeSize 

Definition at line 66 of file G4RadioactiveDecayMode.hh.

66 {
67 RDM_ERROR=-1, IT=0, BetaMinus=1, BetaPlus=2,
69 Alpha=7, Proton=8, Neutron=9, SpFission=10,
70 BDProton=11, BDNeutron=12, Beta2Minus=13, Beta2Plus=14,
71 Proton2=15, Neutron2=16, Triton=17,
72 G4RadioactiveDecayModeSize // Note: the value G4RadioactiveDecayModeSize must remain the last one!
73};
@ G4RadioactiveDecayModeSize

Function Documentation

◆ operator>>()

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

Definition at line 29 of file G4RadioactiveDecayMode.cc.

30{
31 G4String a;
32 strm >> a;
33 if (a == "IT")
34 {q = IT;}
35 else if (a == "BetaMinus")
36 {q = BetaMinus;}
37 else if (a == "BetaPlus")
38 {q = BetaPlus;}
39 else if (a == "KshellEC")
40 {q = KshellEC;}
41 else if (a == "LshellEC")
42 {q = LshellEC;}
43 else if (a == "MshellEC")
44 {q = MshellEC;}
45 else if (a == "NshellEC")
46 {q = NshellEC;}
47 else if (a == "Alpha")
48 {q = Alpha;}
49 else if (a == "Proton")
50 {q = Proton;}
51 else if (a == "Neutron")
52 {q = Neutron;}
53 else if (a == "SpFission")
54 {q = SpFission;}
55 else if (a == "BDProton")
56 {q = BDProton;}
57 else if (a == "BDNeutron")
58 {q = BDNeutron;}
59 else if (a == "Beta2Minus")
60 {q = Beta2Minus;}
61 else if (a == "Beta2Plus")
62 {q = Beta2Plus;}
63 else if (a == "Proton2")
64 {q = Proton2;}
65 else if (a == "Neutron2")
66 {q = Neutron2;}
67 else if (a == "Triton")
68 {q = Triton;}
69 else
70 {q = RDM_ERROR;}
71 return strm;
72}

References Alpha, BDNeutron, BDProton, Beta2Minus, Beta2Plus, BetaMinus, BetaPlus, IT, KshellEC, LshellEC, MshellEC, Neutron, Neutron2, NshellEC, Proton, Proton2, RDM_ERROR, SpFission, and Triton.