Geant4  10.02
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
 
G4double theTargetCode
 
G4ReactionProducttheTarget
 
G4ReactionProductthePrimary
 
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

Definition at line 58 of file G4ParticleHPContAngularPar.hh.

References DBL_MAX, fCache, theAngular, theMaxEner, and theMinEner.

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

Definition at line 70 of file G4ParticleHPContAngularPar.hh.

References theAngular.

Member Function Documentation

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

Definition at line 724 of file G4ParticleHPContAngularPar.cc.

References Dump(), e1, e2, 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 189 of file G4ParticleHPContAngularPar.hh.

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

Referenced by ClearHistories(), 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 182 of file G4ParticleHPContAngularPar.hh.

References cacheInit(), and fCache.

+ Here is the call graph for this function:

void G4ParticleHPContAngularPar::Dump ( )

Definition at line 872 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 151 of file G4ParticleHPContAngularPar.hh.

References theAngular.

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

Definition at line 147 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 131 of file G4ParticleHPContAngularPar.hh.

References theEnergiesTransformed.

Referenced by BuildByInterpolation().

+ Here is the caller graph for this function:

G4double G4ParticleHPContAngularPar::GetEnergy ( )
inline

Definition at line 80 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 143 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 139 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 127 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 123 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 135 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 73 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 107 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 684 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 97 of file G4ParticleHPContAngularPar.cc.

References A(), adjustResult, G4Alpha::Alpha(), cacheInit(), G4Deuteron::Deuteron(), e1, e2, 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, theTarget, theTargetCode, G4Triton::Triton(), twopi, and x.

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 96 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 84 of file G4ParticleHPContAngularPar.hh.

References thePrimary.

Referenced by G4ParticleHPContEnergyAngular::Sample().

+ Here is the caller graph for this function:

void G4ParticleHPContAngularPar::SetTarget ( G4ReactionProduct aTarget)
inline

Definition at line 89 of file G4ParticleHPContAngularPar.hh.

References theTarget.

Referenced by G4ParticleHPContEnergyAngular::Sample().

+ Here is the caller graph for this function:

void G4ParticleHPContAngularPar::SetTargetCode ( G4double  aTargetCode)
inline

Definition at line 94 of file G4ParticleHPContAngularPar.hh.

References theTargetCode.

Referenced by G4ParticleHPContEnergyAngular::Sample().

+ Here is the caller graph for this function:

Member Data Documentation

G4bool G4ParticleHPContAngularPar::adjustResult
private

Definition at line 201 of file G4ParticleHPContAngularPar.hh.

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

G4Cache< toBeCached* > G4ParticleHPContAngularPar::fCache
private
G4int G4ParticleHPContAngularPar::nAngularParameters
private

Definition at line 165 of file G4ParticleHPContAngularPar.hh.

Referenced by BuildByInterpolation(), Dump(), Init(), and Sample().

G4int G4ParticleHPContAngularPar::nDiscreteEnergies
private
G4int G4ParticleHPContAngularPar::nEnergies
private
std::set<G4double> G4ParticleHPContAngularPar::theDiscreteEnergies
private
std::map<G4double,G4int> G4ParticleHPContAngularPar::theDiscreteEnergiesOwn
private
std::set<G4double> G4ParticleHPContAngularPar::theEnergiesTransformed
private
G4double G4ParticleHPContAngularPar::theEnergy
private

Definition at line 158 of file G4ParticleHPContAngularPar.hh.

Referenced by BuildByInterpolation(), Dump(), GetEnergy(), and Init().

G4ParticleHPInterpolator G4ParticleHPContAngularPar::theInt
private

Definition at line 171 of file G4ParticleHPContAngularPar.hh.

Referenced by BuildByInterpolation(), and Sample().

G4InterpolationManager G4ParticleHPContAngularPar::theManager
private

Definition at line 167 of file G4ParticleHPContAngularPar.hh.

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

G4double G4ParticleHPContAngularPar::theMaxEner
private
G4double G4ParticleHPContAngularPar::theMinEner
private
G4ReactionProduct* G4ParticleHPContAngularPar::thePrimary
private

Definition at line 175 of file G4ParticleHPContAngularPar.hh.

Referenced by SetPrimary().

G4ParticleDefinition* G4ParticleHPContAngularPar::theProjectile
private

Definition at line 195 of file G4ParticleHPContAngularPar.hh.

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

G4ReactionProduct* G4ParticleHPContAngularPar::theTarget
private

Definition at line 174 of file G4ParticleHPContAngularPar.hh.

Referenced by Sample(), and SetTarget().

G4double G4ParticleHPContAngularPar::theTargetCode
private

Definition at line 173 of file G4ParticleHPContAngularPar.hh.

Referenced by Sample(), and SetTargetCode().


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