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 G4ThreadLocal G4ParticleDefinition * electDef
static G4ThreadLocal G4ParticleDefinition * gammaDef
const G4String & GetParticleName() const
static G4int GetIndex(const G4String &name)
static G4ThreadLocal G4ParticleDefinition * protonDef
G4ProductionCuts & operator=(const G4ProductionCuts &right)
G4int GetVerboseLevel() const
G4GLOB_DLL std::ostream G4cerr
static G4ProductionCutsTable * GetProductionCutsTable()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4int operator!=(const G4ProductionCuts &right) const
virtual ~G4ProductionCuts()
G4int operator==(const G4ProductionCuts &right) const
static G4ThreadLocal G4ParticleDefinition * positDef
void SetProductionCuts(std::vector< G4double > &)
std::vector< G4double > fRangeCuts