65 if (&right==
this)
return *
this;
78 return (
this == &right);
84 return (
this != &right);
96 if ( name == gamma ) { index = 0; }
97 else if ( name == electron ) { index = 1; }
98 else if ( name == positron ) { index = 2; }
99 else if ( name == proton ) { index = 3; }
110 if(gammaDef==0 && ptcl->
GetParticleName()==
"gamma") { gammaDef = ptcl; }
113 if(protonDef==0 && ptcl->
GetParticleName()==
"proton") { protonDef = ptcl; }
116 if(ptcl==gammaDef) { index = 0; }
117 else if(ptcl==electDef) { index = 1; }
118 else if(ptcl==positDef) { index = 2; }
119 else if(ptcl==protonDef) { index = 3; }
128 G4int vSize = cut.size();
132 G4cerr <<
"G4ProductionCuts::SetProductionCuts ";
133 G4cerr <<
" The size of given cut value vector [=" << vSize <<
"] "
134 <<
" is not consitent with number of CutIndex [="
138 G4Exception(
"G4ProductionCuts::SetProductionCuts ",
143 for(
G4int i = 0; (i<vSize ); i++) {