#include <G4ProductionCuts.hh>
Definition at line 62 of file G4ProductionCuts.hh.
G4ProductionCuts::G4ProductionCuts |
( |
| ) |
|
G4ProductionCuts::~G4ProductionCuts |
( |
| ) |
|
|
virtual |
Definition at line 92 of file G4ProductionCuts.cc.
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; }
Definition at line 167 of file G4ProductionCuts.hh.
static G4int GetIndex(const G4String &name)
G4double GetProductionCut(G4int index) const
const std::vector< G4double > & G4ProductionCuts::GetProductionCuts |
( |
| ) |
const |
|
inline |
G4bool G4ProductionCuts::IsModified |
( |
| ) |
const |
|
inline |
Definition at line 67 of file G4ProductionCuts.cc.
69 if (&right==
this)
return *
this;
std::vector< G4double > fRangeCuts
void G4ProductionCuts::PhysicsTableUpdated |
( |
| ) |
|
|
inline |
Definition at line 142 of file G4ProductionCuts.hh.
static G4int GetIndex(const G4String &name)
void SetProductionCut(G4double cut, G4int index=-1)
Definition at line 150 of file G4ProductionCuts.hh.
static G4int GetIndex(const G4String &name)
void SetProductionCut(G4double cut, G4int index=-1)
void G4ProductionCuts::SetProductionCuts |
( |
std::vector< G4double > & |
cut | ) |
|
Definition at line 130 of file G4ProductionCuts.cc.
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++) {
std::vector< G4double > fRangeCuts
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static G4ProductionCutsTable * GetProductionCutsTable()
G4GLOB_DLL std::ostream G4cerr
std::vector<G4double> G4ProductionCuts::fRangeCuts |
|
protected |
G4bool G4ProductionCuts::isModified |
|
protected |
The documentation for this class was generated from the following files: