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

LArPfoHelper class. More...

#include "LArPfoHelper.h"

Static Public Member Functions

static void GetCoordinateVector (const pandora::ParticleFlowObject *const pPfo, const pandora::HitType &hitType, pandora::CartesianPointVector &coordinateVector)
 Get a list of coordinates of a particular hit type from an input pfos.
 
static void GetCaloHits (const pandora::PfoList &pfoList, const pandora::HitType &hitType, pandora::CaloHitList &caloHitList)
 Get a list of calo hits of a particular hit type from a list of pfos.
 
static void GetCaloHits (const pandora::ParticleFlowObject *const pPfo, const pandora::HitType &hitType, pandora::CaloHitList &caloHitList)
 Get a list of calo hits of a particular hit type from a given pfo.
 
static void GetIsolatedCaloHits (const pandora::PfoList &pfoList, const pandora::HitType &hitType, pandora::CaloHitList &caloHitList)
 Get a list of isolated calo hits of a particular hit type from a list of pfos.
 
static void GetIsolatedCaloHits (const pandora::ParticleFlowObject *const pPfo, const pandora::HitType &hitType, pandora::CaloHitList &caloHitList)
 Get a list of isolated calo hits of a particular hit type from a given pfo.
 
static void GetAllCaloHits (const pandora::ParticleFlowObject *pPfo, pandora::CaloHitList &caloHitList)
 Get a list of all calo hits (including isolated) of all types from a given pfo.
 
static void GetClusters (const pandora::PfoList &pfoList, const pandora::HitType &hitType, pandora::ClusterList &clusterList)
 Get a list of clusters of a particular hit type from a list of pfos.
 
static void GetClusters (const pandora::ParticleFlowObject *const pPfo, const pandora::HitType &hitType, pandora::ClusterList &clusterList)
 Get a list of clusters of a particular hit type from a given pfo.
 
static unsigned int GetNumberOfTwoDHits (const pandora::ParticleFlowObject *const pPfo)
 Get the number of 2D hits of a PFO.
 
static void GetTwoDClusterList (const pandora::ParticleFlowObject *const pPfo, pandora::ClusterList &clusterList)
 Get the list of 2D clusters from an input pfo.
 
static void GetThreeDClusterList (const pandora::ParticleFlowObject *const pPfo, pandora::ClusterList &clusterList)
 Get the list of 3D clusters from an input pfo.
 
static void GetAllConnectedPfos (const pandora::PfoList &inputPfoList, pandora::PfoList &outputPfoList)
 Get a flat list of all pfos, recursively including all daughters and parents associated with those pfos in an input list.
 
static void GetAllConnectedPfos (const pandora::ParticleFlowObject *const pPfo, pandora::PfoList &outputPfoList)
 Get a flat list of all pfos, recursively including all daughters and parents associated with an input pfo.
 
static void GetAllDownstreamPfos (const pandora::PfoList &inputPfoList, pandora::PfoList &outputPfoList)
 Get a flat list of all pfos, recursively, of all daughters associated with those pfos in an input list.
 
static void GetAllDownstreamPfos (const pandora::ParticleFlowObject *const pPfo, pandora::PfoList &outputPfoList)
 Get a flat list of all pfos, recursively, of all daughters and parents associated with an input pfo.
 
static void GetAllDownstreamPfos (const pandora::ParticleFlowObject *const pPfo, pandora::PfoList &outputTrackPfoList, pandora::PfoList &outputLeadingShowerPfoList)
 Get flat lists of all downstream track pfos and also shower-like pfos. This method collects together all track-like particles downstream of the root particle, stopping at a leading shower and then storing that leading shower in a separate list.
 
static int GetHierarchyTier (const pandora::ParticleFlowObject *const pPfo)
 Determine the position in the hierarchy for the MCParticle.
 
static float GetTwoDLengthSquared (const pandora::ParticleFlowObject *const pPfo)
 Calculate length of Pfo using 2D clusters.
 
static float GetThreeDLengthSquared (const pandora::ParticleFlowObject *const pPfo)
 Calculate length of Pfo using 3D clusters.
 
static float GetClosestDistance (const pandora::ParticleFlowObject *const pPfo, const pandora::Cluster *const pCluster)
 Get closest distance between Pfo and cluster.
 
static float GetThreeDSeparation (const pandora::ParticleFlowObject *const pPfo1, const pandora::ParticleFlowObject *const pPfo2)
 Get distance between two Pfos using 3D clusters.
 
static bool IsTwoD (const pandora::ParticleFlowObject *const pPfo)
 Does Pfo contain 2D clusters.
 
static bool IsThreeD (const pandora::ParticleFlowObject *const pPfo)
 Does Pfo contain 3D clusters.
 
static bool IsTrack (const pandora::ParticleFlowObject *const pPfo)
 Return track flag based on Pfo Particle ID.
 
static bool IsShower (const pandora::ParticleFlowObject *const pPfo)
 Return shower flag based on Pfo Particle ID.
 
static int GetPrimaryNeutrino (const pandora::ParticleFlowObject *const pPfo)
 Get primary neutrino or antineutrino.
 
static bool IsFinalState (const pandora::ParticleFlowObject *const pPfo)
 Whether a pfo is a primary parent particle.
 
static bool IsNeutrinoFinalState (const pandora::ParticleFlowObject *const pPfo)
 Whether a pfo is a final-state particle from a neutrino (or antineutrino) interaction.
 
static bool IsNeutrino (const pandora::ParticleFlowObject *const pPfo)
 Whether a pfo is a neutrino or (antineutrino)
 
static bool IsTestBeamFinalState (const pandora::ParticleFlowObject *const pPfo)
 Whether a pfo is a final-state particle from a test beam particle interaction.
 
static bool IsTestBeam (const pandora::ParticleFlowObject *const pPfo)
 Whether a pfo is a test beam particle.
 
static void GetRecoNeutrinos (const pandora::PfoList *const pPfoList, pandora::PfoList &recoNeutrinos)
 Get neutrino pfos from an input pfo list.
 
static const pandora::ParticleFlowObjectGetParentPfo (const pandora::ParticleFlowObject *const pPfo)
 Get the primary parent pfo.
 
static const pandora::ParticleFlowObjectGetParentNeutrino (const pandora::ParticleFlowObject *const pPfo)
 Get primary neutrino or antineutrino.
 
static const pandora::VertexGetVertex (const pandora::ParticleFlowObject *const pPfo)
 Get the pfo vertex.
 
static const pandora::VertexGetTestBeamInteractionVertex (const pandora::ParticleFlowObject *const pPfo)
 Get the pfo test beam interaction vertex.
 
static const pandora::VertexGetVertexWithLabel (const pandora::VertexList &vertexList, const pandora::VertexLabel vertexLabel)
 Get the vertex with a specific vertex label in a given vertex list.
 
static void GetSlidingFitTrajectory (const pandora::CartesianPointVector &pointVector, const pandora::CartesianVector &vertexPosition, const unsigned int layerWindow, const float layerPitch, LArTrackStateVector &trackStateVector, pandora::IntVector *const pIndexVector=nullptr)
 Apply 3D sliding fit to a set of 3D points and return track trajectory.
 
static void GetSlidingFitTrajectory (const pandora::ParticleFlowObject *const pPfo, const pandora::Vertex *const pVertex, const unsigned int slidingFitHalfWindow, const float layerPitch, LArTrackStateVector &trackStateVector)
 Apply 3D sliding fit to Pfo and return track trajectory.
 
static LArShowerPCA GetPrincipalComponents (const pandora::CartesianPointVector &pointVector, const pandora::CartesianVector &vertexPosition)
 Perform PCA analysis on a set of 3D points and return results.
 
static LArShowerPCA GetPrincipalComponents (const pandora::ParticleFlowObject *const pPfo, const pandora::Vertex *const pVertex)
 Perform PCA analysis on Pfo and return results.
 
static bool SortByHitProjection (const LArTrackTrajectoryPoint &lhs, const LArTrackTrajectoryPoint &rhs)
 Sort pfos by number of constituent hits.
 
static bool SortByNHits (const pandora::ParticleFlowObject *const pLhs, const pandora::ParticleFlowObject *const pRhs)
 Sort pfos by number of constituent hits.
 
static void GetBreadthFirstHierarchyRepresentation (const pandora::ParticleFlowObject *const pPfo, pandora::PfoList &pfoList)
 Retrieve a linearised representation of the PFO hierarchy in breadth first order. This iterates over the PFO hierarchy in a manor that sees primaries at the front of the list, with progressively deeper tiers later in the list. This is useful for some visualisation cases.
 

Static Private Member Functions

template<typename T >
static void SlidingFitTrajectoryImpl (const T *const pT, const pandora::CartesianVector &vertexPosition, const unsigned int layerWindow, const float layerPitch, LArTrackStateVector &trackStateVector, pandora::IntVector *const pIndexVector=nullptr)
 Implementation of sliding fit trajectory extraction.
 

Detailed Description

LArPfoHelper class.

Definition at line 23 of file LArPfoHelper.h.

Member Function Documentation

◆ GetAllCaloHits()

void lar_content::LArPfoHelper::GetAllCaloHits ( const pandora::ParticleFlowObject pPfo,
pandora::CaloHitList caloHitList 
)
static

Get a list of all calo hits (including isolated) of all types from a given pfo.

Parameters
pPfothe input Pfo
caloHitListthe output list of calo hits

Definition at line 76 of file LArPfoHelper.cc.

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

◆ GetAllConnectedPfos() [1/2]

void lar_content::LArPfoHelper::GetAllConnectedPfos ( const pandora::ParticleFlowObject *const  pPfo,
pandora::PfoList outputPfoList 
)
static

Get a flat list of all pfos, recursively including all daughters and parents associated with an input pfo.

Parameters
pPfothe input Pfo
outputPfoListto receive the output pfo list

Definition at line 157 of file LArPfoHelper.cc.

Here is the call graph for this function:

◆ GetAllConnectedPfos() [2/2]

void lar_content::LArPfoHelper::GetAllConnectedPfos ( const pandora::PfoList inputPfoList,
pandora::PfoList outputPfoList 
)
static

Get a flat list of all pfos, recursively including all daughters and parents associated with those pfos in an input list.

Parameters
inputPfoListthe input pfo list
outputPfoListto receive the output pfo list

Definition at line 149 of file LArPfoHelper.cc.

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

◆ GetAllDownstreamPfos() [1/3]

void lar_content::LArPfoHelper::GetAllDownstreamPfos ( const pandora::ParticleFlowObject *const  pPfo,
pandora::PfoList outputPfoList 
)
static

Get a flat list of all pfos, recursively, of all daughters and parents associated with an input pfo.

Parameters
pPfothe input Pfo
outputPfoListto receive the output pfo list

Definition at line 177 of file LArPfoHelper.cc.

Here is the call graph for this function:

◆ GetAllDownstreamPfos() [2/3]

void lar_content::LArPfoHelper::GetAllDownstreamPfos ( const pandora::ParticleFlowObject *const  pPfo,
pandora::PfoList outputTrackPfoList,
pandora::PfoList outputLeadingShowerPfoList 
)
static

Get flat lists of all downstream track pfos and also shower-like pfos. This method collects together all track-like particles downstream of the root particle, stopping at a leading shower and then storing that leading shower in a separate list.

Parameters
pPfothe input pfo
outputTrackPfoListthe output list of descendent track-like particles
outputLeadingShowerParticlesthe output list of leading shower particles

Definition at line 188 of file LArPfoHelper.cc.

Here is the call graph for this function:

◆ GetAllDownstreamPfos() [3/3]

void lar_content::LArPfoHelper::GetAllDownstreamPfos ( const pandora::PfoList inputPfoList,
pandora::PfoList outputPfoList 
)
static

Get a flat list of all pfos, recursively, of all daughters associated with those pfos in an input list.

Parameters
inputPfoListthe input pfo list
outputPfoListto receive the output pfo list

Definition at line 169 of file LArPfoHelper.cc.

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

◆ GetBreadthFirstHierarchyRepresentation()

void lar_content::LArPfoHelper::GetBreadthFirstHierarchyRepresentation ( const pandora::ParticleFlowObject *const  pPfo,
pandora::PfoList pfoList 
)
static

Retrieve a linearised representation of the PFO hierarchy in breadth first order. This iterates over the PFO hierarchy in a manor that sees primaries at the front of the list, with progressively deeper tiers later in the list. This is useful for some visualisation cases.

Parameters
pPfoa PFO in the hierarchy - can be any PFO
pfoListthe output PFO list

Definition at line 652 of file LArPfoHelper.cc.

Here is the call graph for this function:

◆ GetCaloHits() [1/2]

void lar_content::LArPfoHelper::GetCaloHits ( const pandora::ParticleFlowObject *const  pPfo,
const pandora::HitType hitType,
pandora::CaloHitList caloHitList 
)
static

Get a list of calo hits of a particular hit type from a given pfo.

Parameters
pPfothe input Pfo
hitTypethe cluster hit type
caloHitListthe output list of calo hits

Definition at line 46 of file LArPfoHelper.cc.

Here is the call graph for this function:

◆ GetCaloHits() [2/2]

void lar_content::LArPfoHelper::GetCaloHits ( const pandora::PfoList pfoList,
const pandora::HitType hitType,
pandora::CaloHitList caloHitList 
)
static

Get a list of calo hits of a particular hit type from a list of pfos.

Parameters
pfoListthe input list of Pfos
hitTypethe cluster hit type
caloHitListthe output list of calo hits

Definition at line 38 of file LArPfoHelper.cc.

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

◆ GetClosestDistance()

float lar_content::LArPfoHelper::GetClosestDistance ( const pandora::ParticleFlowObject *const  pPfo,
const pandora::Cluster *const  pCluster 
)
static

Get closest distance between Pfo and cluster.

Parameters
pPfothe address of the input Pfo
pClusterthe address of the input cluster

Definition at line 278 of file LArPfoHelper.cc.

Here is the call graph for this function:

◆ GetClusters() [1/2]

void lar_content::LArPfoHelper::GetClusters ( const pandora::ParticleFlowObject *const  pPfo,
const pandora::HitType hitType,
pandora::ClusterList clusterList 
)
static

Get a list of clusters of a particular hit type from a given pfo.

Parameters
pPfothe input Pfo
hitTypethe cluster hit type
clusterListthe output list of clusters

Definition at line 96 of file LArPfoHelper.cc.

Here is the call graph for this function:

◆ GetClusters() [2/2]

void lar_content::LArPfoHelper::GetClusters ( const pandora::PfoList pfoList,
const pandora::HitType hitType,
pandora::ClusterList clusterList 
)
static

Get a list of clusters of a particular hit type from a list of pfos.

Parameters
pfoListthe input list of Pfos
hitTypethe cluster hit type
clusterListthe output list of clusters

Definition at line 88 of file LArPfoHelper.cc.

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

◆ GetCoordinateVector()

void lar_content::LArPfoHelper::GetCoordinateVector ( const pandora::ParticleFlowObject *const  pPfo,
const pandora::HitType hitType,
pandora::CartesianPointVector coordinateVector 
)
static

Get a list of coordinates of a particular hit type from an input pfos.

Parameters
pPfothe address of the input Pfo
hitTypethe cluster hit type
coordinateVectorthe output list of coordinates

Definition at line 27 of file LArPfoHelper.cc.

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

◆ GetHierarchyTier()

int lar_content::LArPfoHelper::GetHierarchyTier ( const pandora::ParticleFlowObject *const  pPfo)
static

Determine the position in the hierarchy for the MCParticle.

Parameters
pPfothe input Pfo
Returns
integer

Definition at line 219 of file LArPfoHelper.cc.

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

◆ GetIsolatedCaloHits() [1/2]

void lar_content::LArPfoHelper::GetIsolatedCaloHits ( const pandora::ParticleFlowObject *const  pPfo,
const pandora::HitType hitType,
pandora::CaloHitList caloHitList 
)
static

Get a list of isolated calo hits of a particular hit type from a given pfo.

Parameters
pPfothe input Pfo
hitTypethe cluster hit type
caloHitListthe output list of isolated calo hits

Definition at line 65 of file LArPfoHelper.cc.

Here is the call graph for this function:

◆ GetIsolatedCaloHits() [2/2]

void lar_content::LArPfoHelper::GetIsolatedCaloHits ( const pandora::PfoList pfoList,
const pandora::HitType hitType,
pandora::CaloHitList caloHitList 
)
static

Get a list of isolated calo hits of a particular hit type from a list of pfos.

Parameters
pfoListthe input list of Pfos
hitTypethe cluster hit type
caloHitListthe output list of calo hits

Definition at line 57 of file LArPfoHelper.cc.

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

◆ GetNumberOfTwoDHits()

unsigned int lar_content::LArPfoHelper::GetNumberOfTwoDHits ( const pandora::ParticleFlowObject *const  pPfo)
static

Get the number of 2D hits of a PFO.

Parameters
pPfothe pfo to check
Returns
int of number of 2D hits

Definition at line 109 of file LArPfoHelper.cc.

Here is the call graph for this function:

◆ GetParentNeutrino()

const ParticleFlowObject * lar_content::LArPfoHelper::GetParentNeutrino ( const pandora::ParticleFlowObject *const  pPfo)
static

Get primary neutrino or antineutrino.

Parameters
pPfothe address of the Pfo
Returns
address of primary neutrino pfo

Definition at line 459 of file LArPfoHelper.cc.

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

◆ GetParentPfo()

const ParticleFlowObject * lar_content::LArPfoHelper::GetParentPfo ( const pandora::ParticleFlowObject *const  pPfo)
static

Get the primary parent pfo.

Parameters
pPfothe address of the Pfo
Returns
address of the primary parent pfo

Definition at line 445 of file LArPfoHelper.cc.

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

◆ GetPrimaryNeutrino()

int lar_content::LArPfoHelper::GetPrimaryNeutrino ( const pandora::ParticleFlowObject *const  pPfo)
static

Get primary neutrino or antineutrino.

Parameters
pPfothe address of the Pfo
Returns
pdg code of neutrino (or zero, otherwise)

Definition at line 364 of file LArPfoHelper.cc.

Here is the call graph for this function:

◆ GetPrincipalComponents() [1/2]

LArShowerPCA lar_content::LArPfoHelper::GetPrincipalComponents ( const pandora::CartesianPointVector pointVector,
const pandora::CartesianVector vertexPosition 
)
static

Perform PCA analysis on a set of 3D points and return results.

Parameters
pointVectorthe input list of 3D positions
vertexPositionthe input vertex position

Definition at line 559 of file LArPfoHelper.cc.

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

◆ GetPrincipalComponents() [2/2]

LArShowerPCA lar_content::LArPfoHelper::GetPrincipalComponents ( const pandora::ParticleFlowObject *const  pPfo,
const pandora::Vertex *const  pVertex 
)
static

Perform PCA analysis on Pfo and return results.

Parameters
pPfothe address of the input Pfo
pVertexthe address of the input vertex

Definition at line 584 of file LArPfoHelper.cc.

Here is the call graph for this function:

◆ GetRecoNeutrinos()

void lar_content::LArPfoHelper::GetRecoNeutrinos ( const pandora::PfoList *const  pPfoList,
pandora::PfoList recoNeutrinos 
)
static

Get neutrino pfos from an input pfo list.

Parameters
pPfoListthe input pfo list
recoNeutrinosto receive the list of neutrino pfos

Definition at line 431 of file LArPfoHelper.cc.

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

◆ GetSlidingFitTrajectory() [1/2]

void lar_content::LArPfoHelper::GetSlidingFitTrajectory ( const pandora::CartesianPointVector pointVector,
const pandora::CartesianVector vertexPosition,
const unsigned int  layerWindow,
const float  layerPitch,
LArTrackStateVector trackStateVector,
pandora::IntVector *const  pIndexVector = nullptr 
)
static

Apply 3D sliding fit to a set of 3D points and return track trajectory.

Parameters
pointVectorthe input list of 3D positions
vertexPositionthe input vertex position
slidingFitHalfWindowsize of half window for sliding linear fit
layerPitchsize of pitch for sliding linear fit
trackStateVectorthe output track trajectory
pIndexVectorlookup vector of spacepoint indices to store trajectory point sorting

Definition at line 541 of file LArPfoHelper.cc.

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

◆ GetSlidingFitTrajectory() [2/2]

void lar_content::LArPfoHelper::GetSlidingFitTrajectory ( const pandora::ParticleFlowObject *const  pPfo,
const pandora::Vertex *const  pVertex,
const unsigned int  slidingFitHalfWindow,
const float  layerPitch,
LArTrackStateVector trackStateVector 
)
static

Apply 3D sliding fit to Pfo and return track trajectory.

Parameters
pPfothe address of the input Pfo
pVertexthe address of the input vertex
slidingFitHalfWindowsize of half window for sliding linear fit
layerPitchsize of pitch for sliding linear fit
trackStateVectorthe output track trajectory

Definition at line 549 of file LArPfoHelper.cc.

Here is the call graph for this function:

◆ GetTestBeamInteractionVertex()

const Vertex * lar_content::LArPfoHelper::GetTestBeamInteractionVertex ( const pandora::ParticleFlowObject *const  pPfo)
static

Get the pfo test beam interaction vertex.

Parameters
pPfothe address of the Pfo
Returns
address of pfo vertex

Definition at line 499 of file LArPfoHelper.cc.

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

◆ GetThreeDClusterList()

void lar_content::LArPfoHelper::GetThreeDClusterList ( const pandora::ParticleFlowObject *const  pPfo,
pandora::ClusterList clusterList 
)
static

Get the list of 3D clusters from an input pfo.

Parameters
pPfothe input Pfo
clusterListthe output list of clusters

Definition at line 136 of file LArPfoHelper.cc.

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

◆ GetThreeDLengthSquared()

float lar_content::LArPfoHelper::GetThreeDLengthSquared ( const pandora::ParticleFlowObject *const  pPfo)
static

Calculate length of Pfo using 3D clusters.

Parameters
pPfothe input Pfo
Returns
length variable

Definition at line 258 of file LArPfoHelper.cc.

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

◆ GetThreeDSeparation()

float lar_content::LArPfoHelper::GetThreeDSeparation ( const pandora::ParticleFlowObject *const  pPfo1,
const pandora::ParticleFlowObject *const  pPfo2 
)
static

Get distance between two Pfos using 3D clusters.

Parameters
pPfothe address of the first Pfo
pPfothe address of the second Pfo

Definition at line 303 of file LArPfoHelper.cc.

Here is the call graph for this function:

◆ GetTwoDClusterList()

void lar_content::LArPfoHelper::GetTwoDClusterList ( const pandora::ParticleFlowObject *const  pPfo,
pandora::ClusterList clusterList 
)
static

Get the list of 2D clusters from an input pfo.

Parameters
pPfothe input Pfo
clusterListthe output list of clusters

Definition at line 123 of file LArPfoHelper.cc.

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

◆ GetTwoDLengthSquared()

float lar_content::LArPfoHelper::GetTwoDLengthSquared ( const pandora::ParticleFlowObject *const  pPfo)
static

Calculate length of Pfo using 2D clusters.

Parameters
pPfothe input Pfo
Returns
length variable

Definition at line 238 of file LArPfoHelper.cc.

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

◆ GetVertex()

const Vertex * lar_content::LArPfoHelper::GetVertex ( const pandora::ParticleFlowObject *const  pPfo)
static

Get the pfo vertex.

Parameters
pPfothe address of the Pfo
Returns
address of pfo vertex

Definition at line 471 of file LArPfoHelper.cc.

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

◆ GetVertexWithLabel()

const Vertex * lar_content::LArPfoHelper::GetVertexWithLabel ( const pandora::VertexList vertexList,
const pandora::VertexLabel  vertexLabel 
)
static

Get the vertex with a specific vertex label in a given vertex list.

Parameters
vertexListvertex list
vertexLabeltarget vertex label type
Returns
address of the desired vertex

Definition at line 514 of file LArPfoHelper.cc.

Here is the caller graph for this function:

◆ IsFinalState()

bool lar_content::LArPfoHelper::IsFinalState ( const pandora::ParticleFlowObject *const  pPfo)
static

Whether a pfo is a primary parent particle.

Parameters
pPfothe address of the Pfo
Returns
boolean

Definition at line 379 of file LArPfoHelper.cc.

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

◆ IsNeutrino()

bool lar_content::LArPfoHelper::IsNeutrino ( const pandora::ParticleFlowObject *const  pPfo)
static

Whether a pfo is a neutrino or (antineutrino)

Parameters
pPfothe address of the Pfo
Returns
boolean

Definition at line 399 of file LArPfoHelper.cc.

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

◆ IsNeutrinoFinalState()

bool lar_content::LArPfoHelper::IsNeutrinoFinalState ( const pandora::ParticleFlowObject *const  pPfo)
static

Whether a pfo is a final-state particle from a neutrino (or antineutrino) interaction.

Parameters
pPfothe address of the Pfo
Returns
boolean

Definition at line 392 of file LArPfoHelper.cc.

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

◆ IsShower()

bool lar_content::LArPfoHelper::IsShower ( const pandora::ParticleFlowObject *const  pPfo)
static

Return shower flag based on Pfo Particle ID.

Parameters
pPfothe address of the Pfo

Definition at line 354 of file LArPfoHelper.cc.

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

◆ IsTestBeam()

bool lar_content::LArPfoHelper::IsTestBeam ( const pandora::ParticleFlowObject *const  pPfo)
static

Whether a pfo is a test beam particle.

Parameters
pPfothe address of the Pfo
Returns
boolean

Definition at line 418 of file LArPfoHelper.cc.

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

◆ IsTestBeamFinalState()

bool lar_content::LArPfoHelper::IsTestBeamFinalState ( const pandora::ParticleFlowObject *const  pPfo)
static

Whether a pfo is a final-state particle from a test beam particle interaction.

Parameters
pPfothe address of the Pfo
Returns
boolean

Definition at line 411 of file LArPfoHelper.cc.

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

◆ IsThreeD()

bool lar_content::LArPfoHelper::IsThreeD ( const pandora::ParticleFlowObject *const  pPfo)
static

Does Pfo contain 3D clusters.

Parameters
pPfothe address of the Pfo

Definition at line 331 of file LArPfoHelper.cc.

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

◆ IsTrack()

bool lar_content::LArPfoHelper::IsTrack ( const pandora::ParticleFlowObject *const  pPfo)
static

Return track flag based on Pfo Particle ID.

Parameters
pPfothe address of the Pfo

Definition at line 344 of file LArPfoHelper.cc.

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

◆ IsTwoD()

bool lar_content::LArPfoHelper::IsTwoD ( const pandora::ParticleFlowObject *const  pPfo)
static

Does Pfo contain 2D clusters.

Parameters
pPfothe address of the Pfo

Definition at line 318 of file LArPfoHelper.cc.

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

◆ SlidingFitTrajectoryImpl()

template<typename T >
template void lar_content::LArPfoHelper::SlidingFitTrajectoryImpl ( const T *const  pT,
const pandora::CartesianVector vertexPosition,
const unsigned int  layerWindow,
const float  layerPitch,
LArTrackStateVector trackStateVector,
pandora::IntVector *const  pIndexVector = nullptr 
)
staticprivate

Implementation of sliding fit trajectory extraction.

Parameters
tthe input information
pVertexthe address of the input vertex
slidingFitHalfWindowsize of half window for sliding linear fit
layerPitchsize of pitch for sliding linear fit
trackStateVectorthe output track trajectory
pIndexVectorlookup vector of spacepoint indices to store trajectory point sorting

Definition at line 682 of file LArPfoHelper.cc.

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

◆ SortByHitProjection()

bool lar_content::LArPfoHelper::SortByHitProjection ( const LArTrackTrajectoryPoint lhs,
const LArTrackTrajectoryPoint rhs 
)
static

Sort pfos by number of constituent hits.

Parameters
pLhsaddress of first pfo
pRhsaddress of second pfo

Definition at line 593 of file LArPfoHelper.cc.

Here is the caller graph for this function:

◆ SortByNHits()

bool lar_content::LArPfoHelper::SortByNHits ( const pandora::ParticleFlowObject *const  pLhs,
const pandora::ParticleFlowObject *const  pRhs 
)
static

Sort pfos by number of constituent hits.

Parameters
pLhsaddress of first pfo
pRhsaddress of second pfo

Definition at line 610 of file LArPfoHelper.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: