MatcheInfo class. More...
#include <LArHierarchyHelper.h>
Public Member Functions | |
MatchInfo () | |
Default constructor. More... | |
MatchInfo (const QualityCuts &qualityCuts) | |
Constructor. More... | |
void | Match (const MCHierarchy &mcHierarchy, const RecoHierarchy &recoHierarchy) |
Match the nodes in the MC and reco hierarchies. More... | |
const MCMatchesVector & | GetMatches () const |
Retrieve the vector of matches (this will include null matches - i.e. MC nodes with no corresponding reco) More... | |
const RecoHierarchy::NodeVector & | GetUnmatchedReco () const |
Retrieve the vector of unmatched reco nodes. More... | |
const pandora::MCParticle * | GetMCNeutrino () const |
Retrieve the parent MC neutrino if it exists. More... | |
const pandora::ParticleFlowObject * | GetRecoNeutrino () const |
Retrieve the parent reco neutrino if it exists. More... | |
unsigned int | GetNMCNodes () const |
Retrieve the number of MC nodes available to match. More... | |
unsigned int | GetNNeutrinoMCNodes () const |
Retrieve the number of neutrino interaction derived MC nodes available to match. More... | |
unsigned int | GetNCosmicRayMCNodes () const |
Retrieve the number of cosmic ray derived MC nodes available to match. More... | |
unsigned int | GetNTestBeamMCNodes () const |
Retrieve the number of test beam derived MC nodes available to match. More... | |
const QualityCuts & | GetQualityCuts () const |
Retrieve the quality cuts for matching. More... | |
void | Print (const MCHierarchy &mcHierarchy) const |
Prints information about which reco nodes are matched to the MC nodes, information about hit sharing, purity and completeness. More... | |
Private Attributes | |
const pandora::MCParticle * | m_pMCNeutrino |
The parent neutrino if it exists. More... | |
const pandora::ParticleFlowObject * | m_pRecoNeutrino |
The parent neutrino if it exists. More... | |
MCMatchesVector | m_matches |
The vector of good matches from MC to reco. More... | |
MCMatchesVector | m_goodMatches |
The vector of good matches - above threshold one reco to one MC matches. More... | |
MCMatchesVector | m_aboveThresholdMatches |
The vector of matches that pass quality but with multiple reco matches to the MC. More... | |
MCMatchesVector | m_subThresholdMatches |
The vector of matches that don't pass quality cuts. More... | |
MCHierarchy::NodeVector | m_unmatchedMC |
The vector of unmatched MC nodes. More... | |
RecoHierarchy::NodeVector | m_unmatchedReco |
The vector of unmatched reco nodes. More... | |
QualityCuts | m_qualityCuts |
The quality cuts to be applied to matches. More... | |
MatcheInfo class.
Definition at line 722 of file LArHierarchyHelper.h.
lar_content::LArHierarchyHelper::MatchInfo::MatchInfo | ( | ) |
Default constructor.
Definition at line 1178 of file LArHierarchyHelper.cc.
lar_content::LArHierarchyHelper::MatchInfo::MatchInfo | ( | const QualityCuts & | qualityCuts | ) |
Constructor.
qualityCuts | The quality cuts to be applied to matched nodes |
Definition at line 1184 of file LArHierarchyHelper.cc.
|
inline |
Retrieve the vector of matches (this will include null matches - i.e. MC nodes with no corresponding reco)
Definition at line 1022 of file LArHierarchyHelper.h.
|
inline |
Retrieve the parent MC neutrino if it exists.
The | parent neutrino if it exists (nullptr otherwise) |
Definition at line 1036 of file LArHierarchyHelper.h.
unsigned int lar_content::LArHierarchyHelper::MatchInfo::GetNCosmicRayMCNodes | ( | ) | const |
Retrieve the number of cosmic ray derived MC nodes available to match.
Definition at line 1294 of file LArHierarchyHelper.cc.
unsigned int lar_content::LArHierarchyHelper::MatchInfo::GetNMCNodes | ( | ) | const |
Retrieve the number of MC nodes available to match.
Definition at line 1272 of file LArHierarchyHelper.cc.
unsigned int lar_content::LArHierarchyHelper::MatchInfo::GetNNeutrinoMCNodes | ( | ) | const |
Retrieve the number of neutrino interaction derived MC nodes available to match.
Definition at line 1279 of file LArHierarchyHelper.cc.
unsigned int lar_content::LArHierarchyHelper::MatchInfo::GetNTestBeamMCNodes | ( | ) | const |
Retrieve the number of test beam derived MC nodes available to match.
Definition at line 1309 of file LArHierarchyHelper.cc.
|
inline |
Retrieve the quality cuts for matching.
Definition at line 1050 of file LArHierarchyHelper.h.
|
inline |
Retrieve the parent reco neutrino if it exists.
The | parent neutrino if it exists (nullptr otherwise) |
Definition at line 1043 of file LArHierarchyHelper.h.
|
inline |
Retrieve the vector of unmatched reco nodes.
Definition at line 1029 of file LArHierarchyHelper.h.
void lar_content::LArHierarchyHelper::MatchInfo::Match | ( | const MCHierarchy & | mcHierarchy, |
const RecoHierarchy & | recoHierarchy | ||
) |
Match the nodes in the MC and reco hierarchies.
mcHierarchy | The MC hierarchy |
recoHierarchy | The reco hierarchy |
Definition at line 1193 of file LArHierarchyHelper.cc.
void lar_content::LArHierarchyHelper::MatchInfo::Print | ( | const MCHierarchy & | mcHierarchy | ) | const |
Prints information about which reco nodes are matched to the MC nodes, information about hit sharing, purity and completeness.
mcHierarchy | The MC hierarchy |
Definition at line 1324 of file LArHierarchyHelper.cc.
|
private |
The vector of matches that pass quality but with multiple reco matches to the MC.
Definition at line 820 of file LArHierarchyHelper.h.
|
private |
The vector of good matches - above threshold one reco to one MC matches.
Definition at line 819 of file LArHierarchyHelper.h.
|
private |
The vector of good matches from MC to reco.
Definition at line 818 of file LArHierarchyHelper.h.
|
private |
The parent neutrino if it exists.
Definition at line 815 of file LArHierarchyHelper.h.
|
private |
The parent neutrino if it exists.
Definition at line 816 of file LArHierarchyHelper.h.
|
private |
The quality cuts to be applied to matches.
Definition at line 824 of file LArHierarchyHelper.h.
|
private |
The vector of matches that don't pass quality cuts.
Definition at line 821 of file LArHierarchyHelper.h.
|
private |
The vector of unmatched MC nodes.
Definition at line 822 of file LArHierarchyHelper.h.
|
private |
The vector of unmatched reco nodes.
Definition at line 823 of file LArHierarchyHelper.h.