Geant4  10.00.p02
G4ProductionCuts Class Reference

#include <G4ProductionCuts.hh>

+ Collaboration diagram for G4ProductionCuts:

Public Member Functions

 G4ProductionCuts ()
 
 G4ProductionCuts (const G4ProductionCuts &right)
 
G4ProductionCutsoperator= (const G4ProductionCuts &right)
 
virtual ~G4ProductionCuts ()
 
G4int operator== (const G4ProductionCuts &right) const
 
G4int operator!= (const G4ProductionCuts &right) const
 
void SetProductionCut (G4double cut, G4int index=-1)
 
void SetProductionCut (G4double cut, G4ParticleDefinition *ptcl)
 
void SetProductionCut (G4double cut, const G4String &pName)
 
G4double GetProductionCut (G4int index) const
 
G4double GetProductionCut (const G4String &name) const
 
void SetProductionCuts (std::vector< G4double > &)
 
const std::vector< G4double > & GetProductionCuts () const
 
G4bool IsModified () const
 
void PhysicsTableUpdated ()
 

Static Public Member Functions

static G4int GetIndex (const G4String &name)
 
static G4int GetIndex (const G4ParticleDefinition *ptcl)
 

Protected Attributes

std::vector< G4doublefRangeCuts
 
G4bool isModified
 

Static Private Attributes

static G4ThreadLocal
G4ParticleDefinition
gammaDef = 0
 
static G4ThreadLocal
G4ParticleDefinition
electDef = 0
 
static G4ThreadLocal
G4ParticleDefinition
positDef = 0
 
static G4ThreadLocal
G4ParticleDefinition
protonDef = 0
 

Detailed Description

Definition at line 62 of file G4ProductionCuts.hh.

Constructor & Destructor Documentation

G4ProductionCuts::G4ProductionCuts ( )

Definition at line 45 of file G4ProductionCuts.cc.

References fRangeCuts, and NumberOfG4CutIndex.

G4ProductionCuts::G4ProductionCuts ( const G4ProductionCuts right)

Definition at line 53 of file G4ProductionCuts.cc.

References fRangeCuts, NumberOfG4CutIndex, and right.

G4ProductionCuts::~G4ProductionCuts ( )
virtual

Definition at line 62 of file G4ProductionCuts.cc.

References fRangeCuts.

Member Function Documentation

G4int G4ProductionCuts::GetIndex ( const G4String name)
static
G4int G4ProductionCuts::GetIndex ( const G4ParticleDefinition ptcl)
static

Definition at line 110 of file G4ProductionCuts.cc.

References electDef, gammaDef, G4ParticleDefinition::GetParticleName(), positDef, and protonDef.

+ Here is the call graph for this function:

G4double G4ProductionCuts::GetProductionCut ( const G4String name) const
inline

Definition at line 167 of file G4ProductionCuts.hh.

References GetIndex(), and GetProductionCut().

+ Here is the call graph for this function:

const std::vector< G4double > & G4ProductionCuts::GetProductionCuts ( ) const
inline

Definition at line 174 of file G4ProductionCuts.hh.

References fRangeCuts.

Referenced by G4ProductionCutsTable::UpdateCoupleTable().

+ Here is the caller graph for this function:

G4bool G4ProductionCuts::IsModified ( ) const
inline

Definition at line 180 of file G4ProductionCuts.hh.

References isModified.

Referenced by G4MaterialCutsCouple::IsRecalcNeeded().

+ Here is the caller graph for this function:

G4int G4ProductionCuts::operator!= ( const G4ProductionCuts right) const

Definition at line 86 of file G4ProductionCuts.cc.

G4ProductionCuts & G4ProductionCuts::operator= ( const G4ProductionCuts right)

Definition at line 67 of file G4ProductionCuts.cc.

References fRangeCuts, isModified, and NumberOfG4CutIndex.

G4int G4ProductionCuts::operator== ( const G4ProductionCuts right) const

Definition at line 80 of file G4ProductionCuts.cc.

void G4ProductionCuts::PhysicsTableUpdated ( )
inline

Definition at line 186 of file G4ProductionCuts.hh.

References isModified.

Referenced by G4MaterialCutsCouple::PhysicsTableUpdated().

+ Here is the caller graph for this function:

void G4ProductionCuts::SetProductionCut ( G4double  cut,
G4ParticleDefinition ptcl 
)
inline

Definition at line 142 of file G4ProductionCuts.hh.

References GetIndex(), and SetProductionCut().

+ Here is the call graph for this function:

void G4ProductionCuts::SetProductionCut ( G4double  cut,
const G4String pName 
)
inline

Definition at line 150 of file G4ProductionCuts.hh.

References GetIndex(), and SetProductionCut().

+ Here is the call graph for this function:

void G4ProductionCuts::SetProductionCuts ( std::vector< G4double > &  cut)

Definition at line 130 of file G4ProductionCuts.cc.

References fRangeCuts, G4cerr, G4endl, G4Exception(), G4ProductionCutsTable::GetProductionCutsTable(), isModified, JustWarning, and NumberOfG4CutIndex.

Referenced by Par01DetectorConstruction::Construct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4ThreadLocal G4ParticleDefinition * G4ProductionCuts::electDef = 0
staticprivate

Definition at line 118 of file G4ProductionCuts.hh.

Referenced by GetIndex().

std::vector<G4double> G4ProductionCuts::fRangeCuts
protected
G4ThreadLocal G4ParticleDefinition * G4ProductionCuts::gammaDef = 0
staticprivate

Definition at line 117 of file G4ProductionCuts.hh.

Referenced by GetIndex().

G4bool G4ProductionCuts::isModified
protected
G4ThreadLocal G4ParticleDefinition * G4ProductionCuts::positDef = 0
staticprivate

Definition at line 119 of file G4ProductionCuts.hh.

Referenced by GetIndex().

G4ThreadLocal G4ParticleDefinition * G4ProductionCuts::protonDef = 0
staticprivate

Definition at line 121 of file G4ProductionCuts.hh.

Referenced by GetIndex().


The documentation for this class was generated from the following files: