69 if (&right==
this)
return *
this;
82 return (
this == &right);
88 return (
this != &right);
94 static const G4String gamma (
"gamma");
100 if ( name == gamma ) { index = 0; }
101 else if ( name == electron ) { index = 1; }
102 else if ( name == positron ) { index = 2; }
103 else if ( name == proton ) { index = 3; }
132 G4int vSize = cut.size();
136 G4cerr <<
"G4ProductionCuts::SetProductionCuts ";
137 G4cerr <<
" The size of given cut value vector [=" << vSize <<
"] "
138 <<
" is not consitent with number of CutIndex [="
142 G4Exception(
"G4ProductionCuts::SetProductionCuts ",
147 for(
G4int i = 0; (i<vSize ); i++) {
static G4int GetIndex(const G4String &name)
std::vector< G4double > fRangeCuts
G4int operator!=(const G4ProductionCuts &right) const
const G4String & GetParticleName() const
G4int operator==(const G4ProductionCuts &right) const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static G4ProductionCutsTable * GetProductionCutsTable()
virtual ~G4ProductionCuts()
G4ProductionCuts & operator=(const G4ProductionCuts &right)
void SetProductionCuts(std::vector< G4double > &)
G4GLOB_DLL std::ostream G4cerr