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

LArMonitoringHelper class. More...

#include "LArMonitoringHelper.h"

Static Public Member Functions

static unsigned int CountHitsByType (const pandora::HitType hitType, const pandora::CaloHitList &caloHitList)
 Count the number of calo hits, in a provided list, of a specified type.
 
static void GetOrderedMCParticleVector (const LArMCParticleHelper::MCContributionMapVector &selectedMCParticleToGoodHitsMaps, pandora::MCParticleVector &orderedMCParticleVector)
 Order input MCParticles by their number of hits.
 
static void GetOrderedPfoVector (const LArMCParticleHelper::PfoContributionMap &pfoToReconstructable2DHitsMap, pandora::PfoVector &orderedPfoVector)
 Order input Pfos by their number of hits.
 
static void PrintMCParticleTable (const LArMCParticleHelper::MCContributionMap &selectedMCParticleToGoodHitsMaps, const pandora::MCParticleVector &orderedMCParticleVector)
 Print details of selected MCParticles to the terminal in a table.
 
static void PrintPfoTable (const LArMCParticleHelper::PfoContributionMap &pfoToReconstructable2DHitsMap, const pandora::PfoVector &orderedPfoVector)
 Print details of input Pfos to the terminal in a table.
 
static void PrintMatchingTable (const pandora::PfoVector &orderedPfoVector, const pandora::MCParticleVector &orderedMCParticleVector, const LArMCParticleHelper::MCParticleToPfoHitSharingMap &mcParticleToPfoHitSharingMap, const unsigned int nMatches)
 Print the shared good hits between all Pfos and MCParticles.
 

Detailed Description

LArMonitoringHelper class.

Definition at line 21 of file LArMonitoringHelper.h.

Member Function Documentation

◆ CountHitsByType()

unsigned int lar_content::LArMonitoringHelper::CountHitsByType ( const pandora::HitType  hitType,
const pandora::CaloHitList caloHitList 
)
static

Count the number of calo hits, in a provided list, of a specified type.

Parameters
hitTypethe hit type
caloHitListthe calo hit list
Returns
the number of calo hits of the specified type

Definition at line 28 of file LArMonitoringHelper.cc.

Here is the caller graph for this function:

◆ GetOrderedMCParticleVector()

void lar_content::LArMonitoringHelper::GetOrderedMCParticleVector ( const LArMCParticleHelper::MCContributionMapVector selectedMCParticleToGoodHitsMaps,
pandora::MCParticleVector orderedMCParticleVector 
)
static

Order input MCParticles by their number of hits.

Parameters
selectedMCParticleToGoodHitsMapsthe input vector of mappings from selected reconstructable MCParticles to their good hits
orderedMCParticleVectorthe output vector of ordered MCParticles

Definition at line 43 of file LArMonitoringHelper.cc.

Here is the caller graph for this function:

◆ GetOrderedPfoVector()

void lar_content::LArMonitoringHelper::GetOrderedPfoVector ( const LArMCParticleHelper::PfoContributionMap pfoToReconstructable2DHitsMap,
pandora::PfoVector orderedPfoVector 
)
static

Order input Pfos by their number of hits.

Parameters
pfoToReconstructable2DHitsMapthe input vector of mappings from Pfos to their reconstructable hits
orderedPfoVectorthe output vector of ordered Pfos

Definition at line 91 of file LArMonitoringHelper.cc.

Here is the caller graph for this function:

◆ PrintMatchingTable()

void lar_content::LArMonitoringHelper::PrintMatchingTable ( const pandora::PfoVector orderedPfoVector,
const pandora::MCParticleVector orderedMCParticleVector,
const LArMCParticleHelper::MCParticleToPfoHitSharingMap mcParticleToPfoHitSharingMap,
const unsigned int  nMatches 
)
static

Print the shared good hits between all Pfos and MCParticles.

Parameters
orderedPfoVectorthe input vector of ordered Pfos
orderedMCParticleVectorthe input vector of ordered MCParticles
mcParticleToPfoHitSharingMapthe output mapping from selected reconstructable MCParticles to Pfos and the number hits shared
nMatchesthe maximum number of Pfo matches to show

Definition at line 203 of file LArMonitoringHelper.cc.

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

◆ PrintMCParticleTable()

void lar_content::LArMonitoringHelper::PrintMCParticleTable ( const LArMCParticleHelper::MCContributionMap selectedMCParticleToGoodHitsMaps,
const pandora::MCParticleVector orderedMCParticleVector 
)
static

Print details of selected MCParticles to the terminal in a table.

Parameters
selectedMCParticleToGoodHitsMapthe input mapping from selected reconstructable MCParticles to their good hits
orderedMCParticleVectorthe input vector of ordered MCParticles

Definition at line 124 of file LArMonitoringHelper.cc.

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

◆ PrintPfoTable()

void lar_content::LArMonitoringHelper::PrintPfoTable ( const LArMCParticleHelper::PfoContributionMap pfoToReconstructable2DHitsMap,
const pandora::PfoVector orderedPfoVector 
)
static

Print details of input Pfos to the terminal in a table.

Parameters
pfoToReconstructable2DHitsMapthe input vector of mappings from Pfos to their reconstructable hits
orderedPfoVectorthe input vector of ordered Pfos

Definition at line 169 of file LArMonitoringHelper.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: