#include <G4ProductionCuts.hh>
Definition at line 62 of file G4ProductionCuts.hh.
◆ G4ProductionCuts() [1/2]
G4ProductionCuts::G4ProductionCuts |
( |
| ) |
|
◆ G4ProductionCuts() [2/2]
◆ ~G4ProductionCuts()
G4ProductionCuts::~G4ProductionCuts |
( |
| ) |
|
|
virtual |
◆ GetIndex() [1/2]
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; }
◆ GetIndex() [2/2]
Definition at line 110 of file G4ProductionCuts.cc.
static G4ThreadLocal G4ParticleDefinition * gammaDef
const G4String & GetParticleName() const
static G4ThreadLocal G4ParticleDefinition * positDef
static G4ThreadLocal G4ParticleDefinition * electDef
static G4ThreadLocal G4ParticleDefinition * protonDef
◆ GetProductionCut() [1/2]
◆ GetProductionCut() [2/2]
Definition at line 167 of file G4ProductionCuts.hh.
static G4int GetIndex(const G4String &name)
G4double GetProductionCut(G4int index) const
◆ GetProductionCuts()
const std::vector< G4double > & G4ProductionCuts::GetProductionCuts |
( |
| ) |
const |
|
inline |
◆ IsModified()
G4bool G4ProductionCuts::IsModified |
( |
| ) |
const |
|
inline |
◆ operator!=()
◆ operator=()
Definition at line 67 of file G4ProductionCuts.cc.
69 if (&right==
this)
return *
this;
std::vector< G4double > fRangeCuts
◆ operator==()
◆ PhysicsTableUpdated()
void G4ProductionCuts::PhysicsTableUpdated |
( |
| ) |
|
|
inline |
◆ SetProductionCut() [1/3]
void G4ProductionCuts::SetProductionCut |
( |
G4double |
cut, |
|
|
G4int |
index = -1 |
|
) |
| |
|
inline |
◆ SetProductionCut() [2/3]
Definition at line 142 of file G4ProductionCuts.hh.
static G4int GetIndex(const G4String &name)
void SetProductionCut(G4double cut, G4int index=-1)
◆ SetProductionCut() [3/3]
void G4ProductionCuts::SetProductionCut |
( |
G4double |
cut, |
|
|
const G4String & |
pName |
|
) |
| |
|
inline |
Definition at line 150 of file G4ProductionCuts.hh.
static G4int GetIndex(const G4String &name)
void SetProductionCut(G4double cut, G4int index=-1)
◆ SetProductionCuts()
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
◆ electDef
◆ fRangeCuts
std::vector<G4double> G4ProductionCuts::fRangeCuts |
|
protected |
◆ gammaDef
◆ isModified
G4bool G4ProductionCuts::isModified |
|
protected |
◆ positDef
◆ protonDef
The documentation for this class was generated from the following files: