Geant4  10.00.p03
G4EnergyRangeManager Class Reference

#include <G4EnergyRangeManager.hh>

+ Collaboration diagram for G4EnergyRangeManager:

Public Member Functions

 G4EnergyRangeManager ()
 
 ~G4EnergyRangeManager ()
 
 G4EnergyRangeManager (const G4EnergyRangeManager &right)
 
G4EnergyRangeManageroperator= (const G4EnergyRangeManager &right)
 
G4bool operator== (const G4EnergyRangeManager &right) const
 
G4bool operator!= (const G4EnergyRangeManager &right) const
 
void RegisterMe (G4HadronicInteraction *a)
 
G4HadronicInteractionGetHadronicInteraction (const G4double kineticEnergy, const G4Material *aMaterial, const G4Element *anElement) const
 
G4int GetHadronicInteractionCounter () const
 
void Dump (G4int verbose=0)
 

Private Types

enum  { MAX_NUMBER_OF_MODELS = 100 }
 

Private Attributes

G4int theHadronicInteractionCounter
 
G4HadronicInteractiontheHadronicInteraction [MAX_NUMBER_OF_MODELS]
 

Detailed Description

Definition at line 40 of file G4EnergyRangeManager.hh.

Member Enumeration Documentation

anonymous enum
private
Enumerator
MAX_NUMBER_OF_MODELS 

Definition at line 77 of file G4EnergyRangeManager.hh.

Constructor & Destructor Documentation

G4EnergyRangeManager::G4EnergyRangeManager ( )

Definition at line 40 of file G4EnergyRangeManager.cc.

References MAX_NUMBER_OF_MODELS, and theHadronicInteraction.

G4EnergyRangeManager::~G4EnergyRangeManager ( )
inline

Definition at line 47 of file G4EnergyRangeManager.hh.

G4EnergyRangeManager::G4EnergyRangeManager ( const G4EnergyRangeManager right)

Member Function Documentation

void G4EnergyRangeManager::Dump ( G4int  verbose = 0)

Definition at line 166 of file G4EnergyRangeManager.cc.

References G4cout, G4endl, G4HadronicInteraction::GetMaxEnergy(), G4HadronicInteraction::GetMinEnergy(), G4HadronicInteraction::GetModelName(), GeV, theHadronicInteraction, and theHadronicInteractionCounter.

+ Here is the call graph for this function:

G4HadronicInteraction * G4EnergyRangeManager::GetHadronicInteraction ( const G4double  kineticEnergy,
const G4Material aMaterial,
const G4Element anElement 
) const

Definition at line 80 of file G4EnergyRangeManager.cc.

References DBL_MIN, G4cout, G4endl, G4UniformRand, GetHadronicInteractionCounter(), G4HadronicInteraction::GetMaxEnergy(), G4HadronicInteraction::GetMinEnergy(), G4Element::GetName(), G4Material::GetName(), and theHadronicInteraction.

Referenced by G4HadronicProcess::ChooseHadronicInteraction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4EnergyRangeManager::GetHadronicInteractionCounter ( ) const
inline

Definition at line 70 of file G4EnergyRangeManager.hh.

References theHadronicInteractionCounter.

Referenced by GetHadronicInteraction().

+ Here is the caller graph for this function:

G4bool G4EnergyRangeManager::operator!= ( const G4EnergyRangeManager right) const
inline

Definition at line 58 of file G4EnergyRangeManager.hh.

G4EnergyRangeManager & G4EnergyRangeManager::operator= ( const G4EnergyRangeManager right)
G4bool G4EnergyRangeManager::operator== ( const G4EnergyRangeManager right) const
inline

Definition at line 55 of file G4EnergyRangeManager.hh.

void G4EnergyRangeManager::RegisterMe ( G4HadronicInteraction a)

Definition at line 70 of file G4EnergyRangeManager.cc.

References a, MAX_NUMBER_OF_MODELS, theHadronicInteraction, and theHadronicInteractionCounter.

Referenced by G4HadronicProcess::RegisterMe().

+ Here is the caller graph for this function:

Member Data Documentation

G4HadronicInteraction* G4EnergyRangeManager::theHadronicInteraction[MAX_NUMBER_OF_MODELS]
private
G4int G4EnergyRangeManager::theHadronicInteractionCounter
private

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