GENIEGenerator
|
STDHEP-like event record entry that can fit a particle or a nucleus. More...
#include <GHepParticle.h>
Public Member Functions | |
GHepParticle () | |
GHepParticle (const GHepParticle &particle) | |
GHepParticle (int pdg, GHepStatus_t status, int mother1, int mother2, int daughter1, int daughter2, const TLorentzVector &p, const TLorentzVector &v) | |
GHepParticle (int pdg, GHepStatus_t status, int mother1, int mother2, int daughter1, int daughter2, double px, double py, double pz, double E, double x, double y, double z, double t) | |
GHepParticle (TRootIOCtor *) | |
~GHepParticle () | |
int | Pdg (void) const |
GHepStatus_t | Status (void) const |
int | RescatterCode (void) const |
int | FirstMother (void) const |
int | LastMother (void) const |
int | FirstDaughter (void) const |
int | LastDaughter (void) const |
bool | HasDaughters (void) const |
bool | IsBound (void) const |
string | Name (void) const |
Name that corresponds to the PDG code. More... | |
double | Mass (void) const |
Mass that corresponds to the PDG code. More... | |
double | Charge (void) const |
Chrg that corresponds to the PDG code. More... | |
const TLorentzVector * | P4 (void) const |
const TLorentzVector * | X4 (void) const |
TLorentzVector * | P4 (void) |
TLorentzVector * | X4 (void) |
TLorentzVector * | GetP4 (void) const |
TLorentzVector * | GetX4 (void) const |
double | Px (void) const |
Get Px. More... | |
double | Py (void) const |
Get Py. More... | |
double | Pz (void) const |
Get Pz. More... | |
double | E (void) const |
Get energy. More... | |
double | Energy (void) const |
Get energy. More... | |
double | KinE (bool mass_from_pdg=false) const |
Get kinetic energy. More... | |
double | Vx (void) const |
Get production x. More... | |
double | Vy (void) const |
Get production y. More... | |
double | Vz (void) const |
Get production z. More... | |
double | Vt (void) const |
Get production time. More... | |
double | RemovalEnergy (void) const |
Get removal energy. More... | |
bool | Compare (const GHepParticle *p) const |
bool | ComparePdgCodes (const GHepParticle *p) const |
bool | CompareStatusCodes (const GHepParticle *p) const |
bool | CompareFamily (const GHepParticle *p) const |
bool | CompareMomentum (const GHepParticle *p) const |
bool | IsOnMassShell (void) const |
bool | IsOffMassShell (void) const |
int | Z (void) const |
int | A (void) const |
double | PolzPolarAngle (void) const |
double | PolzAzimuthAngle (void) const |
bool | PolzIsSet (void) const |
void | GetPolarization (TVector3 &polz) |
void | SetPdgCode (int c) |
void | SetStatus (GHepStatus_t s) |
void | SetRescatterCode (int code) |
void | SetFirstMother (int m) |
void | SetLastMother (int m) |
void | SetFirstDaughter (int d) |
void | SetLastDaughter (int d) |
void | SetMomentum (const TLorentzVector &p4) |
void | SetPosition (const TLorentzVector &v4) |
void | SetMomentum (double px, double py, double pz, double E) |
void | SetPosition (double x, double y, double z, double t) |
void | SetEnergy (double E) |
void | SetPx (double px) |
void | SetPy (double py) |
void | SetPz (double pz) |
void | SetPolarization (double theta, double phi) |
void | SetPolarization (const TVector3 &polz) |
void | SetBound (bool bound) |
void | SetRemovalEnergy (double Erm) |
void | CleanUp (void) |
void | Reset (void) |
void | Clear (Option_t *option) |
void | Copy (const GHepParticle &particle) |
void | Print (ostream &stream) const |
void | Print (Option_t *opt) const |
bool | operator== (const GHepParticle &p) const |
GHepParticle & | operator= (const GHepParticle &p) |
Private Member Functions | |
void | Init (void) |
void | AssertIsKnownParticle (void) const |
Private Attributes | |
int | fPdgCode |
particle PDG code More... | |
GHepStatus_t | fStatus |
particle status More... | |
int | fRescatterCode |
rescattering code More... | |
int | fFirstMother |
first mother idx More... | |
int | fLastMother |
last mother idx More... | |
int | fFirstDaughter |
first daughter idx More... | |
int | fLastDaughter |
last daughter idx More... | |
TLorentzVector * | fP4 |
momentum 4-vector (GeV) More... | |
TLorentzVector * | fX4 |
position 4-vector (in the target nucleus coordinate system / x,y,z in fm / t from the moment of the primary interaction in ys(yocto second = 10^-24 s) More... | |
double | fPolzTheta |
polar polarization angle (rad) More... | |
double | fPolzPhi |
azimuthal polarization angle (rad) More... | |
double | fRemovalEnergy |
removal energy for bound nucleons (GeV) More... | |
bool | fIsBound |
'is it a bound particle?' flag More... | |
Friends | |
ostream & | operator<< (ostream &stream, const GHepParticle &p) |
STDHEP-like event record entry that can fit a particle or a nucleus.
Definition at line 39 of file GHepParticle.h.
GHepParticle::GHepParticle | ( | ) |
GHepParticle::GHepParticle | ( | const GHepParticle & | particle | ) |
GHepParticle::GHepParticle | ( | int | pdg, |
GHepStatus_t | status, | ||
int | mother1, | ||
int | mother2, | ||
int | daughter1, | ||
int | daughter2, | ||
const TLorentzVector & | p, | ||
const TLorentzVector & | v | ||
) |
Definition at line 57 of file GHepParticle.cxx.
References fIsBound, fP4, fPolzPhi, fPolzTheta, fRemovalEnergy, fRescatterCode, fX4, and SetPdgCode().
GHepParticle::GHepParticle | ( | int | pdg, |
GHepStatus_t | status, | ||
int | mother1, | ||
int | mother2, | ||
int | daughter1, | ||
int | daughter2, | ||
double | px, | ||
double | py, | ||
double | pz, | ||
double | E, | ||
double | x, | ||
double | y, | ||
double | z, | ||
double | t | ||
) |
Definition at line 80 of file GHepParticle.cxx.
References fIsBound, fP4, fPolzPhi, fPolzTheta, fRemovalEnergy, fRescatterCode, fX4, and SetPdgCode().
GHepParticle::GHepParticle | ( | TRootIOCtor * | ) |
Definition at line 111 of file GHepParticle.cxx.
GHepParticle::~GHepParticle | ( | ) |
int GHepParticle::A | ( | void | ) | const |
Definition at line 184 of file GHepParticle.cxx.
References fPdgCode, genie::pdg::IonPdgCodeToA(), and genie::pdg::IsIon().
Referenced by genie::HadronicSystemGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSuSA::AddTargetNucleusRemnant(), genie::QELEventGenerator::AddTargetNucleusRemnant(), genie::FermiMover::AddTargetNucleusRemnant(), genie::DMELEventGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSM::AddTargetNucleusRemnant(), genie::AMNuGammaGenerator::AddTargetRemnant(), genie::MECGenerator::AddTargetRemnant(), genie::PrimaryLeptonGenerator::AddToEventRecord(), genie::OutgoingDarkGenerator::AddToEventRecord(), CheckForNumFinStateNucleonsInconsistentWithTarget(), CheckVertexDistribution(), ConvertToGHad(), genie::masterclass::MCTruthDisplay::DrawDiagram(), genie::HAIntranuke::ElasHA(), genie::HAIntranuke2018::ElasHA(), genie::NucleonDecayPrimaryVtxGenerator::GenerateDecayedNucleonPosition(), genie::NucleonDecayPrimaryVtxGenerator::GenerateFermiMomentum(), genie::NNBarOscPrimaryVtxGenerator::GenerateFermiMomentum(), genie::NNBarOscPrimaryVtxGenerator::GenerateOscillatingNeutronPosition(), genie::FermiMover::KickHitNucleon(), genie::INukeDeltaPropg::ProcessEventRecord(), genie::VertexGenerator::ProcessEventRecord(), genie::QELEventGenerator::ProcessEventRecord(), genie::NucBindEnergyAggregator::ProcessEventRecord(), genie::DMELEventGenerator::ProcessEventRecord(), genie::Intranuke::SetTrackingRadius(), genie::Intranuke2018::SetTrackingRadius(), genie::DISHadronicSystemGenerator::SimulateFormationZone(), genie::Intranuke::TransportHadrons(), and genie::Intranuke2018::TransportHadrons().
|
private |
Definition at line 535 of file GHepParticle.cxx.
References genie::PDGLibrary::Find(), fPdgCode, genie::gAbortingInErr, genie::PDGLibrary::Instance(), LOG, and pFATAL.
Referenced by Charge(), IsOnMassShell(), Mass(), Name(), and SetPdgCode().
double GHepParticle::Charge | ( | void | ) | const |
Chrg that corresponds to the PDG code.
Definition at line 151 of file GHepParticle.cxx.
References AssertIsKnownParticle(), genie::PDGLibrary::Find(), fPdgCode, and genie::PDGLibrary::Instance().
Referenced by CheckChargeConservation().
void GHepParticle::CleanUp | ( | void | ) |
Definition at line 405 of file GHepParticle.cxx.
Referenced by Clear(), Reset(), and ~GHepParticle().
void GHepParticle::Clear | ( | Option_t * | option | ) |
bool GHepParticle::Compare | ( | const GHepParticle * | p | ) | const |
Definition at line 463 of file GHepParticle.cxx.
References CompareFamily(), CompareMomentum(), fPdgCode, and fStatus.
Referenced by operator==(), and genie::GHepRecord::ParticlePosition().
bool GHepParticle::CompareFamily | ( | const GHepParticle * | p | ) | const |
Definition at line 491 of file GHepParticle.cxx.
References fFirstDaughter, fFirstMother, fLastDaughter, and fLastMother.
Referenced by Compare().
bool GHepParticle::CompareMomentum | ( | const GHepParticle * | p | ) | const |
Definition at line 502 of file GHepParticle.cxx.
References E(), kPCutOff, Px(), Py(), and Pz().
Referenced by Compare(), genie::utils::intranuke::PreEquilibrium(), and genie::utils::intranuke2018::PreEquilibrium().
bool GHepParticle::ComparePdgCodes | ( | const GHepParticle * | p | ) | const |
Definition at line 481 of file GHepParticle.cxx.
References fPdgCode.
Referenced by genie::utils::intranuke::PreEquilibrium(), and genie::utils::intranuke2018::PreEquilibrium().
bool GHepParticle::CompareStatusCodes | ( | const GHepParticle * | p | ) | const |
Definition at line 486 of file GHepParticle.cxx.
References fStatus.
Referenced by genie::utils::intranuke::PreEquilibrium(), and genie::utils::intranuke2018::PreEquilibrium().
void GHepParticle::Copy | ( | const GHepParticle & | particle | ) |
Definition at line 515 of file GHepParticle.cxx.
References FirstDaughter(), FirstMother(), fIsBound, fPolzPhi, fPolzTheta, fRemovalEnergy, LastDaughter(), LastMother(), P4(), Pdg(), RescatterCode(), SetFirstDaughter(), SetFirstMother(), SetLastDaughter(), SetLastMother(), SetMomentum(), SetPdgCode(), SetPosition(), SetRescatterCode(), SetStatus(), Status(), and X4().
Referenced by GHepParticle(), operator=(), and genie::GHepRecord::SwapParticles().
|
inline |
Get energy.
Definition at line 91 of file GHepParticle.h.
References fP4.
Referenced by genie::HNIntranuke2018::AbsorbHN(), genie::CEvNSEventGenerator::AddFinalStateNeutrino(), genie::NucDeExcitationSim::AddPhoton(), genie::QELEventGeneratorSuSA::AddTargetNucleusRemnant(), genie::QELEventGenerator::AddTargetNucleusRemnant(), genie::FermiMover::AddTargetNucleusRemnant(), genie::DMELEventGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSM::AddTargetNucleusRemnant(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_AlvarezRuso(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_BergerSehgalFM(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_ReinSehgal(), CheckEnergyMomentumConservation(), CompareMomentum(), ConvertToGINuke(), ConvertToGXML(), Energy(), genie::hnl::Decayer::GenerateDecayProducts(), GenerateEvent(), genie::HAIntranuke::InelasticHA(), genie::INukeHadroData2018::IntBounce(), genie::INukeHadroData::IntBounce(), main(), genie::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), genie::utils::intranuke::PreEquilibrium(), genie::utils::intranuke2018::PreEquilibrium(), Print(), genie::GHepRecord::Print(), genie::DFRHadronicSystemGenerator::ProcessEventRecord(), genie::NucBindEnergyAggregator::ProcessEventRecord(), SetPx(), SetPy(), SetPz(), genie::utils::intranuke::ThreeBodyKinematics(), and genie::utils::intranuke2018::ThreeBodyKinematics().
|
inline |
Get energy.
Definition at line 92 of file GHepParticle.h.
References E().
Referenced by ConvertToGST(), genie::PythiaDecayer::Decay(), main(), operator<<(), genie::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), genie::utils::intranuke::PionProduction(), genie::utils::intranuke2018::PionProduction(), genie::NucBindEnergyAggregator::ProcessEventRecord(), and genie::utils::intranuke2018::TwoBodyCollision().
|
inline |
Definition at line 68 of file GHepParticle.h.
References fFirstDaughter.
Referenced by genie::AMNuGammaGenerator::AddFinalStateNeutrino(), genie::NucDeExcitationSim::AddPhoton(), genie::CEvNSEventGenerator::AddRecoilNucleus(), genie::COHDNuEventGenerator::AddRecoilNucleus(), genie::QELEventGeneratorSuSA::AddTargetNucleusRemnant(), genie::QELEventGenerator::AddTargetNucleusRemnant(), genie::FermiMover::AddTargetNucleusRemnant(), genie::DMELEventGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSM::AddTargetNucleusRemnant(), genie::AMNuGammaGenerator::AddTargetRemnant(), CheckForNumFinStateNucleonsInconsistentWithTarget(), genie::GHepRecord::CompactifyDaughterLists(), ConvertToGHad(), ConvertToGINuke(), ConvertToGRooTracker(), ConvertToGST(), ConvertToGTracker(), ConvertToGXML(), Copy(), genie::GHepRecord::FinalStatePrimaryLeptonPosition(), GenerateEvent(), genie::AGCharm2019::Hadronize(), main(), Print(), genie::GHepRecord::Print(), genie::PauliBlocker::ProcessEventRecord(), genie::GHepRecord::RemnantNucleusPosition(), and genie::GHepRecord::UpdateDaughterLists().
|
inline |
Definition at line 66 of file GHepParticle.h.
References fFirstMother.
Referenced by genie::HNIntranuke2018::AbsorbHN(), AcceptEvent(), genie::GHepRecord::CompactifyDaughterLists(), ConvertToGHad(), ConvertToGRooTracker(), ConvertToGST(), ConvertToGTracker(), ConvertToGXML(), Copy(), genie::GHepRecord::FinalizeDaughterLists(), GenerateEvent(), genie::GHepRecord::GetStableDescendants(), genie::AGCharm2019::Hadronize(), genie::HNIntranuke2018::HandleCompoundNucleusHN(), genie::GHepRecord::HasCompactDaughterList(), genie::HAIntranuke::Inelastic(), genie::HAIntranuke2018::Inelastic(), main(), genie::utils::ghep::NeutReactionCode(), Print(), genie::GHepRecord::Print(), genie::HAIntranuke::SimulateHadronicFinalState(), genie::HAIntranuke2018::SimulateHadronicFinalState(), genie::HNIntranuke2018::SimulateHadronicFinalState(), genie::HAIntranuke::SimulateHadronicFinalStateKinematics(), genie::HAIntranuke2018::SimulateHadronicFinalStateKinematics(), genie::utils::intranuke::ThreeBodyKinematics(), genie::utils::intranuke2018::ThreeBodyKinematics(), genie::Intranuke::TransportHadrons(), genie::Intranuke2018::TransportHadrons(), genie::utils::intranuke::TwoBodyCollision(), genie::utils::intranuke2018::TwoBodyCollision(), and genie::GHepRecord::UpdateDaughterLists().
TLorentzVector * GHepParticle::GetP4 | ( | void | ) | const |
Definition at line 194 of file GHepParticle.cxx.
References fP4, LOG, genie::utils::print::P4AsShortString(), pDEBUG, and pWARN.
Referenced by genie::RSPPHadronicSystemGenerator::AddResonanceDecayProducts(), ConvertToGST(), genie::MECGenerator::DecayNucleonCluster(), genie::NucleonDecayPrimaryVtxGenerator::GenerateDecayProducts(), genie::NNBarOscPrimaryVtxGenerator::GenerateDecayProducts(), genie::hnl::Decayer::GenerateDecayProducts(), genie::NNBarOscPrimaryVtxGenerator::GenerateFermiMomentum(), genie::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), genie::PrimaryLeptonGenerator::ProcessEventRecord(), genie::OutgoingDarkGenerator::ProcessEventRecord(), genie::NormGenerator::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), genie::hnl::VertexGenerator::ProcessEventRecord(), and genie::MECGenerator::RecoilNucleonCluster().
void GHepParticle::GetPolarization | ( | TVector3 & | polz | ) |
Definition at line 315 of file GHepParticle.cxx.
References fPolzPhi, fPolzTheta, and PolzIsSet().
Referenced by genie::GHepRecord::Print().
TLorentzVector * GHepParticle::GetX4 | ( | void | ) | const |
Definition at line 212 of file GHepParticle.cxx.
References fX4, LOG, pDEBUG, pWARN, and genie::utils::print::X4AsString().
Referenced by genie::MECGenerator::DecayNucleonCluster(), genie::NucleonDecayPrimaryVtxGenerator::GenerateDecayProducts(), genie::NNBarOscPrimaryVtxGenerator::GenerateDecayProducts(), genie::hnl::Decayer::GenerateDecayProducts(), genie::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), and genie::hnl::FluxCreator::ProcessEventRecord().
|
inline |
Definition at line 70 of file GHepParticle.h.
References fFirstDaughter.
Referenced by genie::GHepRecord::SwapParticles().
|
private |
Definition at line 388 of file GHepParticle.cxx.
References fFirstDaughter, fFirstMother, fIsBound, fLastDaughter, fLastMother, fP4, fPdgCode, fPolzPhi, fPolzTheta, fRemovalEnergy, fRescatterCode, fStatus, fX4, and genie::kIStUndefined.
Referenced by GHepParticle(), and Reset().
|
inline |
Definition at line 71 of file GHepParticle.h.
References fIsBound.
bool GHepParticle::IsOffMassShell | ( | void | ) | const |
Definition at line 303 of file GHepParticle.cxx.
References IsOnMassShell().
Referenced by CheckForOffMassShellParticlesInFinState(), genie::DFRPrimaryLeptonGenerator::ProcessEventRecord(), genie::DISPrimaryLeptonGenerator::ProcessEventRecord(), genie::SKPrimaryLeptonGenerator::ProcessEventRecord(), and genie::DMDISOutgoingDarkGenerator::ProcessEventRecord().
bool GHepParticle::IsOnMassShell | ( | void | ) | const |
Definition at line 289 of file GHepParticle.cxx.
References AssertIsKnownParticle(), genie::PDGLibrary::Find(), fP4, fPdgCode, genie::PDGLibrary::Instance(), and kOffShellDm.
Referenced by IsOffMassShell(), and genie::GHepRecord::Print().
double GHepParticle::KinE | ( | bool | mass_from_pdg = false | ) | const |
Get kinetic energy.
Definition at line 159 of file GHepParticle.cxx.
References fP4, LOG, Mass(), and pWARN.
Referenced by genie::HNIntranuke2018::AbsorbHN(), ConvertToGST(), genie::utils::intranuke::Equilibrium(), genie::utils::intranuke2018::Equilibrium(), FindhAFate(), genie::HNIntranuke2018::GammaInelasticHN(), genie::HAIntranuke::HadronFateHA(), genie::HAIntranuke2018::HadronFateHA(), genie::HNIntranuke2018::HadronFateHN(), genie::HNIntranuke2018::HandleCompoundNucleus(), genie::HAIntranuke::Inelastic(), genie::HAIntranuke2018::Inelastic(), genie::HAIntranuke::InelasticHA(), genie::HAIntranuke2018::InelasticHA(), main(), genie::utils::intranuke::PionProduction(), genie::utils::intranuke2018::PionProduction(), genie::utils::intranuke::PreEquilibrium(), genie::utils::intranuke2018::PreEquilibrium(), genie::INukeDeltaPropg::ProcessEventRecord(), genie::Intranuke::TransportHadrons(), and genie::Intranuke2018::TransportHadrons().
|
inline |
Definition at line 69 of file GHepParticle.h.
References fLastDaughter.
Referenced by genie::NucDeExcitationSim::AddPhoton(), genie::QELEventGeneratorSuSA::AddTargetNucleusRemnant(), genie::QELEventGenerator::AddTargetNucleusRemnant(), genie::FermiMover::AddTargetNucleusRemnant(), genie::DMELEventGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSM::AddTargetNucleusRemnant(), CheckForNumFinStateNucleonsInconsistentWithTarget(), genie::GHepRecord::CompactifyDaughterLists(), ConvertToGRooTracker(), ConvertToGST(), ConvertToGTracker(), ConvertToGXML(), Copy(), GenerateEvent(), genie::AGCharm2019::Hadronize(), main(), Print(), genie::GHepRecord::Print(), genie::GHepRecord::RemnantNucleusPosition(), and genie::GHepRecord::UpdateDaughterLists().
|
inline |
Definition at line 67 of file GHepParticle.h.
References fLastMother.
Referenced by genie::HNIntranuke2018::AbsorbHN(), ConvertToGRooTracker(), ConvertToGTracker(), ConvertToGXML(), Copy(), GenerateEvent(), genie::HAIntranuke::Inelastic(), genie::HAIntranuke2018::Inelastic(), Print(), genie::GHepRecord::Print(), genie::utils::intranuke::ThreeBodyKinematics(), genie::utils::intranuke2018::ThreeBodyKinematics(), genie::utils::intranuke::TwoBodyCollision(), and genie::utils::intranuke2018::TwoBodyCollision().
double GHepParticle::Mass | ( | void | ) | const |
Mass that corresponds to the PDG code.
Definition at line 143 of file GHepParticle.cxx.
References AssertIsKnownParticle(), genie::PDGLibrary::Find(), fPdgCode, and genie::PDGLibrary::Instance().
Referenced by genie::QELEventGeneratorSuSA::AddTargetNucleusRemnant(), genie::QELEventGenerator::AddTargetNucleusRemnant(), genie::FermiMover::AddTargetNucleusRemnant(), genie::DMELEventGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSM::AddTargetNucleusRemnant(), ConvertToGINuke(), ConvertToGST(), genie::PythiaDecayer::Decay(), genie::HAIntranuke::ElasHA(), genie::HAIntranuke2018::ElasHA(), genie::HNIntranuke2018::ElasHN(), genie::utils::intranuke::Equilibrium(), genie::HNIntranuke2018::GammaInelasticHN(), GenerateEvent(), genie::NNBarOscPrimaryVtxGenerator::GenerateFermiMomentum(), genie::HAIntranuke::InelasticHA(), genie::HAIntranuke2018::InelasticHA(), genie::INukeHadroData2018::IntBounce(), genie::INukeHadroData::IntBounce(), genie::FermiMover::KickHitNucleon(), KinE(), main(), genie::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), genie::utils::intranuke::PreEquilibrium(), Print(), genie::GHepRecord::Print(), genie::NucBindEnergyAggregator::ProcessEventRecord(), genie::DISHadronicSystemGenerator::SimulateFormationZone(), and genie::utils::intranuke2018::TwoBodyCollision().
string GHepParticle::Name | ( | void | ) | const |
Name that corresponds to the PDG code.
Definition at line 135 of file GHepParticle.cxx.
References AssertIsKnownParticle(), genie::PDGLibrary::Find(), fPdgCode, and genie::PDGLibrary::Instance().
Referenced by genie::HNIntranuke2018::AbsorbHN(), ConvertToGST(), genie::DarkSectorDecayer::Decay(), genie::HAIntranuke::ElasHA(), genie::HAIntranuke2018::ElasHA(), genie::HNIntranuke2018::ElasHN(), genie::utils::intranuke::Equilibrium(), genie::utils::intranuke2018::Equilibrium(), genie::HNIntranuke2018::GammaInelasticHN(), genie::HAIntranuke::HadronFateHA(), genie::HAIntranuke2018::HadronFateHA(), genie::HNIntranuke2018::HadronFateHN(), genie::HAIntranuke::Inelastic(), genie::HAIntranuke2018::Inelastic(), genie::HAIntranuke::InelasticHA(), genie::HAIntranuke2018::InelasticHA(), main(), operator<<(), genie::utils::intranuke::PreEquilibrium(), genie::utils::intranuke2018::PreEquilibrium(), Print(), genie::GHepRecord::Print(), genie::INukeDeltaPropg::ProcessEventRecord(), genie::VertexGenerator::ProcessEventRecord(), genie::PythiaDecayer::ProcessEventRecord(), genie::BaryonResonanceDecayer::ProcessEventRecord(), genie::DarkSectorDecayer::ProcessEventRecord(), genie::GHepRecord::RemoveIntermediateParticles(), genie::OutgoingDarkGenerator::SetPolarization(), genie::utils::SetPrimaryLeptonPolarization(), genie::DISHadronicSystemGenerator::SimulateFormationZone(), genie::HAIntranuke::SimulateHadronicFinalState(), genie::HAIntranuke2018::SimulateHadronicFinalState(), genie::HNIntranuke2018::SimulateHadronicFinalState(), genie::HAIntranuke::SimulateHadronicFinalStateKinematics(), genie::HAIntranuke2018::SimulateHadronicFinalStateKinematics(), genie::utils::intranuke::StepParticle(), genie::utils::intranuke2018::StepParticle(), genie::GHepRecord::SwapParticles(), genie::Intranuke::TransportHadrons(), genie::Intranuke2018::TransportHadrons(), and genie::HadronTransporter::TransportInTransparentNuc().
GHepParticle & GHepParticle::operator= | ( | const GHepParticle & | p | ) |
bool GHepParticle::operator== | ( | const GHepParticle & | p | ) | const |
Definition at line 549 of file GHepParticle.cxx.
References Compare().
|
inline |
Definition at line 78 of file GHepParticle.h.
References fP4.
Referenced by genie::HNIntranuke2018::AbsorbHN(), genie::BaryonResonanceDecayer::AcceptPionDecay(), genie::NuETargetRemnantGenerator::AddElectronNeutrino(), genie::DMETargetRemnantGenerator::AddElectronNeutrino(), genie::AMNuGammaGenerator::AddFinalStateNeutrino(), genie::CEvNSEventGenerator::AddFinalStateNeutrino(), genie::AMNuGammaGenerator::AddPhoton(), genie::HEDISGenerator::AddPrimaryLepton(), genie::AMNuGammaGenerator::AddRecoilNucleon(), genie::HadronicSystemGenerator::AddTargetNucleusRemnant(), genie::AMNuGammaGenerator::AddTargetRemnant(), genie::MECGenerator::AddTargetRemnant(), genie::SKHadronicSystemGenerator::CalculateHadronicSystem_AtharSingleKaon(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_BergerSehgalFM(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_ReinSehgal(), genie::GMCJDriver::ComputeEventProbability(), ConvertToGHad(), ConvertToGRooTracker(), ConvertToGST(), ConvertToGTracker(), Copy(), genie::PythiaDecayer::Decay(), genie::DarkSectorDecayer::Decay(), genie::BaryonResonanceDecayer::DecayExclusive(), genie::HAIntranuke::ElasHA(), genie::HAIntranuke2018::ElasHA(), genie::utils::intranuke::Equilibrium(), genie::COHDNuEventGenerator::GenerateKinematics(), genie::MECGenerator::GenerateNSVInitialHadrons(), genie::QELEventGeneratorSuSA::GenerateNucleon(), genie::Intranuke::GenerateStep(), genie::Intranuke::GenerateVertex(), genie::Intranuke2018::GenerateVertex(), genie::HadronicSystemGenerator::Hadronic4pLAB(), genie::HAIntranuke::Inelastic(), genie::HAIntranuke2018::Inelastic(), genie::HAIntranuke::InelasticHA(), genie::HAIntranuke2018::InelasticHA(), genie::INukeHadroData2018::IntBounce(), genie::INukeHadroData::IntBounce(), main(), genie::HadronicSystemGenerator::MomentumTransferLAB(), genie::utils::intranuke::PionProduction(), genie::utils::intranuke2018::PionProduction(), genie::utils::intranuke::PreEquilibrium(), genie::GHepRecord::Print(), genie::DFRHadronicSystemGenerator::ProcessEventRecord(), genie::NuEPrimaryLeptonGenerator::ProcessEventRecord(), genie::DMEOutgoingDarkGenerator::ProcessEventRecord(), genie::INukeDeltaPropg::ProcessEventRecord(), genie::HENuElGenerator::ProcessEventRecord(), genie::PhotonCOHGenerator::ProcessEventRecord(), genie::PhotonRESGenerator::ProcessEventRecord(), genie::NucBindEnergyAggregator::ProcessEventRecord(), genie::GLRESGenerator::ProcessEventRecord(), genie::PauliBlocker::ProcessEventRecord(), genie::evtlib::EventLibraryInterface::ProcessEventRecord(), genie::MECGenerator::RecoilNucleonCluster(), genie::BaryonResonanceDecayer::SelectDecayChannel(), genie::DarkSectorDecayer::SetSpaceTime(), genie::DISHadronicSystemGenerator::SimulateFormationZone(), genie::SRCNuclearRecoil::SRCRecoilPDG(), genie::utils::intranuke::StepParticle(), genie::utils::intranuke2018::StepParticle(), genie::utils::intranuke::ThreeBodyKinematics(), genie::utils::intranuke2018::ThreeBodyKinematics(), genie::Intranuke::TransportHadrons(), genie::Intranuke2018::TransportHadrons(), genie::utils::intranuke::TwoBodyCollision(), and genie::utils::intranuke2018::TwoBodyCollision().
|
inline |
|
inline |
Definition at line 63 of file GHepParticle.h.
References fPdgCode.
Referenced by genie::HNIntranuke2018::AbsorbHN(), AcceptEvent(), genie::AMNuGammaGenerator::AddFinalStateNeutrino(), genie::CEvNSEventGenerator::AddFinalStateNeutrino(), genie::GHepRecord::AddParticle(), genie::NucDeExcitationSim::AddPhoton(), genie::AMNuGammaGenerator::AddRecoilNucleon(), genie::CEvNSEventGenerator::AddRecoilNucleus(), genie::COHDNuEventGenerator::AddRecoilNucleus(), genie::HadronicSystemGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSuSA::AddTargetNucleusRemnant(), genie::QELEventGenerator::AddTargetNucleusRemnant(), genie::FermiMover::AddTargetNucleusRemnant(), genie::DMELEventGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSM::AddTargetNucleusRemnant(), genie::AMNuGammaGenerator::AddTargetRemnant(), genie::MECGenerator::AddTargetRemnant(), genie::NucDeExcitationSim::ArgonTargetSim(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_AlvarezRuso(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_BergerSehgalFM(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_ReinSehgal(), genie::Intranuke::CanRescatter(), genie::Intranuke2018::CanRescatter(), CheckDecayerConsistency(), CheckForNumFinStateNucleonsInconsistentWithTarget(), CheckForPseudoParticlesInFinState(), genie::GMCJDriver::ComputeEventProbability(), ConvertToGHad(), ConvertToGINuke(), ConvertToGRooTracker(), ConvertToGST(), ConvertToGTracker(), ConvertToGXML(), Copy(), genie::PythiaDecayer::Decay(), genie::AGKYLowW2019::DecayBackToBack(), genie::BaryonResonanceDecayer::DecayExclusive(), genie::MECGenerator::DecayNucleonCluster(), genie::HAIntranuke::ElasHA(), genie::HAIntranuke2018::ElasHA(), genie::HNIntranuke2018::ElasHN(), genie::utils::intranuke::Equilibrium(), genie::utils::intranuke2018::Equilibrium(), genie::GHepRecord::EventGenerationMode(), FindhAFate(), genie::GHepRecord::FindParticle(), genie::HNIntranuke2018::GammaInelasticHN(), genie::NNBarOscPrimaryVtxGenerator::GenerateDecayProducts(), GenerateEvent(), genie::NucleonDecayPrimaryVtxGenerator::GenerateFermiMomentum(), genie::NNBarOscPrimaryVtxGenerator::GenerateFermiMomentum(), genie::MECGenerator::GenerateFermiMomentum(), genie::MECGenerator::GenerateNSVInitialHadrons(), genie::QELEventGeneratorSuSA::GenerateNucleon(), genie::Intranuke::GenerateStep(), genie::Intranuke::GenerateVertex(), genie::Intranuke2018::GenerateVertex(), genie::CascadeReweight::GetEventWeight(), genie::HAIntranuke::HadronFateHA(), genie::HAIntranuke2018::HadronFateHA(), genie::HNIntranuke2018::HadronFateHN(), genie::Pythia6Hadro2019::Hadronize(), genie::Pythia8Hadro2019::Hadronize(), genie::HNIntranuke2018::HandleCompoundNucleus(), genie::GHepRecord::HitElectronPosition(), genie::GHepRecord::HitNucleonPosition(), genie::HAIntranuke::Inelastic(), genie::HAIntranuke2018::Inelastic(), genie::HAIntranuke::InelasticHA(), genie::HAIntranuke2018::InelasticHA(), genie::INukeHadroData2018::IntBounce(), genie::INukeHadroData::IntBounce(), genie::FermiMover::KickHitNucleon(), main(), genie::Intranuke::NeedsRescattering(), genie::Intranuke2018::NeedsRescattering(), genie::GHepRecord::NEntries(), genie::utils::ghep::NeutReactionCode(), genie::utils::ghep::NuanceReactionCode(), operator<<(), genie::NucDeExcitationSim::OxygenTargetSim(), genie::GHepRecord::ParticlePosition(), genie::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), genie::utils::intranuke::PionProduction(), genie::utils::intranuke2018::PionProduction(), genie::utils::intranuke::PreEquilibrium(), genie::utils::intranuke2018::PreEquilibrium(), Print(), genie::GHepRecord::Print(), genie::DFRHadronicSystemGenerator::ProcessEventRecord(), genie::VertexGenerator::ProcessEventRecord(), genie::INukeDeltaPropg::ProcessEventRecord(), genie::HENuElGenerator::ProcessEventRecord(), genie::QELEventGenerator::ProcessEventRecord(), genie::PhotonRESGenerator::ProcessEventRecord(), genie::PhotonCOHGenerator::ProcessEventRecord(), genie::PythiaDecayer::ProcessEventRecord(), genie::GLRESGenerator::ProcessEventRecord(), genie::NormGenerator::ProcessEventRecord(), genie::NucBindEnergyAggregator::ProcessEventRecord(), genie::DMELEventGenerator::ProcessEventRecord(), genie::PauliBlocker::ProcessEventRecord(), genie::BaryonResonanceDecayer::ProcessEventRecord(), genie::SpectralFunction2p2h::ProcessEventRecord(), genie::DarkSectorDecayer::ProcessEventRecord(), genie::GHepRecord::RemnantNucleusPosition(), genie::BaryonResonanceDecayer::SelectDecayChannel(), genie::OutgoingDarkGenerator::SetPolarization(), genie::utils::SetPrimaryLeptonPolarization(), genie::Intranuke::SetTrackingRadius(), genie::Intranuke2018::SetTrackingRadius(), genie::DISHadronicSystemGenerator::SimulateFormationZone(), genie::HAIntranuke::SimulateHadronicFinalState(), genie::HAIntranuke2018::SimulateHadronicFinalState(), genie::HNIntranuke2018::SimulateHadronicFinalState(), genie::SRCNuclearRecoil::SRCRecoilPDG(), genie::GHepRecord::TargetNucleusPosition(), genie::utils::intranuke::ThreeBodyKinematics(), genie::utils::intranuke2018::ThreeBodyKinematics(), genie::DarkSectorDecayer::ToBeDecayed(), genie::utils::intranuke::TwoBodyCollision(), and genie::utils::intranuke2018::TwoBodyCollision().
|
inline |
Definition at line 120 of file GHepParticle.h.
References fPolzPhi.
Referenced by ConvertToGRooTracker(), ConvertToGTracker(), ConvertToGXML(), genie::OutgoingDarkGenerator::SetPolarization(), and genie::utils::SetPrimaryLeptonPolarization().
bool GHepParticle::PolzIsSet | ( | void | ) | const |
Definition at line 308 of file GHepParticle.cxx.
References fPolzPhi, and fPolzTheta.
Referenced by ConvertToGRooTracker(), ConvertToGTracker(), ConvertToGXML(), GetPolarization(), genie::GHepRecord::Print(), genie::OutgoingDarkGenerator::SetPolarization(), and genie::utils::SetPrimaryLeptonPolarization().
|
inline |
Definition at line 119 of file GHepParticle.h.
References fPolzTheta.
Referenced by ConvertToGRooTracker(), ConvertToGTracker(), ConvertToGXML(), genie::OutgoingDarkGenerator::SetPolarization(), and genie::utils::SetPrimaryLeptonPolarization().
void GHepParticle::Print | ( | ostream & | stream | ) | const |
Definition at line 432 of file GHepParticle.cxx.
References E(), FirstDaughter(), FirstMother(), LastDaughter(), LastMother(), Mass(), Name(), Pdg(), Px(), Py(), Pz(), RescatterCode(), and Status().
Referenced by genie::operator<<(), and Print().
void GHepParticle::Print | ( | Option_t * | opt | ) | const |
|
inline |
Get Px.
Definition at line 88 of file GHepParticle.h.
References fP4.
Referenced by genie::NucDeExcitationSim::AddPhoton(), genie::HadronicSystemGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSuSA::AddTargetNucleusRemnant(), genie::QELEventGenerator::AddTargetNucleusRemnant(), genie::FermiMover::AddTargetNucleusRemnant(), genie::DMELEventGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSM::AddTargetNucleusRemnant(), genie::AMNuGammaGenerator::AddTargetRemnant(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_AlvarezRuso(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_BergerSehgalFM(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_ReinSehgal(), CheckEnergyMomentumConservation(), CompareMomentum(), ConvertToGINuke(), ConvertToGST(), ConvertToGXML(), genie::PythiaDecayer::Decay(), genie::AGKYLowW2019::DecayBackToBack(), genie::SecondNucleonEmissionI::EmitSecondNucleon(), FindhAFate(), GenerateEvent(), genie::HAIntranuke::InelasticHA(), genie::HAIntranuke2018::InelasticHA(), main(), operator<<(), genie::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), Print(), genie::GHepRecord::Print(), genie::DFRHadronicSystemGenerator::ProcessEventRecord(), genie::NucBindEnergyAggregator::ProcessEventRecord(), SetEnergy(), genie::OutgoingDarkGenerator::SetPolarization(), genie::utils::SetPrimaryLeptonPolarization(), SetPy(), and SetPz().
|
inline |
Get Py.
Definition at line 89 of file GHepParticle.h.
References fP4.
Referenced by genie::NucDeExcitationSim::AddPhoton(), genie::HadronicSystemGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSuSA::AddTargetNucleusRemnant(), genie::QELEventGenerator::AddTargetNucleusRemnant(), genie::FermiMover::AddTargetNucleusRemnant(), genie::DMELEventGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSM::AddTargetNucleusRemnant(), genie::AMNuGammaGenerator::AddTargetRemnant(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_AlvarezRuso(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_BergerSehgalFM(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_ReinSehgal(), CheckEnergyMomentumConservation(), CompareMomentum(), ConvertToGINuke(), ConvertToGST(), ConvertToGXML(), genie::PythiaDecayer::Decay(), genie::AGKYLowW2019::DecayBackToBack(), genie::SecondNucleonEmissionI::EmitSecondNucleon(), FindhAFate(), GenerateEvent(), genie::HAIntranuke::InelasticHA(), genie::HAIntranuke2018::InelasticHA(), main(), operator<<(), genie::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), Print(), genie::GHepRecord::Print(), genie::DFRHadronicSystemGenerator::ProcessEventRecord(), genie::NucBindEnergyAggregator::ProcessEventRecord(), SetEnergy(), genie::OutgoingDarkGenerator::SetPolarization(), genie::utils::SetPrimaryLeptonPolarization(), SetPx(), and SetPz().
|
inline |
Get Pz.
Definition at line 90 of file GHepParticle.h.
References fP4.
Referenced by genie::NucDeExcitationSim::AddPhoton(), genie::HadronicSystemGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSuSA::AddTargetNucleusRemnant(), genie::QELEventGenerator::AddTargetNucleusRemnant(), genie::FermiMover::AddTargetNucleusRemnant(), genie::DMELEventGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSM::AddTargetNucleusRemnant(), genie::AMNuGammaGenerator::AddTargetRemnant(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_AlvarezRuso(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_BergerSehgalFM(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_ReinSehgal(), CheckEnergyMomentumConservation(), CompareMomentum(), ConvertToGINuke(), ConvertToGST(), ConvertToGXML(), genie::PythiaDecayer::Decay(), genie::AGKYLowW2019::DecayBackToBack(), genie::SecondNucleonEmissionI::EmitSecondNucleon(), FindhAFate(), GenerateEvent(), genie::HAIntranuke::InelasticHA(), genie::HAIntranuke2018::InelasticHA(), main(), operator<<(), genie::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), Print(), genie::GHepRecord::Print(), genie::DFRHadronicSystemGenerator::ProcessEventRecord(), genie::NucBindEnergyAggregator::ProcessEventRecord(), SetEnergy(), genie::OutgoingDarkGenerator::SetPolarization(), genie::utils::SetPrimaryLeptonPolarization(), SetPx(), and SetPy().
|
inline |
Get removal energy.
Definition at line 100 of file GHepParticle.h.
References fRemovalEnergy.
Referenced by genie::QELHadronicSystemGenerator::AddRecoilBaryon(), genie::IBDHadronicSystemGenerator::AddRecoilBaryon(), main(), and genie::NucBindEnergyAggregator::ProcessEventRecord().
|
inline |
Definition at line 65 of file GHepParticle.h.
References fRescatterCode.
Referenced by ConvertToGRooTracker(), ConvertToGST(), ConvertToGTracker(), ConvertToGXML(), Copy(), genie::CascadeReweight::GetEventWeight(), Print(), and genie::GHepRecord::Print().
void GHepParticle::Reset | ( | void | ) |
void GHepParticle::SetBound | ( | bool | bound | ) |
Definition at line 361 of file GHepParticle.cxx.
References fIsBound, fPdgCode, fRemovalEnergy, genie::pdg::IsNeutronOrProton(), LOG, and pERROR.
Referenced by SetRemovalEnergy().
void GHepParticle::SetEnergy | ( | double | E | ) |
Definition at line 269 of file GHepParticle.cxx.
References Px(), Py(), Pz(), and SetMomentum().
Referenced by genie::NucDeExcitationSim::AddPhoton(), and genie::NucBindEnergyAggregator::ProcessEventRecord().
|
inline |
Definition at line 134 of file GHepParticle.h.
References fFirstDaughter.
Referenced by genie::GHepRecord::CompactifyDaughterLists(), Copy(), genie::GHepRecord::RemoveIntermediateParticles(), and genie::GHepRecord::UpdateDaughterLists().
|
inline |
Definition at line 132 of file GHepParticle.h.
References fFirstMother, and genie::units::m.
Referenced by genie::HNIntranuke2018::AbsorbHN(), Copy(), genie::HNIntranuke2018::HandleCompoundNucleus(), genie::HAIntranuke::Inelastic(), genie::HAIntranuke2018::Inelastic(), genie::utils::intranuke::PreEquilibrium(), genie::utils::intranuke2018::PreEquilibrium(), genie::INukeDeltaPropg::ProcessEventRecord(), genie::GHepRecord::RemoveIntermediateParticles(), genie::GHepRecord::SwapParticles(), genie::utils::intranuke::ThreeBodyKinematics(), genie::utils::intranuke2018::ThreeBodyKinematics(), genie::Intranuke::TransportHadrons(), genie::Intranuke2018::TransportHadrons(), genie::HadronTransporter::TransportInTransparentNuc(), genie::utils::intranuke::TwoBodyCollision(), and genie::utils::intranuke2018::TwoBodyCollision().
|
inline |
Definition at line 135 of file GHepParticle.h.
References fLastDaughter.
Referenced by genie::GHepRecord::CompactifyDaughterLists(), Copy(), genie::GHepRecord::RemoveIntermediateParticles(), and genie::GHepRecord::UpdateDaughterLists().
|
inline |
Definition at line 133 of file GHepParticle.h.
References fLastMother, and genie::units::m.
Referenced by genie::HNIntranuke2018::AbsorbHN(), Copy(), genie::HAIntranuke::Inelastic(), genie::HAIntranuke2018::Inelastic(), genie::GHepRecord::RemoveIntermediateParticles(), genie::utils::intranuke::ThreeBodyKinematics(), genie::utils::intranuke2018::ThreeBodyKinematics(), genie::utils::intranuke::TwoBodyCollision(), and genie::utils::intranuke2018::TwoBodyCollision().
void GHepParticle::SetMomentum | ( | const TLorentzVector & | p4 | ) |
Definition at line 236 of file GHepParticle.cxx.
References fP4.
Referenced by genie::HNIntranuke2018::AbsorbHN(), Copy(), genie::HAIntranuke::ElasHA(), genie::HAIntranuke2018::ElasHA(), genie::HNIntranuke2018::ElasHN(), genie::utils::intranuke::Equilibrium(), genie::HNIntranuke2018::GammaInelasticHN(), genie::NucleonDecayPrimaryVtxGenerator::GenerateFermiMomentum(), genie::NNBarOscPrimaryVtxGenerator::GenerateFermiMomentum(), genie::MECGenerator::GenerateFermiMomentum(), genie::MECGenerator::GenerateNSVInitialHadrons(), genie::QELEventGeneratorSuSA::GenerateNucleon(), genie::HAIntranuke::Inelastic(), genie::HAIntranuke2018::Inelastic(), genie::HAIntranuke::InelasticHA(), genie::HAIntranuke2018::InelasticHA(), genie::FermiMover::KickHitNucleon(), genie::utils::intranuke::PreEquilibrium(), genie::QELEventGenerator::ProcessEventRecord(), genie::NucBindEnergyAggregator::ProcessEventRecord(), genie::DMELEventGenerator::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), SetEnergy(), SetPx(), SetPy(), SetPz(), genie::utils::intranuke::ThreeBodyKinematics(), genie::utils::intranuke2018::ThreeBodyKinematics(), genie::utils::intranuke::TwoBodyCollision(), and genie::utils::intranuke2018::TwoBodyCollision().
void GHepParticle::SetMomentum | ( | double | px, |
double | py, | ||
double | pz, | ||
double | E | ||
) |
void GHepParticle::SetPdgCode | ( | int | c | ) |
Definition at line 230 of file GHepParticle.cxx.
References AssertIsKnownParticle(), and fPdgCode.
Referenced by genie::HNIntranuke2018::AbsorbHN(), Copy(), genie::HNIntranuke2018::ElasHN(), genie::HNIntranuke2018::GammaInelasticHN(), GHepParticle(), genie::HAIntranuke::Inelastic(), genie::HAIntranuke2018::Inelastic(), genie::HAIntranuke::InelasticHA(), genie::HAIntranuke2018::InelasticHA(), genie::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), genie::utils::intranuke::PionProduction(), genie::utils::intranuke2018::PionProduction(), genie::INukeDeltaPropg::ProcessEventRecord(), genie::utils::intranuke::TwoBodyCollision(), and genie::utils::intranuke2018::TwoBodyCollision().
void GHepParticle::SetPolarization | ( | double | theta, |
double | phi | ||
) |
Definition at line 328 of file GHepParticle.cxx.
References fPolzPhi, fPolzTheta, genie::constants::kPi, LOG, and pERROR.
Referenced by genie::OutgoingDarkGenerator::SetPolarization(), SetPolarization(), and genie::utils::SetPrimaryLeptonPolarization().
void GHepParticle::SetPolarization | ( | const TVector3 & | polz | ) |
Definition at line 344 of file GHepParticle.cxx.
References genie::constants::kPi, LOG, pERROR, and SetPolarization().
void GHepParticle::SetPosition | ( | const TLorentzVector & | v4 | ) |
Definition at line 252 of file GHepParticle.cxx.
Referenced by Copy(), genie::NucleonDecayPrimaryVtxGenerator::GenerateDecayedNucleonPosition(), genie::NNBarOscPrimaryVtxGenerator::GenerateOscillatingNeutronPosition(), genie::Intranuke::GenerateVertex(), genie::Intranuke2018::GenerateVertex(), genie::VertexGenerator::ProcessEventRecord(), genie::hnl::VertexGenerator::ProcessEventRecord(), genie::hnl::FluxCreator::ProcessEventRecord(), genie::DISHadronicSystemGenerator::SimulateFormationZone(), genie::utils::intranuke::StepParticle(), and genie::utils::intranuke2018::StepParticle().
void GHepParticle::SetPosition | ( | double | x, |
double | y, | ||
double | z, | ||
double | t | ||
) |
Definition at line 257 of file GHepParticle.cxx.
References fX4, LOG, and pDEBUG.
void GHepParticle::SetPx | ( | double | px | ) |
Definition at line 274 of file GHepParticle.cxx.
References E(), Py(), Pz(), and SetMomentum().
Referenced by genie::NucDeExcitationSim::AddPhoton(), and genie::NucBindEnergyAggregator::ProcessEventRecord().
void GHepParticle::SetPy | ( | double | py | ) |
Definition at line 279 of file GHepParticle.cxx.
References E(), Px(), Pz(), and SetMomentum().
Referenced by genie::NucDeExcitationSim::AddPhoton(), and genie::NucBindEnergyAggregator::ProcessEventRecord().
void GHepParticle::SetPz | ( | double | pz | ) |
Definition at line 284 of file GHepParticle.cxx.
References E(), Px(), Py(), and SetMomentum().
Referenced by genie::NucDeExcitationSim::AddPhoton(), and genie::NucBindEnergyAggregator::ProcessEventRecord().
void GHepParticle::SetRemovalEnergy | ( | double | Erm | ) |
Definition at line 380 of file GHepParticle.cxx.
References fRemovalEnergy, and SetBound().
Referenced by genie::QELHadronicSystemGenerator::AddRecoilBaryon(), genie::IBDHadronicSystemGenerator::AddRecoilBaryon(), genie::HNIntranuke2018::ElasHN(), genie::HNIntranuke2018::InelasticHN(), genie::FermiMover::KickHitNucleon(), genie::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), genie::QELEventGenerator::ProcessEventRecord(), genie::NucBindEnergyAggregator::ProcessEventRecord(), genie::DMELEventGenerator::ProcessEventRecord(), and genie::QELEventGeneratorSM::ProcessEventRecord().
|
inline |
Definition at line 129 of file GHepParticle.h.
References fRescatterCode.
Referenced by Copy().
|
inline |
Definition at line 126 of file GHepParticle.h.
References fStatus, and genie::units::s.
Referenced by genie::HNIntranuke2018::AbsorbHN(), genie::RSPPHadronicSystemGenerator::AddResonanceDecayProducts(), Copy(), genie::PythiaDecayer::Decay(), genie::BaryonResonanceDecayer::Decay(), genie::HAIntranuke::ElasHA(), genie::HAIntranuke2018::ElasHA(), genie::HNIntranuke2018::ElasHN(), genie::HNIntranuke2018::HandleCompoundNucleus(), genie::HAIntranuke::Inelastic(), genie::HAIntranuke2018::Inelastic(), genie::HAIntranuke::InelasticHA(), genie::HAIntranuke2018::InelasticHA(), genie::HNIntranuke2018::InelasticHN(), genie::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), genie::utils::intranuke::PionProduction(), genie::utils::intranuke2018::PionProduction(), genie::utils::intranuke::PreEquilibrium(), genie::INukeDeltaPropg::ProcessEventRecord(), genie::HAIntranuke::SimulateHadronicFinalState(), genie::HAIntranuke2018::SimulateHadronicFinalState(), genie::HNIntranuke2018::SimulateHadronicFinalState(), genie::utils::intranuke::ThreeBodyKinematics(), genie::utils::intranuke2018::ThreeBodyKinematics(), genie::Intranuke::TransportHadrons(), genie::Intranuke2018::TransportHadrons(), genie::HadronTransporter::TransportInTransparentNuc(), genie::utils::intranuke::TwoBodyCollision(), and genie::utils::intranuke2018::TwoBodyCollision().
|
inline |
Definition at line 64 of file GHepParticle.h.
References fStatus.
Referenced by AcceptEvent(), CheckChargeConservation(), CheckDecayerConsistency(), CheckEnergyMomentumConservation(), CheckForNumFinStateNucleonsInconsistentWithTarget(), CheckForOffMassShellParticlesInFinState(), CheckForPseudoParticlesInFinState(), ConvertToGHad(), ConvertToGINuke(), ConvertToGRooTracker(), ConvertToGST(), ConvertToGTracker(), ConvertToGXML(), Copy(), genie::PythiaDecayer::Decay(), genie::GHepRecord::EventGenerationMode(), FindhAFate(), genie::GHepRecord::FindParticle(), genie::GHepRecord::FirstNonInitStateEntry(), genie::hnl::Decayer::GenerateDecayProducts(), GenerateEvent(), genie::CascadeReweight::GetEventWeight(), genie::GHepRecord::GetStableDescendants(), genie::Pythia6Hadro2019::Hadronize(), genie::Pythia8Hadro2019::Hadronize(), genie::GHepRecord::HitElectronPosition(), genie::GHepRecord::HitNucleonPosition(), main(), genie::Intranuke::NeedsRescattering(), genie::Intranuke2018::NeedsRescattering(), genie::GHepRecord::NEntries(), genie::utils::ghep::NeutReactionCode(), genie::utils::ghep::NuanceReactionCode(), operator<<(), genie::GHepRecord::ParticlePosition(), Print(), genie::GHepRecord::Print(), genie::INukeDeltaPropg::ProcessEventRecord(), genie::PythiaDecayer::ProcessEventRecord(), genie::NucBindEnergyAggregator::ProcessEventRecord(), genie::BaryonResonanceDecayer::ProcessEventRecord(), genie::GHepRecord::RemnantNucleusPosition(), genie::GHepRecord::RemoveIntermediateParticles(), genie::DISHadronicSystemGenerator::SimulateFormationZone(), genie::GHepRecord::TargetNucleusPosition(), genie::DarkSectorDecayer::ToBeDecayed(), and genie::HadronTransporter::TransportInTransparentNuc().
|
inline |
Get production time.
Definition at line 97 of file GHepParticle.h.
References fX4.
Referenced by ConvertToGXML(), GenerateEvent(), operator<<(), genie::GHepRecord::Print(), and genie::hnl::VertexGenerator::ProcessEventRecord().
|
inline |
Get production x.
Definition at line 94 of file GHepParticle.h.
References fX4.
Referenced by ConvertToGINuke(), ConvertToGXML(), genie::SecondNucleonEmissionI::EmitSecondNucleon(), GenerateEvent(), operator<<(), and genie::GHepRecord::Print().
|
inline |
Get production y.
Definition at line 95 of file GHepParticle.h.
References fX4.
Referenced by ConvertToGINuke(), ConvertToGXML(), genie::SecondNucleonEmissionI::EmitSecondNucleon(), GenerateEvent(), operator<<(), and genie::GHepRecord::Print().
|
inline |
Get production z.
Definition at line 96 of file GHepParticle.h.
References fX4.
Referenced by ConvertToGINuke(), ConvertToGXML(), genie::SecondNucleonEmissionI::EmitSecondNucleon(), GenerateEvent(), operator<<(), and genie::GHepRecord::Print().
|
inline |
Definition at line 79 of file GHepParticle.h.
References fX4.
Referenced by genie::NuETargetRemnantGenerator::AddElectronNeutrino(), genie::DMETargetRemnantGenerator::AddElectronNeutrino(), genie::COHDNuEventGenerator::AddFinalStateDarkNeutrino(), genie::MECGenerator::AddFinalStateLepton(), genie::AMNuGammaGenerator::AddFinalStateNeutrino(), genie::CEvNSEventGenerator::AddFinalStateNeutrino(), genie::AMNuGammaGenerator::AddPhoton(), genie::HEDISGenerator::AddPrimaryLepton(), genie::QELHadronicSystemGenerator::AddRecoilBaryon(), genie::IBDHadronicSystemGenerator::AddRecoilBaryon(), genie::AMNuGammaGenerator::AddRecoilNucleon(), genie::CEvNSEventGenerator::AddRecoilNucleus(), genie::COHDNuEventGenerator::AddRecoilNucleus(), genie::RESHadronicSystemGenerator::AddResonance(), genie::RSPPHadronicSystemGenerator::AddResonanceDecayProducts(), genie::PrimaryLeptonGenerator::AddToEventRecord(), genie::OutgoingDarkGenerator::AddToEventRecord(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_AlvarezRuso(), genie::SKHadronicSystemGenerator::CalculateHadronicSystem_AtharSingleKaon(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_BergerSehgalFM(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_ReinSehgal(), CheckVertexDistribution(), ConvertToGRooTracker(), ConvertToGTracker(), Copy(), genie::PythiaDecayer::Decay(), genie::BaryonResonanceDecayer::DecayExclusive(), genie::MECGenerator::GenerateNSVInitialHadrons(), genie::QELEventGeneratorSuSA::GenerateNucleon(), genie::Intranuke::GenerateStep(), genie::Pythia6Hadro2019::Hadronize(), genie::Pythia8Hadro2019::Hadronize(), genie::HAIntranuke::Inelastic(), genie::HAIntranuke2018::Inelastic(), genie::Intranuke::IsInNucleus(), genie::Intranuke2018::IsInNucleus(), genie::FermiMover::KickHitNucleon(), genie::DFRHadronicSystemGenerator::ProcessEventRecord(), genie::INukeDeltaPropg::ProcessEventRecord(), genie::QELKinematicsGenerator::ProcessEventRecord(), genie::HENuElGenerator::ProcessEventRecord(), genie::QELEventGenerator::ProcessEventRecord(), genie::PhotonCOHGenerator::ProcessEventRecord(), genie::PhotonRESGenerator::ProcessEventRecord(), genie::DMELKinematicsGenerator::ProcessEventRecord(), genie::GLRESGenerator::ProcessEventRecord(), genie::NormGenerator::ProcessEventRecord(), genie::DMELEventGenerator::ProcessEventRecord(), genie::PauliBlocker::ProcessEventRecord(), genie::AGCharm2019::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), genie::AGKYLowW2019::ProcessEventRecord(), genie::MECGenerator::RecoilNucleonCluster(), genie::QELEventGeneratorSuSA::SelectLeptonKinematics(), genie::MECGenerator::SelectNSVLeptonKinematics(), genie::MECGenerator::SelectSuSALeptonKinematics(), genie::DarkSectorDecayer::SetSpaceTime(), genie::DISHadronicSystemGenerator::SimulateFormationZone(), genie::QELKinematicsGenerator::SpectralFuncExperimentalCode(), genie::DMELKinematicsGenerator::SpectralFuncExperimentalCode(), genie::SRCNuclearRecoil::SRCRecoilPDG(), genie::utils::intranuke::StepParticle(), genie::utils::intranuke2018::StepParticle(), genie::Intranuke::TransportHadrons(), and genie::Intranuke2018::TransportHadrons().
|
inline |
Definition at line 81 of file GHepParticle.h.
References fX4.
int GHepParticle::Z | ( | void | ) | const |
Definition at line 174 of file GHepParticle.cxx.
References fPdgCode, genie::pdg::IonPdgCodeToZ(), and genie::pdg::IsIon().
Referenced by genie::HadronicSystemGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSuSA::AddTargetNucleusRemnant(), genie::QELEventGenerator::AddTargetNucleusRemnant(), genie::FermiMover::AddTargetNucleusRemnant(), genie::DMELEventGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSM::AddTargetNucleusRemnant(), genie::AMNuGammaGenerator::AddTargetRemnant(), genie::MECGenerator::AddTargetRemnant(), genie::PrimaryLeptonGenerator::AddToEventRecord(), genie::OutgoingDarkGenerator::AddToEventRecord(), CheckForNumFinStateNucleonsInconsistentWithTarget(), CheckVertexDistribution(), ConvertToGHad(), genie::FermiMover::KickHitNucleon(), genie::QELEventGenerator::ProcessEventRecord(), genie::NucBindEnergyAggregator::ProcessEventRecord(), genie::DMELEventGenerator::ProcessEventRecord(), genie::NucDeExcitationSim::ProcessEventRecord(), genie::Intranuke::TransportHadrons(), and genie::Intranuke2018::TransportHadrons().
|
friend |
Definition at line 43 of file GHepParticle.cxx.
|
private |
first daughter idx
Definition at line 179 of file GHepParticle.h.
Referenced by CompareFamily(), FirstDaughter(), HasDaughters(), Init(), and SetFirstDaughter().
|
private |
first mother idx
Definition at line 177 of file GHepParticle.h.
Referenced by CompareFamily(), FirstMother(), Init(), and SetFirstMother().
|
private |
'is it a bound particle?' flag
Definition at line 186 of file GHepParticle.h.
Referenced by Copy(), GHepParticle(), Init(), IsBound(), and SetBound().
|
private |
last daughter idx
Definition at line 180 of file GHepParticle.h.
Referenced by CompareFamily(), Init(), LastDaughter(), and SetLastDaughter().
|
private |
last mother idx
Definition at line 178 of file GHepParticle.h.
Referenced by CompareFamily(), Init(), LastMother(), and SetLastMother().
|
private |
momentum 4-vector (GeV)
Definition at line 181 of file GHepParticle.h.
Referenced by CleanUp(), E(), GetP4(), GHepParticle(), Init(), IsOnMassShell(), KinE(), P4(), Px(), Py(), Pz(), and SetMomentum().
|
private |
particle PDG code
Definition at line 174 of file GHepParticle.h.
Referenced by A(), AssertIsKnownParticle(), Charge(), Compare(), ComparePdgCodes(), Init(), IsOnMassShell(), Mass(), Name(), Pdg(), SetBound(), SetPdgCode(), and Z().
|
private |
azimuthal polarization angle (rad)
Definition at line 184 of file GHepParticle.h.
Referenced by Copy(), GetPolarization(), GHepParticle(), Init(), PolzAzimuthAngle(), PolzIsSet(), and SetPolarization().
|
private |
polar polarization angle (rad)
Definition at line 183 of file GHepParticle.h.
Referenced by Copy(), GetPolarization(), GHepParticle(), Init(), PolzIsSet(), PolzPolarAngle(), and SetPolarization().
|
private |
removal energy for bound nucleons (GeV)
Definition at line 185 of file GHepParticle.h.
Referenced by Copy(), GHepParticle(), Init(), RemovalEnergy(), SetBound(), and SetRemovalEnergy().
|
private |
rescattering code
Definition at line 176 of file GHepParticle.h.
Referenced by GHepParticle(), Init(), RescatterCode(), and SetRescatterCode().
|
private |
particle status
Definition at line 175 of file GHepParticle.h.
Referenced by Compare(), CompareStatusCodes(), Init(), SetStatus(), and Status().
|
private |
position 4-vector (in the target nucleus coordinate system / x,y,z in fm / t from the moment of the primary interaction in ys(yocto second = 10^-24 s)
Definition at line 182 of file GHepParticle.h.
Referenced by CleanUp(), GetX4(), GHepParticle(), Init(), SetPosition(), Vt(), Vx(), Vy(), Vz(), and X4().