LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
LArHierarchyHelper class. More...
#include "LArHierarchyHelper.h"
Classes | |
class | FoldingParameters |
FoldingParameters class. More... | |
class | MatchInfo |
MatcheInfo class. More... | |
class | MCHierarchy |
MCHierarchy class. More... | |
class | MCMatches |
MCMatches class. More... | |
class | QualityCuts |
QualityCuts class. More... | |
class | RecoHierarchy |
RecoHierarchy class. More... | |
Public Types | |
typedef std::vector< MCMatches > | MCMatchesVector |
typedef std::map< const pandora::MCParticle *, MCMatchesVector > | InteractionInfo |
Static Public Member Functions | |
static void | FillMCHierarchy (const pandora::MCParticleList &mcParticleList, const pandora::CaloHitList &caloHitList, const FoldingParameters &foldParameters, MCHierarchy &hierarchy) |
Fill an MC hierarchy based on the specified folding criteria (see MCHierarchy::FillHierarchy for details) More... | |
static void | FillRecoHierarchy (const pandora::PfoList &pfoList, const FoldingParameters &foldParameters, RecoHierarchy &hierarchy) |
Fill a reconstructed hierarchy based on the specified folding criteria (see RecoHierarchy::FillHierarchy for details) More... | |
static void | MatchHierarchies (MatchInfo &matchInfo) |
Finds the matches between reconstructed and MC hierarchies. More... | |
Private Types | |
typedef std::set< const pandora::MCParticle * > | MCParticleSet |
typedef std::set< const pandora::ParticleFlowObject * > | PfoSet |
Static Private Member Functions | |
static void | GetMCPrimaries (const pandora::MCParticle *pRoot, MCParticleSet &primaries) |
Retrieves the primary MC particles from a list and returns the root (neutrino) for hierarchy, if it exists. More... | |
static void | GetRecoPrimaries (const pandora::ParticleFlowObject *pRoot, PfoSet &primaries) |
Retrieves the primary PFOs from a list and returns the root (neutrino) for hierarchy, if it exists. More... | |
LArHierarchyHelper class.
Definition at line 24 of file LArHierarchyHelper.h.
typedef std::map<const pandora::MCParticle *, MCMatchesVector> lar_content::LArHierarchyHelper::InteractionInfo |
Definition at line 732 of file LArHierarchyHelper.h.
typedef std::vector<MCMatches> lar_content::LArHierarchyHelper::MCMatchesVector |
Definition at line 731 of file LArHierarchyHelper.h.
|
private |
Definition at line 885 of file LArHierarchyHelper.h.
|
private |
Definition at line 886 of file LArHierarchyHelper.h.
|
static |
Fill an MC hierarchy based on the specified folding criteria (see MCHierarchy::FillHierarchy for details)
mcParticleList | The MCParticle list to use to fill this hierarchy |
caloHitList | The list of CaloHits to use to fill this hierarchy |
foldParameters | The folding parameters to use for the hierarchy |
hierarchy | The output MC hierarchy |
Definition at line 1587 of file LArHierarchyHelper.cc.
References lar_content::LArHierarchyHelper::MCHierarchy::FillHierarchy().
Referenced by lar_content::HierarchyMonitoringAlgorithm::Run(), and lar_content::HierarchyValidationAlgorithm::Run().
|
static |
Fill a reconstructed hierarchy based on the specified folding criteria (see RecoHierarchy::FillHierarchy for details)
pfoList | The ParticleFlowObject list to use to fill this hierarchy |
foldParameters | The folding parameters to use for the hierarchy |
hierarchy | The output reconstructed hierarchy |
Definition at line 1595 of file LArHierarchyHelper.cc.
References lar_content::LArHierarchyHelper::RecoHierarchy::FillHierarchy().
Referenced by lar_content::HierarchyMonitoringAlgorithm::Run(), and lar_content::HierarchyValidationAlgorithm::Run().
|
staticprivate |
Retrieves the primary MC particles from a list and returns the root (neutrino) for hierarchy, if it exists.
pRoot | The root MC particle (e.g. neutrino) for which primaries should be collected |
primaries | The output set of primary MC particles |
Definition at line 1610 of file LArHierarchyHelper.cc.
References lar_content::LArMCParticleHelper::GetFirstVisibleMCParticles().
Referenced by lar_content::LArHierarchyHelper::MCHierarchy::FillHierarchy().
|
staticprivate |
Retrieves the primary PFOs from a list and returns the root (neutrino) for hierarchy, if it exists.
pRoot | The root particle flow object (e.g. neutrino) for which primaries should be collected |
primaries | The output set of primary PFOs |
Definition at line 1628 of file LArHierarchyHelper.cc.
References lar_content::LArPfoHelper::IsNeutrino().
Referenced by lar_content::LArHierarchyHelper::RecoHierarchy::FillHierarchy().
|
static |
Finds the matches between reconstructed and MC hierarchies.
matchInfo | The output match information |
Definition at line 1602 of file LArHierarchyHelper.cc.
References lar_content::LArHierarchyHelper::MatchInfo::Match().
Referenced by lar_content::HierarchyMonitoringAlgorithm::Run(), and lar_content::HierarchyValidationAlgorithm::Run().