Geant4  10.02
G4QuasiElRatios Class Reference

#include <G4QuasiElRatios.hh>

+ Collaboration diagram for G4QuasiElRatios:

Public Member Functions

 G4QuasiElRatios ()
 
 ~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.)
 

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
 
std::vector< G4double * > * vT
 
std::vector< G4double * > * vL
 
std::vector< std::pair
< G4double, G4double > * > * 
vX
 
G4double lastSRatio
 
G4double lastRRatio
 
std::vector< G4intvARatio
 
std::vector< G4doublevHRatio
 
std::vector< G4intvNRatio
 
std::vector< G4doublevMRatio
 
std::vector< G4intvKRatio
 
G4int lastARatio
 
G4double lastHRatio
 
G4int lastNRatio
 
G4double lastMRatio
 
G4int lastKRatio
 
G4doublelastTRatio
 
G4doublelastLRatio
 
G4double lastPtot
 
G4int lastHtot
 
G4bool lastFtot
 
std::pair< G4double, G4doublelastRtot
 
std::vector< G4intvItot
 
std::vector< G4doublevMtot
 
std::vector< G4intvKtot
 
G4int lastItot
 
G4double lastMtot
 
G4int lastKtot
 
std::pair< G4double, G4double > * lastXtot
 

Detailed Description

Definition at line 52 of file G4QuasiElRatios.hh.

Constructor & Destructor Documentation

G4QuasiElRatios::G4QuasiElRatios ( )
G4QuasiElRatios::~G4QuasiElRatios ( )

Definition at line 116 of file G4QuasiElRatios.cc.

References pos, vL, vT, and vX.

Member Function Documentation

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

Definition at line 322 of file G4QuasiElRatios.cc.

References FatalException, G4cout, G4endl, G4Exception(), G4Log(), G4Pow::GetInstance(), LE, G4Pow::powA(), rp2, and G4InuclParticleNames::sp.

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 310 of file G4QuasiElRatios.cc.

References C(), G4Exp(), G4Pow::GetInstance(), P, and G4Pow::powA().

Referenced by GetQF2IN_Ratio().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4QuasiElRatios::ChExElCoef ( G4double  p,
G4int  Z,
G4int  N,
G4int  pPDG 
)

Definition at line 996 of file G4QuasiElRatios.cc.

References A(), G4cout, G4endl, G4Log(), MeV, and G4InuclParticleNames::sp.

+ Here is the call graph for this function:

std::pair< G4double, G4double > G4QuasiElRatios::FetchElTot ( G4double  pGeV,
G4int  PDG,
G4bool  F 
)

Definition at line 601 of file G4QuasiElRatios.cc.

References CalcElTot(), FatalException, G4cout, G4endl, G4Exception(), G4Exp(), G4Log(), G4UniformRand, lastFtot, lastHtot, lastItot, lastKtot, lastMtot, lastPtot, lastRtot, lastXtot, n, vItot, vKtot, vMtot, and vX.

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 727 of file G4QuasiElRatios.cc.

References A(), FetchElTot(), G4cout, G4endl, G4Log(), and gigaelectronvolt.

+ 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 711 of file G4QuasiElRatios.cc.

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

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 574 of file G4QuasiElRatios.cc.

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

+ Here is the call graph for this function:

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

Definition at line 157 of file G4QuasiElRatios.cc.

References A(), CalcQF2IN_Ratio(), G4cout, G4endl, G4Exp(), G4Log(), lastARatio, lastHRatio, lastKRatio, lastLRatio, lastMRatio, lastNRatio, lastRRatio, lastSRatio, lastTRatio, n, vARatio, vHRatio, vKRatio, vL, vMRatio, vNRatio, and vT.

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 138 of file G4QuasiElRatios.cc.

References GetElTot(), GetQF2IN_Ratio(), and millibarn.

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 1019 of file G4QuasiElRatios.cc.

References d2, dE, G4cerr, G4endl, G4UniformRand, and twopi.

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 770 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(), P, PCSmanager, G4Proton::Proton(), RelDecayIn2(), G4InuclParticleNames::tm, and G4Triton::Triton().

Referenced by G4QuasiElasticChannel::Scatter().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4int G4QuasiElRatios::lastARatio
private

Definition at line 113 of file G4QuasiElRatios.hh.

Referenced by G4QuasiElRatios(), and GetQF2IN_Ratio().

G4bool G4QuasiElRatios::lastFtot
private

Definition at line 123 of file G4QuasiElRatios.hh.

Referenced by FetchElTot(), and G4QuasiElRatios().

G4double G4QuasiElRatios::lastHRatio
private

Definition at line 114 of file G4QuasiElRatios.hh.

Referenced by G4QuasiElRatios(), and GetQF2IN_Ratio().

G4int G4QuasiElRatios::lastHtot
private

Definition at line 122 of file G4QuasiElRatios.hh.

Referenced by FetchElTot(), and G4QuasiElRatios().

G4int G4QuasiElRatios::lastItot
private

Definition at line 128 of file G4QuasiElRatios.hh.

Referenced by FetchElTot(), and G4QuasiElRatios().

G4int G4QuasiElRatios::lastKRatio
private

Definition at line 117 of file G4QuasiElRatios.hh.

Referenced by G4QuasiElRatios(), and GetQF2IN_Ratio().

G4int G4QuasiElRatios::lastKtot
private

Definition at line 130 of file G4QuasiElRatios.hh.

Referenced by FetchElTot(), and G4QuasiElRatios().

G4double* G4QuasiElRatios::lastLRatio
private

Definition at line 119 of file G4QuasiElRatios.hh.

Referenced by G4QuasiElRatios(), and GetQF2IN_Ratio().

G4double G4QuasiElRatios::lastMRatio
private

Definition at line 116 of file G4QuasiElRatios.hh.

Referenced by G4QuasiElRatios(), and GetQF2IN_Ratio().

G4double G4QuasiElRatios::lastMtot
private

Definition at line 129 of file G4QuasiElRatios.hh.

Referenced by FetchElTot(), and G4QuasiElRatios().

G4int G4QuasiElRatios::lastNRatio
private

Definition at line 115 of file G4QuasiElRatios.hh.

Referenced by G4QuasiElRatios(), and GetQF2IN_Ratio().

G4double G4QuasiElRatios::lastPtot
private

Definition at line 121 of file G4QuasiElRatios.hh.

Referenced by FetchElTot(), and G4QuasiElRatios().

G4double G4QuasiElRatios::lastRRatio
private

Definition at line 106 of file G4QuasiElRatios.hh.

Referenced by G4QuasiElRatios(), and GetQF2IN_Ratio().

std::pair<G4double,G4double> G4QuasiElRatios::lastRtot
private

Definition at line 124 of file G4QuasiElRatios.hh.

Referenced by FetchElTot().

G4double G4QuasiElRatios::lastSRatio
private

Definition at line 105 of file G4QuasiElRatios.hh.

Referenced by G4QuasiElRatios(), and GetQF2IN_Ratio().

G4double* G4QuasiElRatios::lastTRatio
private

Definition at line 118 of file G4QuasiElRatios.hh.

Referenced by G4QuasiElRatios(), and GetQF2IN_Ratio().

std::pair<G4double,G4double>* G4QuasiElRatios::lastXtot
private

Definition at line 131 of file G4QuasiElRatios.hh.

Referenced by FetchElTot(), and G4QuasiElRatios().

G4ChipsNeutronElasticXS* G4QuasiElRatios::NCSmanager
private

Definition at line 92 of file G4QuasiElRatios.hh.

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

G4ChipsProtonElasticXS* G4QuasiElRatios::PCSmanager
private

Definition at line 91 of file G4QuasiElRatios.hh.

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

std::vector<G4int> G4QuasiElRatios::vARatio
private

Definition at line 107 of file G4QuasiElRatios.hh.

Referenced by GetQF2IN_Ratio().

std::vector<G4double> G4QuasiElRatios::vHRatio
private

Definition at line 108 of file G4QuasiElRatios.hh.

Referenced by GetQF2IN_Ratio().

std::vector<G4int> G4QuasiElRatios::vItot
private

Definition at line 125 of file G4QuasiElRatios.hh.

Referenced by FetchElTot().

std::vector<G4int> G4QuasiElRatios::vKRatio
private

Definition at line 111 of file G4QuasiElRatios.hh.

Referenced by GetQF2IN_Ratio().

std::vector<G4int> G4QuasiElRatios::vKtot
private

Definition at line 127 of file G4QuasiElRatios.hh.

Referenced by FetchElTot().

std::vector<G4double*>* G4QuasiElRatios::vL
private

Definition at line 102 of file G4QuasiElRatios.hh.

Referenced by G4QuasiElRatios(), GetQF2IN_Ratio(), and ~G4QuasiElRatios().

std::vector<G4double> G4QuasiElRatios::vMRatio
private

Definition at line 110 of file G4QuasiElRatios.hh.

Referenced by GetQF2IN_Ratio().

std::vector<G4double> G4QuasiElRatios::vMtot
private

Definition at line 126 of file G4QuasiElRatios.hh.

Referenced by FetchElTot().

std::vector<G4int> G4QuasiElRatios::vNRatio
private

Definition at line 109 of file G4QuasiElRatios.hh.

Referenced by GetQF2IN_Ratio().

std::vector<G4double*>* G4QuasiElRatios::vT
private

Definition at line 101 of file G4QuasiElRatios.hh.

Referenced by G4QuasiElRatios(), GetQF2IN_Ratio(), and ~G4QuasiElRatios().

std::vector<std::pair<G4double,G4double>*>* G4QuasiElRatios::vX
private

Definition at line 103 of file G4QuasiElRatios.hh.

Referenced by FetchElTot(), G4QuasiElRatios(), and ~G4QuasiElRatios().


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