Geant4  10.03
G4ParticleHPContAngularPar Class Reference

#include <G4ParticleHPContAngularPar.hh>

+ Collaboration diagram for G4ParticleHPContAngularPar:

Classes

struct  toBeCached
 

Public Member Functions

 G4ParticleHPContAngularPar ()
 
 G4ParticleHPContAngularPar (G4ParticleDefinition *projectile)
 
 ~G4ParticleHPContAngularPar ()
 
void Init (std::istream &aDataFile, G4ParticleDefinition *projectile)
 
G4ReactionProductSample (G4double anEnergy, G4double massCode, G4double mass, G4int angularRep, G4int interpol)
 
G4double GetEnergy ()
 
void SetPrimary (G4ReactionProduct *aPrimary)
 
void SetTarget (G4ReactionProduct *aTarget)
 
void SetTargetCode (G4double aTargetCode)
 
void SetInterpolation (G4int theInterpolation)
 
void BuildByInterpolation (G4double anEnergy, G4InterpolationScheme aScheme, G4ParticleHPContAngularPar &store1, G4ParticleHPContAngularPar &store2)
 
void PrepareTableInterpolation (const G4ParticleHPContAngularPar *angularPrev)
 
G4double MeanEnergyOfThisInteraction ()
 
G4int GetNEnergies () const
 
G4int GetNDiscreteEnergies () const
 
std::set< G4doubleGetEnergiesTransformed () const
 
G4int GetNEnergiesTransformed () const
 
G4double GetMinEner () const
 
G4double GetMaxEner () const
 
std::map< G4double, G4intGetDiscreteEnergiesOwn () const
 
G4ParticleHPListGetAngDataList () const
 
void ClearHistories ()
 
void Dump ()
 

Private Member Functions

void cacheInit ()
 

Private Attributes

G4double theEnergy
 
G4int nEnergies
 
G4int nDiscreteEnergies
 
G4int nAngularParameters
 
G4InterpolationManager theManager
 
G4ParticleHPListtheAngular
 
G4ParticleHPInterpolator theInt
 
G4Cache< toBeCached * > fCache
 
G4ParticleDefinitiontheProjectile
 
G4bool adjustResult
 
G4double theMinEner
 
G4double theMaxEner
 
std::set< G4doubletheEnergiesTransformed
 
std::set< G4doubletheDiscreteEnergies
 
std::map< G4double, G4inttheDiscreteEnergiesOwn
 

Detailed Description

Definition at line 46 of file G4ParticleHPContAngularPar.hh.

Constructor & Destructor Documentation

G4ParticleHPContAngularPar::G4ParticleHPContAngularPar ( )
inline
G4ParticleHPContAngularPar::G4ParticleHPContAngularPar ( G4ParticleDefinition projectile)

Definition at line 60 of file G4ParticleHPContAngularPar.cc.

References adjustResult, cacheInit(), DBL_MAX, fCache, nAngularParameters, nDiscreteEnergies, nEnergies, theAngular, theEnergy, theMaxEner, theMinEner, and theProjectile.

+ Here is the call graph for this function:

G4ParticleHPContAngularPar::~G4ParticleHPContAngularPar ( )
inline

Definition at line 79 of file G4ParticleHPContAngularPar.hh.

References theAngular.

Member Function Documentation

void G4ParticleHPContAngularPar::BuildByInterpolation ( G4double  anEnergy,
G4InterpolationScheme  aScheme,
G4ParticleHPContAngularPar store1,
G4ParticleHPContAngularPar store2 
)

Definition at line 730 of file G4ParticleHPContAngularPar.cc.

References Dump(), G4cout, G4endl, GetDiscreteEnergiesOwn(), GetEnergiesTransformed(), GetEnergy(), G4ParticleHPList::GetLabel(), GetMaxEner(), GetMinEner(), GetNDiscreteEnergies(), GetNEnergies(), GetNEnergiesTransformed(), G4InterpolationManager::GetScheme(), G4ParticleHPList::GetValue(), G4ParticleHPInterpolator::Interpolate(), G4ParticleHPInterpolator::Interpolate2(), nAngularParameters, nDiscreteEnergies, nEnergies, G4ParticleHPList::SetLabel(), G4ParticleHPList::SetValue(), theAngular, theDiscreteEnergies, theEnergy, theInt, theManager, theMaxEner, and theMinEner.

Referenced by G4ParticleHPContEnergyAngular::Sample().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ParticleHPContAngularPar::cacheInit ( )
inlineprivate

Definition at line 198 of file G4ParticleHPContAngularPar.hh.

References G4ParticleHPContAngularPar::toBeCached::currentMeanEnergy, G4ParticleHPContAngularPar::toBeCached::fresh, G4Cache< VALTYPE >::Put(), and G4ParticleHPContAngularPar::toBeCached::remaining_energy.

Referenced by ClearHistories(), G4ParticleHPContAngularPar(), and Sample().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ParticleHPContAngularPar::ClearHistories ( )
inline

Definition at line 191 of file G4ParticleHPContAngularPar.hh.

References cacheInit(), and fCache.

+ Here is the call graph for this function:

void G4ParticleHPContAngularPar::Dump ( )

Definition at line 883 of file G4ParticleHPContAngularPar.cc.

References G4ParticleHPList::Dump(), G4cout, G4endl, nAngularParameters, nDiscreteEnergies, nEnergies, theAngular, and theEnergy.

Referenced by BuildByInterpolation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ParticleHPList* G4ParticleHPContAngularPar::GetAngDataList ( ) const
inline

Definition at line 160 of file G4ParticleHPContAngularPar.hh.

References theAngular.

std::map<G4double,G4int> G4ParticleHPContAngularPar::GetDiscreteEnergiesOwn ( ) const
inline

Definition at line 156 of file G4ParticleHPContAngularPar.hh.

References theDiscreteEnergiesOwn.

Referenced by BuildByInterpolation().

+ Here is the caller graph for this function:

std::set<G4double> G4ParticleHPContAngularPar::GetEnergiesTransformed ( ) const
inline

Definition at line 140 of file G4ParticleHPContAngularPar.hh.

References theEnergiesTransformed.

Referenced by BuildByInterpolation().

+ Here is the caller graph for this function:

G4double G4ParticleHPContAngularPar::GetEnergy ( )
inline

Definition at line 89 of file G4ParticleHPContAngularPar.hh.

References G4cout, G4endl, nEnergies, and theEnergy.

Referenced by BuildByInterpolation(), and G4ParticleHPContEnergyAngular::Sample().

+ Here is the caller graph for this function:

G4double G4ParticleHPContAngularPar::GetMaxEner ( ) const
inline

Definition at line 152 of file G4ParticleHPContAngularPar.hh.

References theMaxEner.

Referenced by BuildByInterpolation(), and PrepareTableInterpolation().

+ Here is the caller graph for this function:

G4double G4ParticleHPContAngularPar::GetMinEner ( ) const
inline

Definition at line 148 of file G4ParticleHPContAngularPar.hh.

References theMinEner.

Referenced by BuildByInterpolation(), and PrepareTableInterpolation().

+ Here is the caller graph for this function:

G4int G4ParticleHPContAngularPar::GetNDiscreteEnergies ( ) const
inline

Definition at line 136 of file G4ParticleHPContAngularPar.hh.

References nDiscreteEnergies.

Referenced by BuildByInterpolation(), and PrepareTableInterpolation().

+ Here is the caller graph for this function:

G4int G4ParticleHPContAngularPar::GetNEnergies ( ) const
inline

Definition at line 132 of file G4ParticleHPContAngularPar.hh.

References nEnergies.

Referenced by BuildByInterpolation(), PrepareTableInterpolation(), and G4ParticleHPContEnergyAngular::Sample().

+ Here is the caller graph for this function:

G4int G4ParticleHPContAngularPar::GetNEnergiesTransformed ( ) const
inline

Definition at line 144 of file G4ParticleHPContAngularPar.hh.

References theEnergiesTransformed.

Referenced by BuildByInterpolation().

+ Here is the caller graph for this function:

void G4ParticleHPContAngularPar::Init ( std::istream &  aDataFile,
G4ParticleDefinition projectile 
)

Definition at line 79 of file G4ParticleHPContAngularPar.cc.

References adjustResult, eV, G4ParticleHPList::Init(), G4INCL::Math::max(), G4INCL::Math::min(), nAngularParameters, nDiscreteEnergies, nEnergies, G4ParticleHPList::SetLabel(), theAngular, theEnergy, theMaxEner, theMinEner, and theProjectile.

Referenced by G4ParticleHPContEnergyAngular::Init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ParticleHPContAngularPar::MeanEnergyOfThisInteraction ( )
inline

Definition at line 116 of file G4ParticleHPContAngularPar.hh.

References fCache.

Referenced by G4ParticleHPContEnergyAngular::Sample().

+ Here is the caller graph for this function:

void G4ParticleHPContAngularPar::PrepareTableInterpolation ( const G4ParticleHPContAngularPar angularPrev)

Definition at line 690 of file G4ParticleHPContAngularPar.cc.

References G4ParticleHPList::GetLabel(), GetMaxEner(), GetMinEner(), GetNDiscreteEnergies(), GetNEnergies(), nDiscreteEnergies, nEnergies, theAngular, theDiscreteEnergies, theDiscreteEnergiesOwn, theEnergiesTransformed, theMaxEner, and theMinEner.

Referenced by G4ParticleHPContEnergyAngular::Init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ReactionProduct * G4ParticleHPContAngularPar::Sample ( G4double  anEnergy,
G4double  massCode,
G4double  mass,
G4int  angularRep,
G4int  interpol 
)

Definition at line 103 of file G4ParticleHPContAngularPar.cc.

References A(), adjustResult, G4Alpha::Alpha(), cacheInit(), G4Deuteron::Deuteron(), G4Electron::Electron(), eV, fCache, G4cout, G4endl, G4UniformRand, G4Gamma::Gamma(), G4NucleiProperties::GetBindingEnergy(), G4ParticleHPInterpolator::GetBinIntegral(), G4InterpolationManager::GetInverseScheme(), G4IonTable::GetIonTable(), G4ParticleHPList::GetLabel(), G4ReactionProduct::GetMass(), G4ParticleDefinition::GetPDGMass(), G4InterpolationManager::GetScheme(), G4ReactionProduct::GetTotalMomentum(), G4ParticleHPList::GetValue(), G4ParticleHPVector::GetVectorLength(), G4ParticleHPInterpolator::GetWeightedBinIntegral(), G4ParticleHPVector::GetX(), G4ParticleHPVector::GetY(), G4He3::He3(), G4ParticleHPLegendreStore::Init(), G4InterpolationManager::Init(), G4ParticleHPInterpolator::Interpolate(), G4INCL::Math::max(), G4INCL::Math::min(), nAngularParameters, nDiscreteEnergies, nEnergies, G4Neutron::Neutron(), G4Positron::Positron(), G4Proton::Proton(), G4ParticleHPKallbachMannSyst::Sample(), G4ParticleHPVector::Sample(), G4ParticleHPLegendreStore::SampleMax(), G4ParticleHPLegendreStore::SetCoeff(), G4ReactionProduct::SetDefinition(), G4ParticleHPVector::SetInterpolationManager(), G4ReactionProduct::SetKineticEnergy(), G4ParticleHPLegendreStore::SetManager(), G4ReactionProduct::SetMomentum(), G4ParticleHPVector::SetX(), G4ParticleHPVector::SetY(), theAngular, theInt, theManager, theProjectile, G4Triton::Triton(), and twopi.

Referenced by G4ParticleHPContEnergyAngular::Sample().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ParticleHPContAngularPar::SetInterpolation ( G4int  theInterpolation)
inline

Definition at line 105 of file G4ParticleHPContAngularPar.hh.

References G4InterpolationManager::Init(), nEnergies, and theManager.

Referenced by G4ParticleHPContEnergyAngular::Init(), and G4ParticleHPContEnergyAngular::Sample().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ParticleHPContAngularPar::SetPrimary ( G4ReactionProduct aPrimary)
inline

Definition at line 93 of file G4ParticleHPContAngularPar.hh.

References fCache.

Referenced by G4ParticleHPContEnergyAngular::Sample().

+ Here is the caller graph for this function:

void G4ParticleHPContAngularPar::SetTarget ( G4ReactionProduct aTarget)
inline

Definition at line 98 of file G4ParticleHPContAngularPar.hh.

References fCache.

Referenced by G4ParticleHPContEnergyAngular::Sample().

+ Here is the caller graph for this function:

void G4ParticleHPContAngularPar::SetTargetCode ( G4double  aTargetCode)
inline

Definition at line 103 of file G4ParticleHPContAngularPar.hh.

References fCache.

Referenced by G4ParticleHPContEnergyAngular::Sample().

+ Here is the caller graph for this function:

Member Data Documentation

G4bool G4ParticleHPContAngularPar::adjustResult
private

Definition at line 210 of file G4ParticleHPContAngularPar.hh.

Referenced by G4ParticleHPContAngularPar(), Init(), and Sample().

G4Cache< toBeCached* > G4ParticleHPContAngularPar::fCache
private
G4int G4ParticleHPContAngularPar::nAngularParameters
private
G4int G4ParticleHPContAngularPar::nDiscreteEnergies
private
std::set<G4double> G4ParticleHPContAngularPar::theDiscreteEnergies
private
std::map<G4double,G4int> G4ParticleHPContAngularPar::theDiscreteEnergiesOwn
private
std::set<G4double> G4ParticleHPContAngularPar::theEnergiesTransformed
private
G4double G4ParticleHPContAngularPar::theEnergy
private
G4ParticleHPInterpolator G4ParticleHPContAngularPar::theInt
private

Definition at line 180 of file G4ParticleHPContAngularPar.hh.

Referenced by BuildByInterpolation(), and Sample().

G4InterpolationManager G4ParticleHPContAngularPar::theManager
private

Definition at line 176 of file G4ParticleHPContAngularPar.hh.

Referenced by BuildByInterpolation(), Sample(), and SetInterpolation().

G4double G4ParticleHPContAngularPar::theMaxEner
private
G4double G4ParticleHPContAngularPar::theMinEner
private
G4ParticleDefinition* G4ParticleHPContAngularPar::theProjectile
private

Definition at line 204 of file G4ParticleHPContAngularPar.hh.

Referenced by G4ParticleHPContAngularPar(), Init(), and Sample().


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