STDHEP-like event record entry that can fit a particle or a nucleus. More...
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=0) 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.
November 18, 2004
Copyright (c) 2003-2019, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org or see $GENIE/LICENSE
Definition at line 40 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 75 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 98 of file GHepParticle.cxx.
References fIsBound, fP4, fPolzPhi, fPolzTheta, fRemovalEnergy, fRescatterCode, fX4, and SetPdgCode().
GHepParticle::GHepParticle | ( | TRootIOCtor * | ) |
Definition at line 129 of file GHepParticle.cxx.
GHepParticle::~GHepParticle | ( | ) |
Definition at line 202 of file GHepParticle.cxx.
References fPdgCode, genie::pdg::IonPdgCodeToA(), and genie::pdg::IsIon().
Referenced by genie::HadronicSystemGenerator::AddTargetNucleusRemnant(), genie::FermiMover::AddTargetNucleusRemnant(), genie::QELEventGenerator::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(), RemovalEnergy(), genie::Intranuke::SetTrackingRadius(), genie::Intranuke2018::SetTrackingRadius(), genie::DISHadronicSystemGenerator::SimulateFormationZone(), genie::Intranuke::TransportHadrons(), and genie::Intranuke2018::TransportHadrons().
Definition at line 553 of file GHepParticle.cxx.
References exit(), genie::PDGLibrary::Find(), fPdgCode, genie::gAbortingInErr, genie::PDGLibrary::Instance(), LOG, and pFATAL.
Referenced by Charge(), IsOnMassShell(), Mass(), Name(), SetLastDaughter(), and SetPdgCode().
double GHepParticle::Charge | ( | void | ) | const |
Chrg that corresponds to the PDG code.
Definition at line 169 of file GHepParticle.cxx.
References AssertIsKnownParticle(), genie::PDGLibrary::Find(), fPdgCode, and genie::PDGLibrary::Instance().
Referenced by CheckChargeConservation(), and IsBound().
Definition at line 423 of file GHepParticle.cxx.
Referenced by Clear(), Reset(), SetLastDaughter(), and ~GHepParticle().
void GHepParticle::Clear | ( | Option_t * | option | ) |
Definition at line 441 of file GHepParticle.cxx.
References CleanUp().
Referenced by SetLastDaughter().
bool GHepParticle::Compare | ( | const GHepParticle * | p | ) | const |
Definition at line 481 of file GHepParticle.cxx.
References CompareFamily(), CompareMomentum(), fPdgCode, and fStatus.
Referenced by operator==(), genie::GHepRecord::ParticlePosition(), and RemovalEnergy().
bool GHepParticle::CompareFamily | ( | const GHepParticle * | p | ) | const |
Definition at line 509 of file GHepParticle.cxx.
References fFirstDaughter, fFirstMother, fLastDaughter, and fLastMother.
Referenced by Compare(), and RemovalEnergy().
bool GHepParticle::CompareMomentum | ( | const GHepParticle * | p | ) | const |
Definition at line 520 of file GHepParticle.cxx.
References dE, E(), kPCutOff, Px(), Py(), and Pz().
Referenced by Compare(), genie::utils::intranuke::PreEquilibrium(), genie::utils::intranuke2018::PreEquilibrium(), and RemovalEnergy().
bool GHepParticle::ComparePdgCodes | ( | const GHepParticle * | p | ) | const |
Definition at line 499 of file GHepParticle.cxx.
References fPdgCode.
Referenced by genie::utils::intranuke::PreEquilibrium(), genie::utils::intranuke2018::PreEquilibrium(), and RemovalEnergy().
bool GHepParticle::CompareStatusCodes | ( | const GHepParticle * | p | ) | const |
Definition at line 504 of file GHepParticle.cxx.
References fStatus.
Referenced by genie::utils::intranuke::PreEquilibrium(), genie::utils::intranuke2018::PreEquilibrium(), and RemovalEnergy().
void GHepParticle::Copy | ( | const GHepParticle & | particle | ) |
Definition at line 533 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=(), SetLastDaughter(), and genie::GHepRecord::SwapParticles().
|
inline |
Get energy.
Definition at line 92 of file GHepParticle.h.
References fP4.
Referenced by genie::HNIntranuke2018::AbsorbHN(), genie::NucDeExcitationSim::AddPhoton(), genie::FermiMover::AddTargetNucleusRemnant(), genie::QELEventGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSM::AddTargetNucleusRemnant(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_AlvarezRuso(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_BergerSehgalFM(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_ReinSehgal(), CheckEnergyMomentumConservation(), CompareMomentum(), novarwgt::ConvertGenieEvent(), ConvertToGINuke(), ConvertToGXML(), Energy(), evgen::GENIENeutronOscGen::fillMCTruth(), GenerateEvent(), genie::HAIntranuke::InelasticHA(), genie::INukeHadroData2018::IntBounce(), genie::INukeHadroData::IntBounce(), main(), supernova::SnovaGen::MakeMCTruth(), genie::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), genie::utils::intranuke::PreEquilibrium(), genie::utils::intranuke2018::PreEquilibrium(), Print(), genie::GHepRecord::Print(), genie::DFRHadronicSystemGenerator::ProcessEventRecord(), SetPx(), SetPy(), SetPz(), genie::utils::intranuke::ThreeBodyKinematics(), and genie::utils::intranuke2018::ThreeBodyKinematics().
|
inline |
Get energy.
Definition at line 93 of file GHepParticle.h.
Referenced by ConvertToGST(), genie::PythiaDecayer::Decay(), 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().
Definition at line 69 of file GHepParticle.h.
References fFirstDaughter.
Referenced by genie::AMNuGammaGenerator::AddFinalStateNeutrino(), genie::NucDeExcitationSim::AddPhoton(), genie::FermiMover::AddTargetNucleusRemnant(), genie::QELEventGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSM::AddTargetNucleusRemnant(), genie::AMNuGammaGenerator::AddTargetRemnant(), CheckForNumFinStateNucleonsInconsistentWithTarget(), genie::GHepRecord::CompactifyDaughterLists(), ConvertToGHad(), ConvertToGINuke(), ConvertToGRooTracker(), ConvertToGST(), ConvertToGTracker(), ConvertToGXML(), Copy(), genie::GHepRecord::FinalStatePrimaryLeptonPosition(), GenerateEvent(), Print(), genie::GHepRecord::Print(), genie::PauliBlocker::ProcessEventRecord(), genie::GHepRecord::RemnantNucleusPosition(), and genie::GHepRecord::UpdateDaughterLists().
Definition at line 67 of file GHepParticle.h.
References fFirstMother.
Referenced by genie::HNIntranuke2018::AbsorbHN(), AcceptEvent(), genie::GHepRecord::CompactifyDaughterLists(), ConvertToGHad(), ConvertToGRooTracker(), ConvertToGST(), ConvertToGTracker(), ConvertToGXML(), Copy(), evgen::GENIENeutronOscGen::fillMCTruth(), genie::GHepRecord::FinalizeDaughterLists(), GenerateEvent(), genie::GHepRecord::GetStableDescendants(), genie::HNIntranuke2018::HandleCompoundNucleusHN(), genie::GHepRecord::HasCompactDaughterList(), genie::HAIntranuke::Inelastic(), genie::HAIntranuke2018::Inelastic(), main(), supernova::SnovaGen::MakeMCTruth(), 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 212 of file GHepParticle.cxx.
References fP4, LOG, make_associated_cosmic_defs::p4, genie::utils::print::P4AsShortString(), pDEBUG, and pWARN.
Referenced by genie::RSPPHadronicSystemGenerator::AddResonanceDecayProducts(), genie::MECGenerator::DecayNucleonCluster(), genie::NucleonDecayPrimaryVtxGenerator::GenerateDecayProducts(), genie::NNBarOscPrimaryVtxGenerator::GenerateDecayProducts(), genie::NNBarOscPrimaryVtxGenerator::GenerateFermiMomentum(), genie::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), genie::PrimaryLeptonGenerator::ProcessEventRecord(), genie::OutgoingDarkGenerator::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), genie::MECGenerator::RecoilNucleonCluster(), and X4().
void GHepParticle::GetPolarization | ( | TVector3 & | polz | ) |
Definition at line 333 of file GHepParticle.cxx.
References fPolzPhi, fPolzTheta, and PolzIsSet().
Referenced by supernova::SnovaGen::MakeMCTruth(), PolzAzimuthAngle(), and genie::GHepRecord::Print().
TLorentzVector * GHepParticle::GetX4 | ( | void | ) | const |
Definition at line 230 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::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), and X4().
|
inline |
Definition at line 71 of file GHepParticle.h.
References fFirstDaughter.
Referenced by genie::GHepRecord::SwapParticles().
Definition at line 406 of file GHepParticle.cxx.
References fFirstDaughter, fFirstMother, fIsBound, fLastDaughter, fLastMother, fP4, fPdgCode, fPolzPhi, fPolzTheta, fRemovalEnergy, fRescatterCode, fStatus, fX4, and genie::kIStUndefined.
Referenced by GHepParticle(), Reset(), and SetLastDaughter().
|
inline |
Definition at line 72 of file GHepParticle.h.
References Charge(), fIsBound, Mass(), and Name().
bool GHepParticle::IsOffMassShell | ( | void | ) | const |
Definition at line 321 of file GHepParticle.cxx.
References IsOnMassShell().
Referenced by CheckForOffMassShellParticlesInFinState(), genie::DISPrimaryLeptonGenerator::ProcessEventRecord(), genie::DFRPrimaryLeptonGenerator::ProcessEventRecord(), genie::SKPrimaryLeptonGenerator::ProcessEventRecord(), genie::DMDISOutgoingDarkGenerator::ProcessEventRecord(), and RemovalEnergy().
bool GHepParticle::IsOnMassShell | ( | void | ) | const |
Definition at line 307 of file GHepParticle.cxx.
References AssertIsKnownParticle(), genie::PDGLibrary::Find(), fP4, fPdgCode, genie::PDGLibrary::Instance(), and kOffShellDm.
Referenced by IsOffMassShell(), genie::GHepRecord::Print(), and RemovalEnergy().
double GHepParticle::KinE | ( | bool | mass_from_pdg = false | ) | const |
Get kinetic energy.
Definition at line 177 of file GHepParticle.cxx.
References fP4, K, LOG, Mass(), and pWARN.
Referenced by genie::HNIntranuke2018::AbsorbHN(), novarwgt::ConvertGenieEvent(), ConvertToGST(), Energy(), 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().
Definition at line 70 of file GHepParticle.h.
References fLastDaughter.
Referenced by genie::NucDeExcitationSim::AddPhoton(), genie::FermiMover::AddTargetNucleusRemnant(), genie::QELEventGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSM::AddTargetNucleusRemnant(), CheckForNumFinStateNucleonsInconsistentWithTarget(), genie::GHepRecord::CompactifyDaughterLists(), ConvertToGRooTracker(), ConvertToGST(), ConvertToGTracker(), ConvertToGXML(), Copy(), GenerateEvent(), Print(), genie::GHepRecord::Print(), genie::GHepRecord::RemnantNucleusPosition(), and genie::GHepRecord::UpdateDaughterLists().
Definition at line 68 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 161 of file GHepParticle.cxx.
References AssertIsKnownParticle(), genie::PDGLibrary::Find(), fPdgCode, and genie::PDGLibrary::Instance().
Referenced by genie::FermiMover::AddTargetNucleusRemnant(), genie::QELEventGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSM::AddTargetNucleusRemnant(), ConvertToGINuke(), ConvertToGST(), genie::PythiaDecayer::Decay(), genie::HAIntranuke::ElasHA(), genie::HAIntranuke2018::ElasHA(), genie::HNIntranuke2018::ElasHN(), genie::utils::intranuke::Equilibrium(), evgen::GENIENeutronOscGen::fillMCTruth(), genie::HNIntranuke2018::GammaInelasticHN(), GenerateEvent(), genie::NNBarOscPrimaryVtxGenerator::GenerateFermiMomentum(), genie::HAIntranuke::InelasticHA(), genie::HAIntranuke2018::InelasticHA(), genie::INukeHadroData2018::IntBounce(), genie::INukeHadroData::IntBounce(), IsBound(), genie::FermiMover::KickHitNucleon(), KinE(), supernova::SnovaGen::MakeMCTruth(), 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().
Name that corresponds to the PDG code.
Definition at line 153 of file GHepParticle.cxx.
References AssertIsKnownParticle(), genie::PDGLibrary::Find(), fPdgCode, and genie::PDGLibrary::Instance().
Referenced by genie::HNIntranuke2018::AbsorbHN(), ConvertToGST(), 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(), IsBound(), 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::GHepRecord::RemoveIntermediateParticles(), genie::PrimaryLeptonGenerator::SetPolarization(), genie::OutgoingDarkGenerator::SetPolarization(), 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 | ) |
Definition at line 572 of file GHepParticle.cxx.
References Copy().
Referenced by SetLastDaughter().
bool GHepParticle::operator== | ( | const GHepParticle & | p | ) | const |
Definition at line 567 of file GHepParticle.cxx.
References Compare().
Referenced by SetLastDaughter().
|
inline |
Definition at line 79 of file GHepParticle.h.
References fP4.
Referenced by genie::HNIntranuke2018::AbsorbHN(), genie::BaryonResonanceDecayer::AcceptPionDecay(), genie::NuETargetRemnantGenerator::AddElectronNeutrino(), genie::AMNuGammaGenerator::AddFinalStateNeutrino(), genie::AMNuGammaGenerator::AddPhoton(), 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::BaryonResonanceDecayer::DecayExclusive(), genie::HAIntranuke::ElasHA(), genie::HAIntranuke2018::ElasHA(), genie::utils::intranuke::Equilibrium(), genie::MECGenerator::GenerateNSVInitialHadrons(), 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::NuEPrimaryLeptonGenerator::ProcessEventRecord(), genie::DFRHadronicSystemGenerator::ProcessEventRecord(), genie::INukeDeltaPropg::ProcessEventRecord(), genie::GLRESGenerator::ProcessEventRecord(), genie::NucBindEnergyAggregator::ProcessEventRecord(), genie::PauliBlocker::ProcessEventRecord(), genie::MECGenerator::RecoilNucleonCluster(), cafrwgt::CAFReweight::RetrieveGHEP(), genie::BaryonResonanceDecayer::SelectDecayChannel(), genie::DISHadronicSystemGenerator::SimulateFormationZone(), 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 |
Definition at line 64 of file GHepParticle.h.
References fPdgCode.
Referenced by genie::HNIntranuke2018::AbsorbHN(), AcceptEvent(), genie::AMNuGammaGenerator::AddFinalStateNeutrino(), genie::GHepRecord::AddParticle(), genie::NucDeExcitationSim::AddPhoton(), genie::AMNuGammaGenerator::AddRecoilNucleon(), genie::HadronicSystemGenerator::AddTargetNucleusRemnant(), genie::FermiMover::AddTargetNucleusRemnant(), genie::QELEventGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSM::AddTargetNucleusRemnant(), genie::AMNuGammaGenerator::AddTargetRemnant(), genie::MECGenerator::AddTargetRemnant(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_AlvarezRuso(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_BergerSehgalFM(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_ReinSehgal(), genie::Intranuke::CanRescatter(), genie::Intranuke2018::CanRescatter(), CheckDecayerConsistency(), CheckForNumFinStateNucleonsInconsistentWithTarget(), CheckForPseudoParticlesInFinState(), genie::GMCJDriver::ComputeEventProbability(), novarwgt::ConvertGenieEvent(), ConvertToGHad(), ConvertToGINuke(), ConvertToGRooTracker(), ConvertToGST(), ConvertToGTracker(), ConvertToGXML(), Copy(), genie::PythiaDecayer::Decay(), 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(), evgen::GENIENeutronOscGen::fillMCTruth(), FindhAFate(), genie::GHepRecord::FindParticle(), genie::HNIntranuke2018::GammaInelasticHN(), genie::NNBarOscPrimaryVtxGenerator::GenerateDecayProducts(), GenerateEvent(), genie::NucleonDecayPrimaryVtxGenerator::GenerateFermiMomentum(), genie::MECGenerator::GenerateFermiMomentum(), genie::NNBarOscPrimaryVtxGenerator::GenerateFermiMomentum(), genie::MECGenerator::GenerateNSVInitialHadrons(), genie::Intranuke::GenerateStep(), genie::Intranuke::GenerateVertex(), genie::Intranuke2018::GenerateVertex(), genie::HAIntranuke::HadronFateHA(), genie::HAIntranuke2018::HadronFateHA(), genie::HNIntranuke2018::HadronFateHN(), 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(), supernova::SnovaGen::MakeMCTruth(), 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::COHElHadronicSystemGenerator::ProcessEventRecord(), genie::INukeDeltaPropg::ProcessEventRecord(), genie::VertexGenerator::ProcessEventRecord(), genie::GLRESGenerator::ProcessEventRecord(), genie::PythiaDecayer::ProcessEventRecord(), genie::NucBindEnergyAggregator::ProcessEventRecord(), genie::QELEventGenerator::ProcessEventRecord(), genie::BaryonResonanceDecayer::ProcessEventRecord(), genie::PauliBlocker::ProcessEventRecord(), genie::GHepRecord::RemnantNucleusPosition(), genie::BaryonResonanceDecayer::SelectDecayChannel(), genie::PrimaryLeptonGenerator::SetPolarization(), genie::OutgoingDarkGenerator::SetPolarization(), genie::Intranuke::SetTrackingRadius(), genie::Intranuke2018::SetTrackingRadius(), genie::DISHadronicSystemGenerator::SimulateFormationZone(), genie::HAIntranuke::SimulateHadronicFinalState(), genie::HAIntranuke2018::SimulateHadronicFinalState(), genie::HNIntranuke2018::SimulateHadronicFinalState(), genie::GHepRecord::TargetNucleusPosition(), genie::utils::intranuke::ThreeBodyKinematics(), genie::utils::intranuke2018::ThreeBodyKinematics(), genie::utils::intranuke::TwoBodyCollision(), and genie::utils::intranuke2018::TwoBodyCollision().
|
inline |
Definition at line 121 of file GHepParticle.h.
References plot_validation_datamc::c, fPolzPhi, GetPolarization(), PolzIsSet(), and SetPdgCode().
Referenced by ConvertToGRooTracker(), ConvertToGTracker(), ConvertToGXML(), genie::PrimaryLeptonGenerator::SetPolarization(), and genie::OutgoingDarkGenerator::SetPolarization().
bool GHepParticle::PolzIsSet | ( | void | ) | const |
Definition at line 326 of file GHepParticle.cxx.
References fPolzPhi, and fPolzTheta.
Referenced by ConvertToGRooTracker(), ConvertToGTracker(), ConvertToGXML(), GetPolarization(), supernova::SnovaGen::MakeMCTruth(), PolzAzimuthAngle(), genie::GHepRecord::Print(), genie::PrimaryLeptonGenerator::SetPolarization(), and genie::OutgoingDarkGenerator::SetPolarization().
|
inline |
Definition at line 120 of file GHepParticle.h.
References fPolzTheta.
Referenced by ConvertToGRooTracker(), ConvertToGTracker(), ConvertToGXML(), genie::PrimaryLeptonGenerator::SetPolarization(), and genie::OutgoingDarkGenerator::SetPolarization().
void GHepParticle::Print | ( | ostream & | stream | ) | const |
Definition at line 450 of file GHepParticle.cxx.
References E(), FirstDaughter(), FirstMother(), LastDaughter(), LastMother(), Mass(), Name(), Pdg(), Px(), Py(), Pz(), RescatterCode(), and Status().
Referenced by ClassImp(), Print(), and SetLastDaughter().
void GHepParticle::Print | ( | Option_t * | opt | ) | const |
|
inline |
Get Px.
Definition at line 89 of file GHepParticle.h.
References fP4.
Referenced by genie::NucDeExcitationSim::AddPhoton(), genie::HadronicSystemGenerator::AddTargetNucleusRemnant(), genie::FermiMover::AddTargetNucleusRemnant(), genie::QELEventGenerator::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::FermiMover::Emit2ndNucleonFromSRC(), evgen::GENIENeutronOscGen::fillMCTruth(), FindhAFate(), GenerateEvent(), genie::HAIntranuke::InelasticHA(), genie::HAIntranuke2018::InelasticHA(), supernova::SnovaGen::MakeMCTruth(), operator<<(), genie::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), Print(), genie::GHepRecord::Print(), genie::DFRHadronicSystemGenerator::ProcessEventRecord(), genie::NucBindEnergyAggregator::ProcessEventRecord(), SetEnergy(), genie::PrimaryLeptonGenerator::SetPolarization(), genie::OutgoingDarkGenerator::SetPolarization(), SetPy(), and SetPz().
|
inline |
Get Py.
Definition at line 90 of file GHepParticle.h.
References fP4.
Referenced by genie::NucDeExcitationSim::AddPhoton(), genie::HadronicSystemGenerator::AddTargetNucleusRemnant(), genie::FermiMover::AddTargetNucleusRemnant(), genie::QELEventGenerator::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::FermiMover::Emit2ndNucleonFromSRC(), evgen::GENIENeutronOscGen::fillMCTruth(), FindhAFate(), GenerateEvent(), genie::HAIntranuke::InelasticHA(), genie::HAIntranuke2018::InelasticHA(), supernova::SnovaGen::MakeMCTruth(), operator<<(), genie::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), Print(), genie::GHepRecord::Print(), genie::DFRHadronicSystemGenerator::ProcessEventRecord(), genie::NucBindEnergyAggregator::ProcessEventRecord(), SetEnergy(), genie::PrimaryLeptonGenerator::SetPolarization(), genie::OutgoingDarkGenerator::SetPolarization(), SetPx(), and SetPz().
|
inline |
Get Pz.
Definition at line 91 of file GHepParticle.h.
References fP4.
Referenced by genie::NucDeExcitationSim::AddPhoton(), genie::HadronicSystemGenerator::AddTargetNucleusRemnant(), genie::FermiMover::AddTargetNucleusRemnant(), genie::QELEventGenerator::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::FermiMover::Emit2ndNucleonFromSRC(), evgen::GENIENeutronOscGen::fillMCTruth(), FindhAFate(), GenerateEvent(), genie::HAIntranuke::InelasticHA(), genie::HAIntranuke2018::InelasticHA(), supernova::SnovaGen::MakeMCTruth(), operator<<(), genie::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), Print(), genie::GHepRecord::Print(), genie::DFRHadronicSystemGenerator::ProcessEventRecord(), genie::NucBindEnergyAggregator::ProcessEventRecord(), SetEnergy(), genie::PrimaryLeptonGenerator::SetPolarization(), genie::OutgoingDarkGenerator::SetPolarization(), SetPx(), and SetPy().
|
inline |
Get removal energy.
Definition at line 101 of file GHepParticle.h.
References A(), Compare(), CompareFamily(), CompareMomentum(), ComparePdgCodes(), CompareStatusCodes(), fRemovalEnergy, IsOffMassShell(), IsOnMassShell(), and Z().
Referenced by genie::QELHadronicSystemGenerator::AddRecoilBaryon(), genie::IBDHadronicSystemGenerator::AddRecoilBaryon(), main(), and genie::NucBindEnergyAggregator::ProcessEventRecord().
Definition at line 66 of file GHepParticle.h.
References fRescatterCode.
Referenced by ConvertToGRooTracker(), ConvertToGST(), ConvertToGTracker(), ConvertToGXML(), Copy(), supernova::SnovaGen::MakeMCTruth(), Print(), and genie::GHepRecord::Print().
Definition at line 433 of file GHepParticle.cxx.
References CleanUp(), and Init().
Referenced by SetLastDaughter().
void GHepParticle::SetBound | ( | bool | bound | ) |
Definition at line 379 of file GHepParticle.cxx.
References fIsBound, fPdgCode, fRemovalEnergy, genie::pdg::IsNeutronOrProton(), LOG, and pERROR.
Referenced by SetLastDaughter(), and SetRemovalEnergy().
void GHepParticle::SetEnergy | ( | double | E | ) |
Definition at line 287 of file GHepParticle.cxx.
References Px(), Py(), Pz(), and SetMomentum().
Referenced by genie::NucDeExcitationSim::AddPhoton(), genie::NucBindEnergyAggregator::ProcessEventRecord(), and SetLastDaughter().
Definition at line 135 of file GHepParticle.h.
References d, and fFirstDaughter.
Referenced by genie::GHepRecord::CompactifyDaughterLists(), Copy(), genie::GHepRecord::RemoveIntermediateParticles(), and genie::GHepRecord::UpdateDaughterLists().
Definition at line 133 of file GHepParticle.h.
References fFirstMother, and 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().
Definition at line 136 of file GHepParticle.h.
References AssertIsKnownParticle(), CleanUp(), Clear(), Copy(), d, fLastDaughter, Init(), operator<<, operator=(), operator==(), MECModelEnuComparisons::opt, make_associated_cosmic_defs::p4, Print(), Reset(), SetBound(), SetEnergy(), SetMomentum(), SetPolarization(), SetPosition(), SetPx(), SetPy(), SetPz(), SetRemovalEnergy(), runNovaSAM::stream, and chisquared::theta.
Referenced by genie::GHepRecord::CompactifyDaughterLists(), Copy(), genie::GHepRecord::RemoveIntermediateParticles(), and genie::GHepRecord::UpdateDaughterLists().
Definition at line 134 of file GHepParticle.h.
References fLastMother, and 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 254 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::MECGenerator::GenerateFermiMomentum(), genie::NNBarOscPrimaryVtxGenerator::GenerateFermiMomentum(), genie::MECGenerator::GenerateNSVInitialHadrons(), genie::HAIntranuke::Inelastic(), genie::HAIntranuke2018::Inelastic(), genie::HAIntranuke::InelasticHA(), genie::HAIntranuke2018::InelasticHA(), genie::FermiMover::KickHitNucleon(), genie::utils::intranuke::PreEquilibrium(), genie::QELEventGenerator::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), SetEnergy(), SetLastDaughter(), 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 | ||
) |
Definition at line 248 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(), PolzAzimuthAngle(), genie::INukeDeltaPropg::ProcessEventRecord(), genie::utils::intranuke::TwoBodyCollision(), and genie::utils::intranuke2018::TwoBodyCollision().
void GHepParticle::SetPolarization | ( | double | theta, |
double | phi | ||
) |
Definition at line 346 of file GHepParticle.cxx.
References fPolzPhi, fPolzTheta, kPi, LOG, pERROR, and chisquared::theta.
Referenced by SetLastDaughter(), genie::PrimaryLeptonGenerator::SetPolarization(), genie::OutgoingDarkGenerator::SetPolarization(), and SetPolarization().
void GHepParticle::SetPolarization | ( | const TVector3 & | polz | ) |
Definition at line 362 of file GHepParticle.cxx.
References kPi, LOG, pERROR, SetPolarization(), and chisquared::theta.
void GHepParticle::SetPosition | ( | const TLorentzVector & | v4 | ) |
Definition at line 270 of file GHepParticle.cxx.
Referenced by Copy(), genie::NucleonDecayPrimaryVtxGenerator::GenerateDecayedNucleonPosition(), genie::NNBarOscPrimaryVtxGenerator::GenerateOscillatingNeutronPosition(), genie::Intranuke::GenerateVertex(), genie::Intranuke2018::GenerateVertex(), genie::VertexGenerator::ProcessEventRecord(), SetLastDaughter(), 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 275 of file GHepParticle.cxx.
References fX4, LOG, and pDEBUG.
void GHepParticle::SetPx | ( | double | px | ) |
Definition at line 292 of file GHepParticle.cxx.
References E(), Py(), Pz(), and SetMomentum().
Referenced by genie::NucDeExcitationSim::AddPhoton(), genie::NucBindEnergyAggregator::ProcessEventRecord(), and SetLastDaughter().
void GHepParticle::SetPy | ( | double | py | ) |
Definition at line 297 of file GHepParticle.cxx.
References E(), Px(), Pz(), and SetMomentum().
Referenced by genie::NucDeExcitationSim::AddPhoton(), genie::NucBindEnergyAggregator::ProcessEventRecord(), and SetLastDaughter().
void GHepParticle::SetPz | ( | double | pz | ) |
Definition at line 302 of file GHepParticle.cxx.
References E(), Px(), Py(), and SetMomentum().
Referenced by genie::NucDeExcitationSim::AddPhoton(), genie::NucBindEnergyAggregator::ProcessEventRecord(), and SetLastDaughter().
void GHepParticle::SetRemovalEnergy | ( | double | Erm | ) |
Definition at line 398 of file GHepParticle.cxx.
References fRemovalEnergy, and SetBound().
Referenced by genie::QELHadronicSystemGenerator::AddRecoilBaryon(), genie::IBDHadronicSystemGenerator::AddRecoilBaryon(), genie::FermiMover::KickHitNucleon(), genie::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), genie::QELEventGenerator::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), and SetLastDaughter().
Definition at line 130 of file GHepParticle.h.
References fRescatterCode.
Referenced by Copy().
|
inline |
Definition at line 127 of file GHepParticle.h.
References fStatus.
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 65 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(), evgen::GENIENeutronOscGen::fillMCTruth(), FindhAFate(), genie::GHepRecord::FindParticle(), genie::GHepRecord::FirstNonInitStateEntry(), GenerateEvent(), genie::GHepRecord::GetStableDescendants(), genie::GHepRecord::HitElectronPosition(), genie::GHepRecord::HitNucleonPosition(), main(), supernova::SnovaGen::MakeMCTruth(), 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(), and genie::HadronTransporter::TransportInTransparentNuc().
|
inline |
Get production time.
Definition at line 98 of file GHepParticle.h.
References fX4.
Referenced by ConvertToGXML(), evgen::GENIENeutronOscGen::fillMCTruth(), GenerateEvent(), supernova::SnovaGen::MakeMCTruth(), operator<<(), and genie::GHepRecord::Print().
|
inline |
Get production x.
Definition at line 95 of file GHepParticle.h.
References fX4.
Referenced by ConvertToGINuke(), ConvertToGXML(), genie::FermiMover::Emit2ndNucleonFromSRC(), evgen::GENIENeutronOscGen::fillMCTruth(), GenerateEvent(), supernova::SnovaGen::MakeMCTruth(), operator<<(), and genie::GHepRecord::Print().
|
inline |
Get production y.
Definition at line 96 of file GHepParticle.h.
References fX4.
Referenced by ConvertToGINuke(), ConvertToGXML(), genie::FermiMover::Emit2ndNucleonFromSRC(), evgen::GENIENeutronOscGen::fillMCTruth(), GenerateEvent(), supernova::SnovaGen::MakeMCTruth(), operator<<(), and genie::GHepRecord::Print().
|
inline |
Get production z.
Definition at line 97 of file GHepParticle.h.
References fX4.
Referenced by ConvertToGINuke(), ConvertToGXML(), genie::FermiMover::Emit2ndNucleonFromSRC(), evgen::GENIENeutronOscGen::fillMCTruth(), GenerateEvent(), supernova::SnovaGen::MakeMCTruth(), operator<<(), and genie::GHepRecord::Print().
|
inline |
Definition at line 80 of file GHepParticle.h.
References fX4.
Referenced by genie::NuETargetRemnantGenerator::AddElectronNeutrino(), genie::MECGenerator::AddFinalStateLepton(), genie::AMNuGammaGenerator::AddFinalStateNeutrino(), genie::DISHadronicSystemGenerator::AddFragmentationProducts(), genie::AMNuGammaGenerator::AddPhoton(), genie::QELHadronicSystemGenerator::AddRecoilBaryon(), genie::IBDHadronicSystemGenerator::AddRecoilBaryon(), genie::AMNuGammaGenerator::AddRecoilNucleon(), 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::Intranuke::GenerateStep(), genie::HAIntranuke::Inelastic(), genie::HAIntranuke2018::Inelastic(), genie::Intranuke::IsInNucleus(), genie::Intranuke2018::IsInNucleus(), genie::FermiMover::KickHitNucleon(), genie::DFRHadronicSystemGenerator::ProcessEventRecord(), genie::INukeDeltaPropg::ProcessEventRecord(), genie::GLRESGenerator::ProcessEventRecord(), genie::QELKinematicsGenerator::ProcessEventRecord(), genie::DMELKinematicsGenerator::ProcessEventRecord(), genie::QELEventGenerator::ProcessEventRecord(), genie::PauliBlocker::ProcessEventRecord(), genie::MECGenerator::RecoilNucleonCluster(), genie::MECGenerator::SelectNSVLeptonKinematics(), genie::DISHadronicSystemGenerator::SimulateFormationZone(), genie::QELKinematicsGenerator::SpectralFuncExperimentalCode(), genie::DMELKinematicsGenerator::SpectralFuncExperimentalCode(), genie::utils::intranuke::StepParticle(), genie::utils::intranuke2018::StepParticle(), genie::Intranuke::TransportHadrons(), and genie::Intranuke2018::TransportHadrons().
|
inline |
Definition at line 82 of file GHepParticle.h.
References fX4, GetP4(), and GetX4().
Definition at line 192 of file GHepParticle.cxx.
References fPdgCode, genie::pdg::IonPdgCodeToZ(), and genie::pdg::IsIon().
Referenced by genie::HadronicSystemGenerator::AddTargetNucleusRemnant(), genie::FermiMover::AddTargetNucleusRemnant(), genie::QELEventGenerator::AddTargetNucleusRemnant(), genie::QELEventGeneratorSM::AddTargetNucleusRemnant(), genie::AMNuGammaGenerator::AddTargetRemnant(), genie::MECGenerator::AddTargetRemnant(), genie::PrimaryLeptonGenerator::AddToEventRecord(), genie::OutgoingDarkGenerator::AddToEventRecord(), CheckForNumFinStateNucleonsInconsistentWithTarget(), CheckVertexDistribution(), ConvertToGHad(), genie::FermiMover::KickHitNucleon(), genie::NucDeExcitationSim::ProcessEventRecord(), genie::QELEventGenerator::ProcessEventRecord(), RemovalEnergy(), genie::Intranuke::TransportHadrons(), and genie::Intranuke2018::TransportHadrons().
|
friend |
Referenced by SetLastDaughter().
|
private |
first daughter idx
Definition at line 180 of file GHepParticle.h.
Referenced by CompareFamily(), FirstDaughter(), HasDaughters(), Init(), and SetFirstDaughter().
|
private |
first mother idx
Definition at line 178 of file GHepParticle.h.
Referenced by CompareFamily(), FirstMother(), Init(), and SetFirstMother().
|
private |
'is it a bound particle?' flag
Definition at line 187 of file GHepParticle.h.
Referenced by Copy(), GHepParticle(), Init(), IsBound(), and SetBound().
|
private |
last daughter idx
Definition at line 181 of file GHepParticle.h.
Referenced by CompareFamily(), Init(), LastDaughter(), and SetLastDaughter().
|
private |
last mother idx
Definition at line 179 of file GHepParticle.h.
Referenced by CompareFamily(), Init(), LastMother(), and SetLastMother().
|
private |
momentum 4-vector (GeV)
Definition at line 182 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 175 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 185 of file GHepParticle.h.
Referenced by Copy(), GetPolarization(), GHepParticle(), Init(), PolzAzimuthAngle(), PolzIsSet(), and SetPolarization().
|
private |
polar polarization angle (rad)
Definition at line 184 of file GHepParticle.h.
Referenced by Copy(), GetPolarization(), GHepParticle(), Init(), PolzIsSet(), PolzPolarAngle(), and SetPolarization().
|
private |
removal energy for bound nucleons (GeV)
Definition at line 186 of file GHepParticle.h.
Referenced by Copy(), GHepParticle(), Init(), RemovalEnergy(), SetBound(), and SetRemovalEnergy().
|
private |
rescattering code
Definition at line 177 of file GHepParticle.h.
Referenced by GHepParticle(), Init(), RescatterCode(), and SetRescatterCode().
|
private |
particle status
Definition at line 176 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=0)
Definition at line 183 of file GHepParticle.h.
Referenced by CleanUp(), GetX4(), GHepParticle(), Init(), SetPosition(), Vt(), Vx(), Vy(), Vz(), and X4().