ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
INCL++ intra-nuclear cascade. More...
Private Member Functions | |
G4bool | AccurateProjectile (const G4HadProjectile &aTrack, const G4Nucleus &theTargetNucleus) const |
G4INCLXXInterface (const G4INCLXXInterface &rhs) | |
Dummy copy constructor to shut up Coverity warnings. | |
G4INCLXXInterface & | operator= (G4INCLXXInterface const &rhs) |
Dummy assignment operator to shut up Coverity warnings. | |
G4INCL::ParticleType | toINCLParticleType (G4ParticleDefinition const *const) const |
Convert G4ParticleDefinition to corresponding INCL particle type. | |
G4INCL::ParticleSpecies | toINCLParticleSpecies (G4HadProjectile const &) const |
Convert G4HadProjectile to corresponding INCL particle species. | |
G4double | toINCLKineticEnergy (G4HadProjectile const &) const |
Convert G4HadProjectile to corresponding INCL particle kinetic energy. | |
G4DynamicParticle * | toG4Particle (G4int A, G4int Z, G4int PDGCode, G4double kinE, G4double px, G4double py, G4double pz) const |
Convert an INCL particle to a G4DynamicParticle. | |
G4ParticleDefinition * | toG4ParticleDefinition (G4int A, G4int Z, G4int PDGCode) const |
Convert A and Z to a G4ParticleDefinition. | |
G4double | remnant4MomentumScaling (G4double mass, G4double kineticE, G4double px, G4double py, G4double pz) const |
Rescale remnant momentum if necessary. | |
Additional Inherited Members | |
Protected Member Functions inherited from G4VIntraNuclearTransportModel | |
G4V3DNucleus * | Get3DNucleus () const |
G4VPreCompoundModel * | GetDeExcitation () const |
const G4HadProjectile * | GetPrimaryProjectile () const |
Protected Attributes inherited from G4VIntraNuclearTransportModel | |
G4String | theTransportModelName |
G4V3DNucleus * | the3DNucleus |
G4VPreCompoundModel * | theDeExcitation |
const G4HadProjectile * | thePrimaryProjectile |
INCL++ intra-nuclear cascade.
Interface for INCL++. This interface handles basic hadron bullet particles (protons, neutrons, pions), as well as light ions.
Example usage in case of protons:
The same setup procedure is needed for neutron, pion and generic-ion inelastic processes as well.
Definition at line 103 of file G4INCLXXInterface.hh.
View newest version in sPHENIX GitHub at line 103 of file G4INCLXXInterface.hh
G4INCLXXInterface::G4INCLXXInterface | ( | G4VPreCompoundModel *const | aPreCompound = 0 | ) |
Definition at line 59 of file G4INCLXXInterface.cc.
View newest version in sPHENIX GitHub at line 59 of file G4INCLXXInterface.cc
References dumpRemnantInfo, G4INCLXXInterfaceStore::EmitBigWarning(), G4INCLXXInterfaceStore::EmitWarning(), G4HadronicInteractionRegistry::FindModel(), G4ExcitationHandler::GetEvaporation(), G4VPreCompoundModel::GetExcitationHandler(), G4VEvaporation::GetFissionChannel(), G4HadronicInteractionRegistry::Instance(), message(), G4CompetitiveFission::SetEmissionStrategy(), G4FissionProbability::SetFissionLevelDensityParameter(), G4CompetitiveFission::SetLevelDensityParameter(), theBackupModel, theBackupModelNucleon, G4VIntraNuclearTransportModel::theDeExcitation, theINCLXXFissionProbability, theINCLXXLevelDensity, theInterfaceStore, and thePreCompoundModel.
G4INCLXXInterface::~G4INCLXXInterface | ( | ) |
Definition at line 116 of file G4INCLXXInterface.cc.
View newest version in sPHENIX GitHub at line 116 of file G4INCLXXInterface.cc
References theINCLXXFissionProbability, and theINCLXXLevelDensity.
|
private |
Dummy copy constructor to shut up Coverity warnings.
|
private |
Definition at line 122 of file G4INCLXXInterface.cc.
View newest version in sPHENIX GitHub at line 122 of file G4INCLXXInterface.cc
References kdfinder::abs(), G4INCLXXInterfaceStore::EmitBigWarning(), G4Nucleus::GetA_asInt(), G4INCLXXInterfaceStore::GetAccurateProjectile(), G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetBaryonNumber(), G4HadProjectile::GetDefinition(), G4INCLXXInterfaceStore::GetMaxProjMassINCL(), G4ParticleDefinition::GetParticleName(), G4Nucleus::GetZ_asInt(), and theInterfaceStore.
Referenced by ApplyYourself().
|
virtual |
Main method to apply the INCL physics model.
aTrack | the projectile particle |
theNucleus | target nucleus |
Implements G4HadronicInteraction.
Definition at line 163 of file G4INCLXXInterface.cc.
View newest version in sPHENIX GitHub at line 163 of file G4INCLXXInterface.cc
References A(), G4INCL::EventInfo::A, kdfinder::abs(), AccurateProjectile(), G4HadFinalState::AddSecondary(), G4HadronicInteraction::ApplyYourself(), G4INCL::EventInfo::ARem, CLHEP::HepLorentzVector::boostVector(), G4HadFinalState::Clear(), complainedAboutBackupModel, complainedAboutPreCompound, G4VPreCompoundModel::DeExcite(), dumpRemnantInfo, CLHEP::HepLorentzVector::e(), G4INCL::EventInfo::EKin, G4INCL::EventInfo::EKinRem, G4INCLXXInterfaceStore::EmitBigWarning(), G4INCLXXInterfaceStore::EmitWarning(), G4INCL::EventInfo::EStarRem, G4cerr, G4endl, G4GenericIon::GenericIon(), G4HadProjectile::Get4Momentum(), G4DynamicParticle::Get4Momentum(), G4Nucleus::GetA_asInt(), G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), G4INCLXXInterfaceStore::GetCascadeMinEnergyPerNucleon(), G4HadProjectile::GetDefinition(), G4INCLXXInterfaceStore::GetINCLModel(), G4INCLXXInterfaceStore::GetInstance(), G4IonTable::GetIon(), G4IonTable::GetIonMass(), G4IonTable::GetIonName(), G4HadProjectile::GetKineticEnergy(), G4INCLXXInterfaceStore::GetMaxProjMassINCL(), G4HadronicInteraction::GetModelName(), G4NucleiProperties::GetNuclearMass(), G4HadFinalState::GetNumberOfSecondaries(), G4HadSecondary::GetParticle(), G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetParticleType(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGMass(), G4HadFinalState::GetSecondary(), G4INCLXXInterfaceStore::GetTally(), CLHEP::HepLorentzVector::getV(), G4Nucleus::GetZ_asInt(), source.hepunit::hbar_Planck, CLHEP::HepLorentzRotation::inverse(), CLHEP::HepRotation::inverse(), isAlive, G4INCL::EventInfo::jxRem, G4INCL::EventInfo::jyRem, G4INCL::EventInfo::jzRem, message(), MeV, momentum, G4Neutron::NeutronDefinition(), G4INCL::EventInfo::nParticles, G4INCL::EventInfo::nRemnants, G4INCL::EventInfo::PDGCode, CLHEP::HepLorentzVector::phi(), G4INCL::INCL::processEvent(), G4Proton::ProtonDefinition(), G4INCL::EventInfo::px, G4INCL::EventInfo::pxRem, G4INCL::EventInfo::py, G4INCL::EventInfo::pyRem, G4INCL::EventInfo::pz, G4INCL::EventInfo::pzRem, remnant4MomentumScaling(), CLHEP::HepLorentzVector::rho(), CLHEP::HepRotation::rotateY(), CLHEP::HepRotation::rotateZ(), G4DynamicParticle::Set4Momentum(), G4Fragment::SetAngularMomentum(), CLHEP::HepLorentzVector::setE(), G4HadFinalState::SetEnergyChange(), G4HadFinalState::SetMomentumChange(), G4HadFinalState::SetStatusChange(), CLHEP::HepLorentzVector::setVect(), stopAndKill, G4INCLXXVInterfaceTally::Tally(), theBackupModel, theBackupModelNucleon, G4VIntraNuclearTransportModel::theDeExcitation, theINCLModel, theInterfaceStore, theIonTable, thePreCompoundModel, theResult, CLHEP::HepLorentzVector::theta(), theTally, toG4Particle(), toINCLKineticEnergy(), toINCLParticleSpecies(), G4INCL::EventInfo::transparent, CLHEP::Hep3Vector::unit(), CLHEP::HepLorentzVector::vect(), Z, G4INCL::EventInfo::Z, and G4INCL::EventInfo::ZRem.
|
inline |
Definition at line 128 of file G4INCLXXInterface.hh.
View newest version in sPHENIX GitHub at line 128 of file G4INCLXXInterface.hh
References theINCLModel.
G4String const & G4INCLXXInterface::GetDeExcitationModelName | ( | ) | const |
Definition at line 613 of file G4INCLXXInterface.cc.
View newest version in sPHENIX GitHub at line 613 of file G4INCLXXInterface.cc
References G4HadronicInteraction::GetModelName(), and G4VIntraNuclearTransportModel::theDeExcitation.
|
virtual |
Reimplemented from G4VIntraNuclearTransportModel.
Definition at line 598 of file G4INCLXXInterface.cc.
View newest version in sPHENIX GitHub at line 598 of file G4INCLXXInterface.cc
|
inline |
Definition at line 112 of file G4INCLXXInterface.hh.
View newest version in sPHENIX GitHub at line 112 of file G4INCLXXInterface.hh
|
private |
Dummy assignment operator to shut up Coverity warnings.
|
inline |
Definition at line 108 of file G4INCLXXInterface.hh.
View newest version in sPHENIX GitHub at line 108 of file G4INCLXXInterface.hh
|
virtual |
Implements G4VIntraNuclearTransportModel.
Definition at line 502 of file G4INCLXXInterface.cc.
View newest version in sPHENIX GitHub at line 502 of file G4INCLXXInterface.cc
|
private |
Rescale remnant momentum if necessary.
Definition at line 585 of file G4INCLXXInterface.cc.
View newest version in sPHENIX GitHub at line 585 of file G4INCLXXInterface.cc
References mass.
Referenced by ApplyYourself().
|
private |
Convert an INCL particle to a G4DynamicParticle.
Definition at line 570 of file G4INCLXXInterface.cc.
View newest version in sPHENIX GitHub at line 570 of file G4INCLXXInterface.cc
References energy, MeV, momentum, toG4ParticleDefinition(), and CLHEP::Hep3Vector::unit().
Referenced by ApplyYourself().
|
private |
Convert A and Z to a G4ParticleDefinition.
Definition at line 540 of file G4INCLXXInterface.cc.
View newest version in sPHENIX GitHub at line 540 of file G4INCLXXInterface.cc
References G4Alpha::Alpha(), G4Deuteron::Deuteron(), G4Eta::Eta(), G4Gamma::Gamma(), G4IonTable::GetIon(), G4He3::He3(), G4KaonMinus::KaonMinus(), G4KaonPlus::KaonPlus(), G4KaonZeroLong::KaonZeroLong(), G4KaonZeroShort::KaonZeroShort(), G4Lambda::Lambda(), G4Neutron::Neutron(), G4PionMinus::PionMinus(), G4PionPlus::PionPlus(), G4PionZero::PionZero(), G4Proton::Proton(), G4SigmaMinus::SigmaMinus(), G4SigmaPlus::SigmaPlus(), G4SigmaZero::SigmaZero(), theIonTable, and G4Triton::Triton().
Referenced by toG4Particle().
|
private |
Convert G4HadProjectile to corresponding INCL particle kinetic energy.
Definition at line 536 of file G4INCLXXInterface.cc.
View newest version in sPHENIX GitHub at line 536 of file G4INCLXXInterface.cc
References G4HadProjectile::GetKineticEnergy().
Referenced by ApplyYourself().
|
private |
Convert G4HadProjectile to corresponding INCL particle species.
Definition at line 522 of file G4INCLXXInterface.cc.
View newest version in sPHENIX GitHub at line 522 of file G4INCLXXInterface.cc
References G4INCL::Composite, G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), G4HadProjectile::GetDefinition(), G4INCL::ParticleSpecies::theA, G4INCL::ParticleSpecies::theType, G4INCL::ParticleSpecies::theZ, and toINCLParticleType().
Referenced by ApplyYourself().
|
private |
Convert G4ParticleDefinition to corresponding INCL particle type.
Definition at line 506 of file G4INCLXXInterface.cc.
View newest version in sPHENIX GitHub at line 506 of file G4INCLXXInterface.cc
References G4Alpha::Alpha(), G4INCL::Composite, G4Deuteron::Deuteron(), G4GenericIon::GenericIon(), G4ParticleDefinition::GetParticleType(), G4He3::He3(), G4KaonMinus::KaonMinus(), G4KaonPlus::KaonPlus(), G4INCL::KMinus, G4INCL::KPlus, G4INCL::Neutron, G4Neutron::Neutron(), G4INCL::PiMinus, G4PionMinus::PionMinus(), G4PionPlus::PionPlus(), G4PionZero::PionZero(), G4INCL::PiPlus, G4INCL::PiZero, G4INCL::Proton, G4Proton::Proton(), G4Triton::Triton(), and G4INCL::UnknownParticle.
Referenced by toINCLParticleSpecies().
|
private |
Definition at line 178 of file G4INCLXXInterface.hh.
View newest version in sPHENIX GitHub at line 178 of file G4INCLXXInterface.hh
Referenced by ApplyYourself().
|
private |
Definition at line 179 of file G4INCLXXInterface.hh.
View newest version in sPHENIX GitHub at line 179 of file G4INCLXXInterface.hh
Referenced by ApplyYourself().
|
private |
Definition at line 183 of file G4INCLXXInterface.hh.
View newest version in sPHENIX GitHub at line 183 of file G4INCLXXInterface.hh
Referenced by ApplyYourself(), and G4INCLXXInterface().
|
private |
Definition at line 172 of file G4INCLXXInterface.hh.
View newest version in sPHENIX GitHub at line 172 of file G4INCLXXInterface.hh
Referenced by ApplyYourself(), and G4INCLXXInterface().
|
private |
Definition at line 173 of file G4INCLXXInterface.hh.
View newest version in sPHENIX GitHub at line 173 of file G4INCLXXInterface.hh
Referenced by ApplyYourself(), and G4INCLXXInterface().
|
private |
Definition at line 166 of file G4INCLXXInterface.hh.
View newest version in sPHENIX GitHub at line 166 of file G4INCLXXInterface.hh
Referenced by ApplyYourself(), and DeleteModel().
|
private |
Definition at line 186 of file G4INCLXXInterface.hh.
View newest version in sPHENIX GitHub at line 186 of file G4INCLXXInterface.hh
Referenced by G4INCLXXInterface(), and ~G4INCLXXInterface().
|
private |
Definition at line 185 of file G4INCLXXInterface.hh.
View newest version in sPHENIX GitHub at line 185 of file G4INCLXXInterface.hh
Referenced by G4INCLXXInterface(), and ~G4INCLXXInterface().
|
private |
Definition at line 175 of file G4INCLXXInterface.hh.
View newest version in sPHENIX GitHub at line 175 of file G4INCLXXInterface.hh
Referenced by AccurateProjectile(), ApplyYourself(), and G4INCLXXInterface().
|
private |
Definition at line 181 of file G4INCLXXInterface.hh.
View newest version in sPHENIX GitHub at line 181 of file G4INCLXXInterface.hh
Referenced by ApplyYourself(), and toG4ParticleDefinition().
|
private |
Definition at line 168 of file G4INCLXXInterface.hh.
View newest version in sPHENIX GitHub at line 168 of file G4INCLXXInterface.hh
Referenced by ApplyYourself(), and G4INCLXXInterface().
|
private |
Definition at line 170 of file G4INCLXXInterface.hh.
View newest version in sPHENIX GitHub at line 170 of file G4INCLXXInterface.hh
Referenced by ApplyYourself().
|
private |
Definition at line 176 of file G4INCLXXInterface.hh.
View newest version in sPHENIX GitHub at line 176 of file G4INCLXXInterface.hh
Referenced by ApplyYourself().