LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "MCParticle.h"
Public Member Functions | |
MCParticle () | |
Don't write this as ROOT output. More... | |
MCParticle (const int trackId, const int pdg, const std::string process, const int mother=-1, const double mass=s_uninitialized, const int status=1) | |
Standard constructor. More... | |
MCParticle (MCParticle const &)=default | |
MCParticle & | operator= (const MCParticle &)=default |
MCParticle (MCParticle &&)=default | |
MCParticle & | operator= (MCParticle &&)=default |
MCParticle (MCParticle const &, int) | |
int | TrackId () const |
int | StatusCode () const |
int | PdgCode () const |
int | Mother () const |
const TVector3 & | Polarization () const |
void | SetPolarization (const TVector3 &p) |
std::string | Process () const |
std::string | EndProcess () const |
void | SetEndProcess (std::string s) |
void | AddDaughter (const int trackID) |
int | NumberDaughters () const |
int | Daughter (const int i) const |
unsigned int | NumberTrajectoryPoints () const |
const TLorentzVector & | Position (const int i=0) const |
double | Vx (const int i=0) const |
double | Vy (const int i=0) const |
double | Vz (const int i=0) const |
double | T (const int i=0) const |
const TLorentzVector & | EndPosition () const |
double | EndX () const |
double | EndY () const |
double | EndZ () const |
double | EndT () const |
const TLorentzVector & | Momentum (const int i=0) const |
double | Px (const int i=0) const |
double | Py (const int i=0) const |
double | Pz (const int i=0) const |
double | E (const int i=0) const |
double | P (const int i=0) const |
double | Pt (const int i=0) const |
double | Mass () const |
const TLorentzVector & | EndMomentum () const |
double | EndPx () const |
double | EndPy () const |
double | EndPz () const |
double | EndE () const |
void | SetGvtx (double *v) |
void | SetGvtx (float *v) |
void | SetGvtx (TLorentzVector v) |
void | SetGvtx (double x, double y, double z, double t) |
TLorentzVector | GetGvtx () const |
double | Gvx () const |
double | Gvy () const |
double | Gvz () const |
double | Gvt () const |
int | FirstDaughter () const |
int | LastDaughter () const |
void | SetRescatter (int code) |
int | Rescatter () const |
const simb::MCTrajectory & | Trajectory () const |
void | AddTrajectoryPoint (TLorentzVector const &position, TLorentzVector const &momentum) |
void | AddTrajectoryPoint (TLorentzVector const &position, TLorentzVector const &momentum, std::string const &process) |
double | Weight () const |
void | SetWeight (double wt) |
void | SparsifyTrajectory () |
bool | operator< (const simb::MCParticle &other) const |
Static Public Attributes | |
static const int | s_uninitialized = std::numeric_limits<int>::min() |
Protected Types | |
typedef std::set< int > | daughters_type |
Protected Attributes | |
int | fstatus |
Status code from generator, geant, etc. More... | |
int | ftrackId |
TrackId. More... | |
int | fpdgCode |
PDG code. More... | |
int | fmother |
Mother. More... | |
std::string | fprocess |
Detector-simulation physics process that created the particle. More... | |
std::string | fendprocess |
end process for the particle More... | |
simb::MCTrajectory | ftrajectory |
particle trajectory (position,momentum) More... | |
double | fmass |
Mass; from PDG unless overridden Should be in GeV. More... | |
TVector3 | fpolarization |
Polarization. More... | |
daughters_type | fdaughters |
Sorted list of daughters of this particle. More... | |
double | fWeight |
Assigned weight to this particle for MC tests. More... | |
TLorentzVector | fGvtx |
int | frescatter |
rescatter code More... | |
Friends | |
std::ostream & | operator<< (std::ostream &output, const simb::MCParticle &) |
Definition at line 24 of file MCParticle.h.
|
protected |
Definition at line 33 of file MCParticle.h.
simb::MCParticle::MCParticle | ( | ) |
Don't write this as ROOT output.
Definition at line 32 of file MCParticle.cxx.
simb::MCParticle::MCParticle | ( | const int | trackId, |
const int | pdg, | ||
const std::string | process, | ||
const int | mother = -1 , |
||
const double | mass = s_uninitialized , |
||
const int | status = 1 |
||
) |
Standard constructor.
Definition at line 50 of file MCParticle.cxx.
References fmass, and SetGvtx().
|
default |
|
default |
simb::MCParticle::MCParticle | ( | MCParticle const & | p, |
int | offset | ||
) |
Definition at line 86 of file MCParticle.cxx.
References Daughter(), fdaughters, and NumberDaughters().
|
inline |
Definition at line 269 of file MCParticle.h.
References fdaughters.
Referenced by larg4::UpdateDaughterInformation::operator()().
|
inline |
Definition at line 261 of file MCParticle.h.
References simb::MCTrajectory::Add(), and ftrajectory.
Referenced by evgen::MARLEYHelper::add_marley_particles(), larg4::ParticleListAction::AddPointToCurrentParticle(), evgen::CORSIKAGen::GetSample(), evgen::NueAr40CCGenerator::ProcessOneNeutrino(), evgen::NUANCEGen::produce(), evgen::NDKGen::produce(), evgen::TextFileGen::produce(), evgen::FileMuons::ReadEvents(), evgb::CRYHelper::Sample(), evgen::LightSource::Sample(), evgen::SingleGen::SampleMany(), evgen::GaisserParam::SampleOne(), evgen::RadioGen::SampleOne(), evgen::MUSUN::SampleOne(), and evgen::SingleGen::SampleOne().
|
inline |
Definition at line 264 of file MCParticle.h.
References simb::MCTrajectory::Add(), and ftrajectory.
int simb::MCParticle::Daughter | ( | const int | i | ) | const |
Definition at line 112 of file MCParticle.cxx.
References fdaughters.
Referenced by cheat::RecoCheckAna::CheckRecoEvents(), cheat::RecoCheckAna::CheckRecoVertices(), ClusteringValidation::ClusterAnalyser::FindPhotonAngle(), ems::MCinfo::Info(), nnet::TrainingDataAlg::isElectronEnd(), nnet::TrainingDataAlg::isMuonDecaying(), MCParticle(), and rwgt::NuReweight::RetrieveGHEP().
|
inline |
Definition at line 237 of file MCParticle.h.
References Momentum().
Referenced by lar::example::TotallyCheatTracker::acceptParticle(), opdet::OpFlashMCTruthAna::analyze(), lar_pandora::PFParticleMonitoring::analyze(), rwgt::ReweightAna::analyze(), cluster::ClusterAna::analyze(), pfpf::PFPAna::analyze(), hit::HitFinderAna::analyze(), trkf::TrackAna::analyze(), trkf::TrackAna::anaStitch(), lar_pandora::LArPandoraInput::CreatePandoraMCParticles(), sim::ParticleList::Cut(), evgen::NUANCEGen::FillHistograms(), evgen::NDKGen::FillHistograms(), evgen::GENIEGen::FillHistograms(), simfilter::FilterGenInTime::filter(), opreco::OpticalRecoAna::get_MC_particle_list(), lar_pandora::PFParticleValidation::GetSimpleMCPrimaryList(), simfilter::FilterGenInTime::KeepParticle(), tca::TruthMatcher::MatchTrueHits(), evd::SimulationDrawer::MCTruthLongText(), evd::SimulationDrawer::MCTruthOrtho(), simb::operator<<(), P(), evdb::ScanFrame::Record(), rwgt::NuReweight::RetrieveGHEP(), evgb::RetrieveGHEP(), evgb::GENIEHelper::Sample(), and tca::TruthMatcher::StudyPiZeros().
|
inline |
Definition at line 248 of file MCParticle.h.
References ftrajectory, Momentum(), simb::MCTrajectory::size(), and T().
|
inline |
Definition at line 244 of file MCParticle.h.
References ftrajectory, Momentum(), and simb::MCTrajectory::size().
Referenced by sim::dump::DumpMCParticle(), and DUNE::NeutrinoShowerEff::processEff().
|
inline |
Definition at line 229 of file MCParticle.h.
References ftrajectory, Position(), and simb::MCTrajectory::size().
Referenced by sim::dump::DumpMCParticle(), DUNE::NeutrinoShowerEff::processEff(), and evgb::RetrieveGHEP().
|
inline |
Definition at line 220 of file MCParticle.h.
References fendprocess.
Referenced by sim::dump::DumpMCParticle(), ems::MCinfo::Info(), and nnet::TrainingDataAlg::isMuonDecaying().
|
inline |
Definition at line 245 of file MCParticle.h.
References ftrajectory, Momentum(), simb::MCTrajectory::size(), and X.
|
inline |
Definition at line 246 of file MCParticle.h.
References ftrajectory, Momentum(), simb::MCTrajectory::size(), and Y.
|
inline |
Definition at line 247 of file MCParticle.h.
References ftrajectory, Momentum(), simb::MCTrajectory::size(), and Z.
|
inline |
Definition at line 233 of file MCParticle.h.
References ftrajectory, Position(), simb::MCTrajectory::size(), and T().
|
inline |
Definition at line 230 of file MCParticle.h.
References ftrajectory, Position(), simb::MCTrajectory::size(), and X.
Referenced by opdet::OpFlashMCTruthAna::analyze(), nnet::TrainingDataAlg::particleRange2(), and DUNE::NeutrinoShowerEff::processEff().
|
inline |
Definition at line 231 of file MCParticle.h.
References ftrajectory, Position(), simb::MCTrajectory::size(), and Y.
Referenced by opdet::OpFlashMCTruthAna::analyze(), nnet::TrainingDataAlg::particleRange2(), and DUNE::NeutrinoShowerEff::processEff().
|
inline |
Definition at line 232 of file MCParticle.h.
References ftrajectory, Position(), simb::MCTrajectory::size(), and Z.
Referenced by opdet::OpFlashMCTruthAna::analyze(), nnet::TrainingDataAlg::particleRange2(), and DUNE::NeutrinoShowerEff::processEff().
|
inline |
Definition at line 254 of file MCParticle.h.
References fdaughters.
Referenced by sim::dump::DumpMCParticle().
|
inline |
Definition at line 249 of file MCParticle.h.
References fGvtx.
Referenced by sim::dump::DumpMCParticle().
|
inline |
Definition at line 253 of file MCParticle.h.
References fGvtx.
Referenced by rwgt::NuReweight::RetrieveGHEP(), and evgb::RetrieveGHEP().
|
inline |
Definition at line 250 of file MCParticle.h.
References fGvtx.
Referenced by rwgt::NuReweight::RetrieveGHEP(), and evgb::RetrieveGHEP().
|
inline |
Definition at line 251 of file MCParticle.h.
References fGvtx.
Referenced by rwgt::NuReweight::RetrieveGHEP(), and evgb::RetrieveGHEP().
|
inline |
Definition at line 252 of file MCParticle.h.
References fGvtx.
Referenced by rwgt::NuReweight::RetrieveGHEP(), and evgb::RetrieveGHEP().
|
inline |
Definition at line 255 of file MCParticle.h.
References fdaughters.
Referenced by sim::dump::DumpMCParticle().
|
inline |
Definition at line 243 of file MCParticle.h.
References fmass.
Referenced by cluster::ClusterAna::analyze(), pfpf::PFPAna::analyze(), trkf::TrackAna::analyze(), trkf::TrackAna::anaStitch(), sim::dump::DumpMCParticle(), simfilter::FilterGenInTime::filter(), opreco::OpticalRecoAna::get_MC_particle_list(), simfilter::FilterGenInTime::KeepParticle(), tca::TruthMatcher::MatchTrueHits(), evd::SimulationDrawer::MCTruthLongText(), and simb::operator<<().
|
inline |
Definition at line 224 of file MCParticle.h.
References ftrajectory, and simb::MCTrajectory::Momentum().
Referenced by sim::dump::DumpMCParticle(), E(), EndE(), EndMomentum(), EndPx(), EndPy(), EndPz(), g4b::ConvertMCTruthToG4::GeneratePrimaries(), simfilter::FilterGenInTime::KeepParticle(), filt::LArG4ParticleFilter::MaxMomentumCheck(), filt::LArG4ParticleFilter::MinMomentumCheck(), P(), DUNE::NeutrinoShowerEff::processEff(), DUNE::NeutrinoTrackingEff::processEff(), DUNE::MuonTrackingEff::processEff(), wc::CellTree::processMC(), evgen::CosmicsGen::produce(), evgen::CORSIKAGen::produce(), trkf::TrackKalmanCheater::produce(), Pt(), Px(), Py(), and Pz().
|
inline |
Definition at line 217 of file MCParticle.h.
References fmother.
Referenced by cluster::ClusterAna::analyze(), pfpf::PFPAna::analyze(), lar_pandora::LArPandoraInput::CreatePandoraMCParticles(), sim::dump::DumpMCParticle(), lar_pandora::LArPandoraHelper::GetFinalStateMCParticle(), lar_pandora::LArPandoraHelper::GetParentMCParticle(), tca::TruthMatcher::MatchTrueHits(), evd::SimulationDrawer::MCTruth3D(), evd::SimulationDrawer::MCTruthLongText(), simb::operator<<(), sim::ParticleHistory::ParticleHistory(), DUNE::NeutrinoShowerEff::processEff(), DUNE::NeutrinoTrackingEff::processEff(), DUNE::MuonTrackingEff::processEff(), larg4::LArG4::produce(), rwgt::NuReweight::RetrieveGHEP(), and evgb::RetrieveGHEP().
|
inline |
Definition at line 221 of file MCParticle.h.
References fdaughters.
Referenced by cheat::RecoCheckAna::CheckRecoEvents(), cheat::RecoCheckAna::CheckRecoVertices(), sim::dump::DumpMCParticle(), ClusteringValidation::ClusterAnalyser::FindPhotonAngle(), ems::MCinfo::Info(), nnet::TrainingDataAlg::isElectronEnd(), nnet::TrainingDataAlg::isMuonDecaying(), MCParticle(), and rwgt::NuReweight::RetrieveGHEP().
|
inline |
Definition at line 222 of file MCParticle.h.
References ftrajectory, and simb::MCTrajectory::size().
Referenced by lar::example::TotallyCheatTracker::acceptParticle(), sim::dump::DumpMCParticle(), sim::DumpMCParticles::DumpMCParticle(), sim::dump::DumpMCTruth(), lar_pandora::PFParticleMonitoring::GetStartAndEndPoints(), lar_pandora::LArPandoraInput::GetTrueStartAndEndPoints(), simb::operator<<(), trkf::TrackCheater::produce(), evgb::RetrieveGHEP(), cosmic::BeamFlashTrackMatchTaggerAlg::RunHypothesisComparison(), larg4::ParticleListAction::SteppingAction(), filt::LArG4ParticleFilter::StopInTPCCheck(), filt::LArG4ParticleFilter::TPCTrajLengthCheck(), DUNE::NeutrinoTrackingEff::truthLength(), DUNE::MuonTrackingEff::truthLength(), and opreco::OpticalRecoAna::update_MC_particle_time().
|
inline |
|
default |
|
default |
|
inline |
Definition at line 238 of file MCParticle.h.
References E(), fmass, and Momentum().
Referenced by lar_pandora::PFParticleMonitoring::analyze(), evgen::NUANCEGen::FillHistograms(), evgen::NDKGen::FillHistograms(), evgen::GENIEGen::FillHistograms(), cheat::RecoCheckAna::FillResults(), ems::MCinfo::Info(), ems::MergeEMShower3D::mcinfo(), evd::SimulationDrawer::MCTruthLongText(), evd::SimulationDrawer::MCTruthShortText(), evd::SimulationDrawer::MCTruthVectors2D(), DUNE::NeutrinoShowerEff::processEff(), trkf::TrackCheater::produce(), and cluster::ClusterCheater::produce().
|
inline |
Definition at line 216 of file MCParticle.h.
References fpdgCode.
Referenced by opdet::OpFlashMCTruthAna::analyze(), lar_pandora::PFParticleMonitoring::analyze(), cluster::ClusterAna::analyze(), pfpf::PFPAna::analyze(), cluster::DBclusterAna::analyze(), hit::HitFinderAna::analyze(), lar::example::AnalysisExample::analyze(), trkf::TrackAna::anaStitch(), DUNE::NeutrinoShowerEff::checkCNNtrkshw(), lar_pandora::LArPandoraInput::CreatePandoraMCParticles(), sim::dump::DumpMCParticle(), evgen::NUANCEGen::FillHistograms(), evgen::NDKGen::FillHistograms(), evgen::GENIEGen::FillHistograms(), cheat::RecoCheckAna::FillResults(), simfilter::FilterGenInTime::filter(), g4b::ConvertMCTruthToG4::GeneratePrimaries(), opreco::OpticalRecoAna::get_MC_particle_list(), lar_pandora::PFParticleValidation::GetSimpleMCPrimaryList(), ems::MCinfo::Info(), nnet::TrainingDataAlg::isElectronEnd(), nnet::TrainingDataAlg::isMuonDecaying(), lar_pandora::LArPandoraHelper::IsVisible(), lar::example::TotallyCheatTrackingAlg::makeTrack(), tca::TruthMatcher::MatchTrueHits(), evd::SimulationDrawer::MCTruth3D(), evd::SimulationDrawer::MCTruthLongText(), evd::SimulationDrawer::MCTruthOrtho(), evd::SimulationDrawer::MCTruthShortText(), evd::SimulationDrawer::MCTruthVectors2D(), simb::operator<<(), filt::LArG4ParticleFilter::PDGCheck(), DUNE::NeutrinoShowerEff::processEff(), DUNE::NeutrinoTrackingEff::processEff(), DUNE::MuonTrackingEff::processEff(), wc::CellTree::processMC(), trkf::TrackCheater::produce(), evgen::CosmicsGen::produce(), trkf::TrackKalmanCheater::produce(), evdb::ScanFrame::Record(), rwgt::NuReweight::RetrieveGHEP(), evgb::RetrieveGHEP(), simb::MCTruth::SetNeutrino(), and tca::TruthMatcher::StudyPiZeros().
|
inline |
Definition at line 218 of file MCParticle.h.
References fpolarization.
Referenced by sim::dump::DumpMCParticle(), g4b::ConvertMCTruthToG4::GeneratePrimaries(), rwgt::NuReweight::RetrieveGHEP(), and evgb::RetrieveGHEP().
|
inline |
Definition at line 223 of file MCParticle.h.
References ftrajectory, and simb::MCTrajectory::Position().
Referenced by lar::example::AnalysisExample::analyze(), sim::dump::DumpMCParticle(), EndPosition(), EndT(), EndX(), EndY(), EndZ(), cosmic::BeamFlashTrackMatchTaggerAlg::GetMIPHypotheses(), ems::MCinfo::Info(), simfilter::FilterGenInTime::KeepParticle(), DUNE::NeutrinoShowerEff::processEff(), DUNE::NeutrinoTrackingEff::processEff(), DUNE::MuonTrackingEff::processEff(), wc::CellTree::processMC(), evgen::CosmicsGen::produce(), evgen::CORSIKAGen::produce(), trkf::TrackKalmanCheater::produce(), evgb::RetrieveGHEP(), cosmic::BeamFlashTrackMatchTaggerAlg::RunHypothesisComparison(), filt::LArG4ParticleFilter::StartInTPCCheck(), filt::LArG4ParticleFilter::StopInTPCCheck(), T(), filt::LArG4ParticleFilter::TPCTrajLengthCheck(), DUNE::NeutrinoTrackingEff::truthLength(), DUNE::MuonTrackingEff::truthLength(), Vx(), Vy(), and Vz().
|
inline |
Definition at line 219 of file MCParticle.h.
References fprocess.
Referenced by lar_pandora::PFParticleMonitoring::analyze(), cluster::ClusterAna::analyze(), pfpf::PFPAna::analyze(), lar::example::AnalysisExample::analyze(), sim::dump::DumpMCParticle(), ems::MCinfo::Info(), sim::ParticleList::insert(), tca::TruthMatcher::MatchTrueHits(), evd::SimulationDrawer::MCTruthLongText(), simb::operator<<(), DUNE::NeutrinoTrackingEff::processEff(), and cosmic::BeamFlashTrackMatchTaggerAlg::RunHypothesisComparison().
|
inline |
Definition at line 240 of file MCParticle.h.
References Momentum(), Px(), and Py().
Referenced by simb::MCNeutrino::Pt().
|
inline |
Definition at line 234 of file MCParticle.h.
References Momentum().
Referenced by lar_pandora::PFParticleMonitoring::analyze(), lar_pandora::LArPandoraInput::CreatePandoraMCParticles(), evgen::NUANCEGen::FillHistograms(), evgen::NDKGen::FillHistograms(), evgen::GENIEGen::FillHistograms(), lar_pandora::LArPandoraInput::IsPrimaryMCParticle(), tca::MCParticleListUtils::MakeTruTrajPoint(), tca::TruthMatcher::MatchTrueHits(), evd::SimulationDrawer::MCTruth3D(), evd::SimulationDrawer::MCTruthVectors2D(), simb::operator<<(), DUNE::NeutrinoShowerEff::processEff(), Pt(), rwgt::NuReweight::RetrieveGHEP(), evgb::RetrieveGHEP(), tca::TruthMatcher::StudyPiZeros(), and simb::MCNeutrino::Theta().
|
inline |
Definition at line 235 of file MCParticle.h.
References Momentum().
Referenced by lar_pandora::PFParticleMonitoring::analyze(), lar_pandora::LArPandoraInput::CreatePandoraMCParticles(), evgen::NUANCEGen::FillHistograms(), evgen::NDKGen::FillHistograms(), evgen::GENIEGen::FillHistograms(), lar_pandora::LArPandoraInput::IsPrimaryMCParticle(), tca::MCParticleListUtils::MakeTruTrajPoint(), tca::TruthMatcher::MatchTrueHits(), evd::SimulationDrawer::MCTruth3D(), evd::SimulationDrawer::MCTruthVectors2D(), simb::operator<<(), DUNE::NeutrinoShowerEff::processEff(), cluster::ClusterCheater::produce(), Pt(), rwgt::NuReweight::RetrieveGHEP(), evgb::RetrieveGHEP(), tca::TruthMatcher::StudyPiZeros(), and simb::MCNeutrino::Theta().
|
inline |
Definition at line 236 of file MCParticle.h.
References Momentum().
Referenced by lar_pandora::PFParticleMonitoring::analyze(), lar_pandora::LArPandoraInput::CreatePandoraMCParticles(), evgen::NUANCEGen::FillHistograms(), evgen::NDKGen::FillHistograms(), evgen::GENIEGen::FillHistograms(), lar_pandora::LArPandoraInput::IsPrimaryMCParticle(), tca::MCParticleListUtils::MakeTruTrajPoint(), tca::TruthMatcher::MatchTrueHits(), evd::SimulationDrawer::MCTruth3D(), evd::SimulationDrawer::MCTruthVectors2D(), simb::operator<<(), DUNE::NeutrinoShowerEff::processEff(), cluster::ClusterCheater::produce(), rwgt::NuReweight::RetrieveGHEP(), evgb::RetrieveGHEP(), tca::TruthMatcher::StudyPiZeros(), and simb::MCNeutrino::Theta().
|
inline |
Definition at line 256 of file MCParticle.h.
References frescatter.
Referenced by sim::dump::DumpMCParticle(), rwgt::NuReweight::RetrieveGHEP(), and evgb::RetrieveGHEP().
void simb::MCParticle::SetEndProcess | ( | std::string | s | ) |
Definition at line 105 of file MCParticle.cxx.
References fendprocess, and s.
Referenced by larg4::ParticleListAction::PostTrackingAction().
void simb::MCParticle::SetGvtx | ( | double * | v | ) |
void simb::MCParticle::SetGvtx | ( | float * | v | ) |
void simb::MCParticle::SetGvtx | ( | TLorentzVector | v | ) |
Definition at line 136 of file MCParticle.cxx.
References fGvtx.
void simb::MCParticle::SetGvtx | ( | double | x, |
double | y, | ||
double | z, | ||
double | t | ||
) |
|
inline |
Definition at line 270 of file MCParticle.h.
References fpolarization.
Referenced by larg4::ParticleListAction::PreTrackingAction().
|
inline |
|
inline |
Definition at line 272 of file MCParticle.h.
References fWeight.
Referenced by larg4::ParticleListAction::PostTrackingAction().
|
inline |
Definition at line 268 of file MCParticle.h.
References ftrajectory, and simb::MCTrajectory::Sparsify().
Referenced by larg4::LArG4::produce().
|
inline |
Definition at line 215 of file MCParticle.h.
References fstatus.
Referenced by sim::dump::DumpMCParticle(), g4b::ConvertMCTruthToG4::GeneratePrimaries(), evd::SimulationDrawer::MCTruth3D(), evd::SimulationDrawer::MCTruthLongText(), evd::SimulationDrawer::MCTruthShortText(), evd::SimulationDrawer::MCTruthVectors2D(), simb::operator<<(), trkf::TrackKalmanCheater::produce(), rwgt::NuReweight::RetrieveGHEP(), and evgb::RetrieveGHEP().
|
inline |
Definition at line 228 of file MCParticle.h.
References Position().
Referenced by opdet::OpFlashMCTruthAna::analyze(), trkf::TrackAna::anaStitch(), EndE(), EndT(), g4b::ConvertMCTruthToG4::GeneratePrimaries(), lar_pandora::LArPandoraInput::GetTrueX0(), simfilter::FilterGenInTime::KeepParticle(), evd::SimulationDrawer::MCTruth3D(), evd::SimulationDrawer::MCTruthOrtho(), evd::SimulationDrawer::MCTruthVectors2D(), simb::operator<<(), t0::MCTruthT0Matching::produce(), DUNE::NeutrinoTrackingEff::truthLength(), and opreco::OpticalRecoAna::update_MC_particle_time().
|
inline |
Definition at line 214 of file MCParticle.h.
References ftrackId.
Referenced by ClusteringValidation::ClusterAnalyser::Analyse(), cluster::ClusterAna::analyze(), pfpf::PFPAna::analyze(), lar_pandora::LArPandoraHelper::BuildMCParticleHitMaps(), lar_pandora::LArPandoraHelper::BuildMCParticleMap(), lar_pandora::LArPandoraInput::CreatePandoraMCParticles(), sim::EveIdCalculator::DoCalculateEveId(), sim::dump::DumpMCParticle(), opreco::OpticalRecoAna::get_MC_particle_origin(), lar_pandora::LArPandoraHelper::GetFinalStateMCParticle(), lar_pandora::LArPandoraHelper::GetParentMCParticle(), tca::TruthMatcher::MatchTrueHits(), evd::SimulationDrawer::MCTruthLongText(), evd::SimulationDrawer::MCTruthOrtho(), simb::operator<<(), sim::ParticleHistory::ParticleHistory(), cheat::PhotonBackTracker::ParticleToMCTruth(), cheat::ParticleInventoryService::ParticleToMCTruth_P(), cheat::ParticleInventory::ParticleToMCTruth_P(), larg4::ParticleListAction::PostTrackingAction(), DUNE::NeutrinoShowerEff::processEff(), DUNE::NeutrinoTrackingEff::processEff(), DUNE::MuonTrackingEff::processEff(), trkf::TrackKalmanCheater::produce(), t0::MCTruthT0Matching::produce(), larg4::LArG4::produce(), rwgt::NuReweight::RetrieveGHEP(), simb::MCTruth::SetNeutrino(), and tca::TruthMatcher::StudyPiZeros().
|
inline |
Definition at line 257 of file MCParticle.h.
References ftrajectory.
Referenced by lar::example::TotallyCheatTracker::acceptParticle(), sim::dump::DumpMCParticle(), sim::DumpMCParticles::DumpMCParticle(), sim::dump::DumpMCTruth(), larg4::ParticleListAction::isDropped(), lar::example::TotallyCheatTrackingAlg::makeTrack(), evd::SimulationDrawer::MCTruthOrtho(), and cosmic::BeamFlashTrackMatchTaggerAlg::RunHypothesisComparison().
|
inline |
Definition at line 225 of file MCParticle.h.
References Position().
Referenced by opdet::OpFlashMCTruthAna::analyze(), lar_pandora::PFParticleMonitoring::analyze(), opdet::FlashPurityCheckAna::analyze(), pfpf::PFPAna::analyze(), cluster::ClusterAna::analyze(), vertex::FeatureVertexFinderAna::analyze(), lar_pandora::LArPandoraInput::CreatePandoraMCParticles(), evgen::NUANCEGen::FillHistograms(), evgen::NDKGen::FillHistograms(), evgen::GENIEGen::FillHistograms(), evgb::FillMCTruth(), DUNE::MuonTrackingEff::FuncDistanceAndAngleBetweenTruthAndRecoTrack(), g4b::ConvertMCTruthToG4::GeneratePrimaries(), lar_pandora::PFParticleMonitoring::GetLength(), lar_pandora::PFParticleMonitoring::GetStartAndEndPoints(), lar_pandora::LArPandoraInput::GetTrueStartAndEndPoints(), lar_pandora::LArPandoraInput::GetTrueX0(), tca::MCParticleListUtils::MakeTruTrajPoint(), tca::TruthMatcher::MatchTrueHits(), ems::MergeEMShower3D::mcinfo(), evd::SimulationDrawer::MCTruth3D(), evd::SimulationDrawer::MCTruthVectors2D(), simb::operator<<(), evgb::GENIEHelper::PackMCTruth(), nnet::TrainingDataAlg::particleRange2(), DUNE::NeutrinoShowerEff::processEff(), evdb::ScanFrame::Record(), DUNE::NeutrinoTrackingEff::truthLength(), DUNE::MuonTrackingEff::truthLength(), and opreco::OpticalRecoAna::update_MC_particle_time().
|
inline |
Definition at line 226 of file MCParticle.h.
References Position().
Referenced by opdet::OpFlashMCTruthAna::analyze(), lar_pandora::PFParticleMonitoring::analyze(), opdet::FlashPurityCheckAna::analyze(), pfpf::PFPAna::analyze(), cluster::ClusterAna::analyze(), lar_pandora::LArPandoraInput::CreatePandoraMCParticles(), evgen::NUANCEGen::FillHistograms(), evgen::NDKGen::FillHistograms(), evgen::GENIEGen::FillHistograms(), DUNE::MuonTrackingEff::FuncDistanceAndAngleBetweenTruthAndRecoTrack(), g4b::ConvertMCTruthToG4::GeneratePrimaries(), lar_pandora::PFParticleMonitoring::GetLength(), lar_pandora::PFParticleMonitoring::GetStartAndEndPoints(), lar_pandora::LArPandoraInput::GetTrueStartAndEndPoints(), lar_pandora::LArPandoraInput::GetTrueX0(), tca::MCParticleListUtils::MakeTruTrajPoint(), tca::TruthMatcher::MatchTrueHits(), ems::MergeEMShower3D::mcinfo(), evd::SimulationDrawer::MCTruth3D(), evd::SimulationDrawer::MCTruthVectors2D(), simb::operator<<(), nnet::TrainingDataAlg::particleRange2(), DUNE::NeutrinoShowerEff::processEff(), cluster::ClusterCheater::produce(), evdb::ScanFrame::Record(), DUNE::NeutrinoTrackingEff::truthLength(), DUNE::MuonTrackingEff::truthLength(), and opreco::OpticalRecoAna::update_MC_particle_time().
|
inline |
Definition at line 227 of file MCParticle.h.
References Position().
Referenced by opdet::OpFlashMCTruthAna::analyze(), lar_pandora::PFParticleMonitoring::analyze(), opdet::FlashPurityCheckAna::analyze(), pfpf::PFPAna::analyze(), cluster::ClusterAna::analyze(), lar_pandora::LArPandoraInput::CreatePandoraMCParticles(), evgen::NUANCEGen::FillHistograms(), evgen::NDKGen::FillHistograms(), evgen::GENIEGen::FillHistograms(), DUNE::MuonTrackingEff::FuncDistanceAndAngleBetweenTruthAndRecoTrack(), g4b::ConvertMCTruthToG4::GeneratePrimaries(), lar_pandora::PFParticleMonitoring::GetLength(), lar_pandora::PFParticleMonitoring::GetStartAndEndPoints(), lar_pandora::LArPandoraInput::GetTrueStartAndEndPoints(), lar_pandora::LArPandoraInput::GetTrueX0(), tca::MCParticleListUtils::MakeTruTrajPoint(), tca::TruthMatcher::MatchTrueHits(), ems::MergeEMShower3D::mcinfo(), evd::SimulationDrawer::MCTruth3D(), evd::SimulationDrawer::MCTruthVectors2D(), simb::operator<<(), nnet::TrainingDataAlg::particleRange2(), DUNE::NeutrinoShowerEff::processEff(), DUNE::MuonTrackingEff::processEff(), cluster::ClusterCheater::produce(), evdb::ScanFrame::Record(), DUNE::NeutrinoTrackingEff::truthLength(), DUNE::MuonTrackingEff::truthLength(), and opreco::OpticalRecoAna::update_MC_particle_time().
|
inline |
Definition at line 258 of file MCParticle.h.
References fWeight.
Referenced by sim::dump::DumpMCParticle().
|
friend |
Definition at line 151 of file MCParticle.cxx.
|
protected |
Sorted list of daughters of this particle.
Definition at line 44 of file MCParticle.h.
Referenced by AddDaughter(), Daughter(), FirstDaughter(), LastDaughter(), MCParticle(), and NumberDaughters().
|
protected |
end process for the particle
Definition at line 40 of file MCParticle.h.
Referenced by EndProcess(), and SetEndProcess().
|
protected |
|
protected |
Mass; from PDG unless overridden Should be in GeV.
Definition at line 42 of file MCParticle.h.
Referenced by Mass(), MCParticle(), and P().
|
protected |
|
protected |
|
protected |
Polarization.
Definition at line 43 of file MCParticle.h.
Referenced by Polarization(), and SetPolarization().
|
protected |
Detector-simulation physics process that created the particle.
Definition at line 39 of file MCParticle.h.
Referenced by Process().
|
protected |
rescatter code
Definition at line 48 of file MCParticle.h.
Referenced by Rescatter(), and SetRescatter().
|
protected |
Status code from generator, geant, etc.
Definition at line 35 of file MCParticle.h.
Referenced by StatusCode().
|
protected |
|
protected |
particle trajectory (position,momentum)
Definition at line 41 of file MCParticle.h.
Referenced by AddTrajectoryPoint(), EndE(), EndMomentum(), EndPosition(), EndPx(), EndPy(), EndPz(), EndT(), EndX(), EndY(), EndZ(), Momentum(), NumberTrajectoryPoints(), Position(), SparsifyTrajectory(), and Trajectory().
|
protected |
Assigned weight to this particle for MC tests.
Definition at line 45 of file MCParticle.h.
Referenced by SetWeight(), and Weight().
|
static |
How do we indicate an uninitialized variable? I don't want to use "0" for PDG, because that's potentially a valid value. Instead, let the compiler give us a value. The following template (from climits) evaluates the lower possible negative number that you can store in an int.
Definition at line 28 of file MCParticle.h.