Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
lar_content::LArHierarchyHelper Class Reference

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< MCMatchesMCMatchesVector
 
typedef std::map< const pandora::MCParticle *, MCMatchesVectorInteractionInfo
 

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)
 
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)
 
static void MatchHierarchies (MatchInfo &matchInfo)
 Finds the matches between reconstructed and MC hierarchies.
 

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.
 
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.
 

Detailed Description

LArHierarchyHelper class.

Definition at line 24 of file LArHierarchyHelper.h.

Member Typedef Documentation

◆ InteractionInfo

◆ MCMatchesVector

Definition at line 731 of file LArHierarchyHelper.h.

◆ MCParticleSet

Definition at line 885 of file LArHierarchyHelper.h.

◆ PfoSet

Definition at line 886 of file LArHierarchyHelper.h.

Member Function Documentation

◆ FillMCHierarchy()

void lar_content::LArHierarchyHelper::FillMCHierarchy ( const pandora::MCParticleList mcParticleList,
const pandora::CaloHitList caloHitList,
const FoldingParameters foldParameters,
MCHierarchy hierarchy 
)
static

Fill an MC hierarchy based on the specified folding criteria (see MCHierarchy::FillHierarchy for details)

Parameters
mcParticleListThe MCParticle list to use to fill this hierarchy
caloHitListThe list of CaloHits to use to fill this hierarchy
foldParametersThe folding parameters to use for the hierarchy
hierarchyThe output MC hierarchy

Definition at line 1583 of file LArHierarchyHelper.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FillRecoHierarchy()

void lar_content::LArHierarchyHelper::FillRecoHierarchy ( const pandora::PfoList pfoList,
const FoldingParameters foldParameters,
RecoHierarchy hierarchy 
)
static

Fill a reconstructed hierarchy based on the specified folding criteria (see RecoHierarchy::FillHierarchy for details)

Parameters
pfoListThe ParticleFlowObject list to use to fill this hierarchy
foldParametersThe folding parameters to use for the hierarchy
hierarchyThe output reconstructed hierarchy

Definition at line 1591 of file LArHierarchyHelper.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetMCPrimaries()

void lar_content::LArHierarchyHelper::GetMCPrimaries ( const pandora::MCParticle pRoot,
MCParticleSet primaries 
)
staticprivate

Retrieves the primary MC particles from a list and returns the root (neutrino) for hierarchy, if it exists.

Parameters
pRootThe root MC particle (e.g. neutrino) for which primaries should be collected
primariesThe output set of primary MC particles

Definition at line 1606 of file LArHierarchyHelper.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetRecoPrimaries()

void lar_content::LArHierarchyHelper::GetRecoPrimaries ( const pandora::ParticleFlowObject pRoot,
PfoSet primaries 
)
staticprivate

Retrieves the primary PFOs from a list and returns the root (neutrino) for hierarchy, if it exists.

Parameters
pRootThe root particle flow object (e.g. neutrino) for which primaries should be collected
primariesThe output set of primary PFOs

Definition at line 1624 of file LArHierarchyHelper.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MatchHierarchies()

void lar_content::LArHierarchyHelper::MatchHierarchies ( MatchInfo matchInfo)
static

Finds the matches between reconstructed and MC hierarchies.

Parameters
matchInfoThe output match information

Definition at line 1598 of file LArHierarchyHelper.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: