Geant4  10.00.p01
G4QuasiElRatios Class Reference

#include <G4QuasiElRatios.hh>

+ Collaboration diagram for G4QuasiElRatios:

Public Member Functions

 ~G4QuasiElRatios ()
 
std::pair< G4double, G4doubleGetRatios (G4double pIU, G4int prPDG, G4int tgZ, G4int tgN)
 
std::pair< G4double, G4doubleGetChExFactor (G4double pIU, G4int pPDG, G4int Z, G4int N)
 
std::pair< G4LorentzVector,
G4LorentzVector
Scatter (G4int NPDG, G4LorentzVector N4M, G4int pPDG, G4LorentzVector p4M)
 
std::pair< G4LorentzVector,
G4LorentzVector
ChExer (G4int NPDG, G4LorentzVector N4M, G4int pPDG, G4LorentzVector p4M)
 
std::pair< G4double, G4doubleGetElTot (G4double pIU, G4int hPDG, G4int Z, G4int N)
 
G4double ChExElCoef (G4double p, G4int Z, G4int N, G4int pPDG)
 
std::pair< G4double, G4doubleGetElTotXS (G4double Mom, G4int PDG, G4bool F)
 
std::pair< G4double, G4doubleFetchElTot (G4double pGeV, G4int PDG, G4bool F)
 
G4bool RelDecayIn2 (G4LorentzVector &theMomentum, G4LorentzVector &f4Mom, G4LorentzVector &s4Mom, G4LorentzVector &dir, G4double maxCost=1., G4double minCost=-1.)
 

Static Public Member Functions

static G4QuasiElRatiosGetPointer ()
 

Protected Member Functions

 G4QuasiElRatios ()
 

Private Member Functions

G4double GetQF2IN_Ratio (G4double TotCS_mb, G4int A)
 
G4double CalcQF2IN_Ratio (G4double TCSmb, G4int A)
 
std::pair< G4double, G4doubleCalcElTot (G4double pGeV, G4int Index)
 

Private Attributes

G4ChipsProtonElasticXSPCSmanager
 
G4ChipsNeutronElasticXSNCSmanager
 

Static Private Attributes

static G4ThreadLocal
std::vector< G4double * > * 
vT_G4MT_TLS_ = 0
 
static G4ThreadLocal
std::vector< G4double * > * 
vL_G4MT_TLS_ = 0
 
static G4ThreadLocal
std::vector< std::pair
< G4double, G4double > * > * 
vX_G4MT_TLS_ = 0
 

Detailed Description

Definition at line 52 of file G4QuasiElRatios.hh.

Constructor & Destructor Documentation

G4QuasiElRatios::G4QuasiElRatios ( )
protected

Definition at line 60 of file G4QuasiElRatios.cc.

References G4ChipsProtonElasticXS::Default_Name(), G4ChipsNeutronElasticXS::Default_Name(), G4CrossSectionDataSetRegistry::GetCrossSectionDataSet(), G4CrossSectionDataSetRegistry::Instance(), NCSmanager, PCSmanager, vL_G4MT_TLS_, vT_G4MT_TLS_, and vX_G4MT_TLS_.

Referenced by GetPointer().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4QuasiElRatios::~G4QuasiElRatios ( )

Definition at line 68 of file G4QuasiElRatios.cc.

References pos, vL_G4MT_TLS_, vT_G4MT_TLS_, and vX_G4MT_TLS_.

Member Function Documentation

std::pair< G4double, G4double > G4QuasiElRatios::CalcElTot ( G4double  pGeV,
G4int  Index 
)
private

Definition at line 305 of file G4QuasiElRatios.cc.

References FatalException, G4cout, G4endl, G4Exception(), LE, G4InuclParticleNames::sp, vL_G4MT_TLS_, vT_G4MT_TLS_, and vX_G4MT_TLS_.

Referenced by FetchElTot(), and GetElTotXS().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4QuasiElRatios::CalcQF2IN_Ratio ( G4double  TCSmb,
G4int  A 
)
private

Definition at line 292 of file G4QuasiElRatios.cc.

References vL_G4MT_TLS_, vT_G4MT_TLS_, and vX_G4MT_TLS_.

Referenced by GetQF2IN_Ratio().

+ Here is the caller graph for this function:

G4double G4QuasiElRatios::ChExElCoef ( G4double  p,
G4int  Z,
G4int  N,
G4int  pPDG 
)
std::pair< G4double, G4double > G4QuasiElRatios::FetchElTot ( G4double  pGeV,
G4int  PDG,
G4bool  F 
)

Definition at line 588 of file G4QuasiElRatios.cc.

References CalcElTot(), FatalException, G4cout, G4endl, G4Exception(), G4ThreadLocal, G4UniformRand, n, vL_G4MT_TLS_, vT_G4MT_TLS_, and vX_G4MT_TLS_.

Referenced by GetChExFactor(), and GetElTot().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::pair< G4double, G4double > G4QuasiElRatios::GetChExFactor ( G4double  pIU,
G4int  pPDG,
G4int  Z,
G4int  N 
)

Definition at line 736 of file G4QuasiElRatios.cc.

References A, FetchElTot(), G4cout, G4endl, gigaelectronvolt, vL_G4MT_TLS_, vT_G4MT_TLS_, and vX_G4MT_TLS_.

+ Here is the call graph for this function:

std::pair< G4double, G4double > G4QuasiElRatios::GetElTot ( G4double  pIU,
G4int  hPDG,
G4int  Z,
G4int  N 
)

Definition at line 720 of file G4QuasiElRatios.cc.

References A, FetchElTot(), G4cout, G4endl, gigaelectronvolt, millibarn, vL_G4MT_TLS_, vT_G4MT_TLS_, and vX_G4MT_TLS_.

Referenced by GetRatios().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::pair< G4double, G4double > G4QuasiElRatios::GetElTotXS ( G4double  Mom,
G4int  PDG,
G4bool  F 
)

Definition at line 561 of file G4QuasiElRatios.cc.

References CalcElTot(), FatalException, G4cout, G4endl, G4Exception(), G4UniformRand, vL_G4MT_TLS_, vT_G4MT_TLS_, and vX_G4MT_TLS_.

+ Here is the call graph for this function:

G4QuasiElRatios * G4QuasiElRatios::GetPointer ( )
static

Definition at line 85 of file G4QuasiElRatios.cc.

References G4QuasiElRatios(), G4ThreadLocal, vL_G4MT_TLS_, vT_G4MT_TLS_, and vX_G4MT_TLS_.

+ Here is the call graph for this function:

G4double G4QuasiElRatios::GetQF2IN_Ratio ( G4double  TotCS_mb,
G4int  A 
)
private

Definition at line 111 of file G4QuasiElRatios.cc.

References A, CalcQF2IN_Ratio(), G4cout, G4endl, G4ThreadLocal, n, vL_G4MT_TLS_, vT_G4MT_TLS_, and vX_G4MT_TLS_.

Referenced by GetRatios().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::pair< G4double, G4double > G4QuasiElRatios::GetRatios ( G4double  pIU,
G4int  prPDG,
G4int  tgZ,
G4int  tgN 
)

Definition at line 92 of file G4QuasiElRatios.cc.

References GetElTot(), GetQF2IN_Ratio(), millibarn, vL_G4MT_TLS_, vT_G4MT_TLS_, and vX_G4MT_TLS_.

Referenced by G4QuasiElasticChannel::GetFraction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4QuasiElRatios::RelDecayIn2 ( G4LorentzVector theMomentum,
G4LorentzVector f4Mom,
G4LorentzVector s4Mom,
G4LorentzVector dir,
G4double  maxCost = 1.,
G4double  minCost = -1. 
)

Definition at line 1027 of file G4QuasiElRatios.cc.

References d2, dE, G4cerr, G4endl, G4UniformRand, vL_G4MT_TLS_, vT_G4MT_TLS_, and vX_G4MT_TLS_.

Referenced by ChExer(), and Scatter().

+ Here is the caller graph for this function:

std::pair< G4LorentzVector, G4LorentzVector > G4QuasiElRatios::Scatter ( G4int  NPDG,
G4LorentzVector  N4M,
G4int  pPDG,
G4LorentzVector  p4M 
)

Definition at line 779 of file G4QuasiElRatios.cc.

References G4Alpha::Alpha(), G4Deuteron::Deuteron(), FatalException, G4cerr, G4cout, G4endl, G4Exception(), G4ChipsProtonElasticXS::GetChipsCrossSection(), G4ChipsNeutronElasticXS::GetChipsCrossSection(), G4ChipsProtonElasticXS::GetExchangeT(), G4ChipsNeutronElasticXS::GetExchangeT(), G4ChipsProtonElasticXS::GetHMaxT(), G4ChipsNeutronElasticXS::GetHMaxT(), G4ParticleDefinition::GetPDGMass(), G4He3::He3(), megaelectronvolt, NCSmanager, G4Neutron::Neutron(), PCSmanager, G4Proton::Proton(), RelDecayIn2(), G4InuclParticleNames::tm, G4Triton::Triton(), vL_G4MT_TLS_, vT_G4MT_TLS_, and vX_G4MT_TLS_.

Referenced by G4QuasiElasticChannel::Scatter().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4ChipsNeutronElasticXS* G4QuasiElRatios::NCSmanager
private

Definition at line 96 of file G4QuasiElRatios.hh.

Referenced by ChExer(), G4QuasiElRatios(), and Scatter().

G4ChipsProtonElasticXS* G4QuasiElRatios::PCSmanager
private

Definition at line 95 of file G4QuasiElRatios.hh.

Referenced by ChExer(), G4QuasiElRatios(), and Scatter().

G4ThreadLocal std::vector< std::pair< G4double, G4double > * > * G4QuasiElRatios::vX_G4MT_TLS_ = 0
staticprivate

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