Geant4.10
|
#include <G4QuasiElRatios.hh>
Public Member Functions | |
~G4QuasiElRatios () | |
std::pair< G4double, G4double > | GetRatios (G4double pIU, G4int prPDG, G4int tgZ, G4int tgN) |
std::pair< G4double, G4double > | GetChExFactor (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, G4double > | GetElTot (G4double pIU, G4int hPDG, G4int Z, G4int N) |
G4double | ChExElCoef (G4double p, G4int Z, G4int N, G4int pPDG) |
std::pair< G4double, G4double > | GetElTotXS (G4double Mom, G4int PDG, G4bool F) |
std::pair< G4double, G4double > | FetchElTot (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 G4QuasiElRatios * | GetPointer () |
Protected Member Functions | |
G4QuasiElRatios () | |
Definition at line 52 of file G4QuasiElRatios.hh.
|
protected |
Definition at line 60 of file G4QuasiElRatios.cc.
References G4ChipsProtonElasticXS::Default_Name(), G4ChipsNeutronElasticXS::Default_Name(), G4CrossSectionDataSetRegistry::GetCrossSectionDataSet(), and G4CrossSectionDataSetRegistry::Instance().
Referenced by GetPointer().
G4QuasiElRatios::~G4QuasiElRatios | ( | ) |
Definition at line 68 of file G4QuasiElRatios.cc.
Definition at line 1005 of file G4QuasiElRatios.cc.
References G4cout, G4endl, python.hepunit::MeV, N, and G4InuclParticleNames::sp.
std::pair< G4LorentzVector, G4LorentzVector > G4QuasiElRatios::ChExer | ( | G4int | NPDG, |
G4LorentzVector | N4M, | ||
G4int | pPDG, | ||
G4LorentzVector | p4M | ||
) |
Definition at line 893 of file G4QuasiElRatios.cc.
References CLHEP::HepLorentzVector::e(), FatalException, G4cerr, G4cout, G4endl, G4Exception(), G4UniformRand, G4ChipsProtonElasticXS::GetChipsCrossSection(), G4ChipsNeutronElasticXS::GetChipsCrossSection(), G4ChipsProtonElasticXS::GetExchangeT(), G4ChipsNeutronElasticXS::GetExchangeT(), G4ChipsProtonElasticXS::GetHMaxT(), G4ChipsNeutronElasticXS::GetHMaxT(), G4ParticleDefinition::GetPDGMass(), CLHEP::HepLorentzVector::m(), CLHEP::HepLorentzVector::m2(), python.hepunit::megaelectronvolt, N, G4Neutron::Neutron(), G4Proton::Proton(), and RelDecayIn2().
Definition at line 588 of file G4QuasiElRatios.cc.
References FatalException, G4cout, G4endl, G4Exception(), G4ThreadLocal, G4UniformRand, and n.
Referenced by GetChExFactor(), and GetElTot().
std::pair< G4double, G4double > G4QuasiElRatios::GetChExFactor | ( | G4double | pIU, |
G4int | pPDG, | ||
G4int | Z, | ||
G4int | N | ||
) |
Definition at line 736 of file G4QuasiElRatios.cc.
References FetchElTot(), G4cout, G4endl, python.hepunit::gigaelectronvolt, and N.
std::pair< G4double, G4double > G4QuasiElRatios::GetElTot | ( | G4double | pIU, |
G4int | hPDG, | ||
G4int | Z, | ||
G4int | N | ||
) |
Definition at line 720 of file G4QuasiElRatios.cc.
References FetchElTot(), G4cout, G4endl, python.hepunit::gigaelectronvolt, python.hepunit::millibarn, and N.
Referenced by GetRatios().
Definition at line 561 of file G4QuasiElRatios.cc.
References FatalException, G4cout, G4endl, G4Exception(), and G4UniformRand.
|
static |
Definition at line 85 of file G4QuasiElRatios.cc.
References G4QuasiElRatios(), and G4ThreadLocal.
std::pair< G4double, G4double > G4QuasiElRatios::GetRatios | ( | G4double | pIU, |
G4int | prPDG, | ||
G4int | tgZ, | ||
G4int | tgN | ||
) |
Definition at line 92 of file G4QuasiElRatios.cc.
References GetElTot(), and python.hepunit::millibarn.
Referenced by G4QuasiElasticChannel::GetFraction().
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 CLHEP::HepLorentzVector::boost(), CLHEP::HepLorentzVector::boostVector(), CLHEP::Hep3Vector::cross(), CLHEP::HepLorentzVector::e(), G4cerr, G4endl, G4UniformRand, CLHEP::HepLorentzVector::m2(), CLHEP::Hep3Vector::mag2(), CLHEP::Hep3Vector::orthogonal(), CLHEP::HepLorentzVector::rho(), CLHEP::HepLorentzVector::setE(), CLHEP::HepLorentzVector::setVect(), python.hepunit::twopi, CLHEP::Hep3Vector::unit(), and CLHEP::HepLorentzVector::vect().
Referenced by ChExer(), and Scatter().
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(), CLHEP::HepLorentzVector::e(), FatalException, G4cerr, G4cout, G4endl, G4Exception(), G4ChipsProtonElasticXS::GetChipsCrossSection(), G4ChipsNeutronElasticXS::GetChipsCrossSection(), G4ChipsProtonElasticXS::GetExchangeT(), G4ChipsNeutronElasticXS::GetExchangeT(), G4ChipsProtonElasticXS::GetHMaxT(), G4ChipsNeutronElasticXS::GetHMaxT(), G4ParticleDefinition::GetPDGMass(), G4He3::He3(), CLHEP::HepLorentzVector::m(), CLHEP::HepLorentzVector::m2(), python.hepunit::megaelectronvolt, N, G4Neutron::Neutron(), G4Proton::Proton(), RelDecayIn2(), G4InuclParticleNames::tm, and G4Triton::Triton().
Referenced by G4QuasiElasticChannel::Scatter().