LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
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. More... | |
static void | GetOrderedMCParticleVector (const LArMCParticleHelper::MCContributionMapVector &selectedMCParticleToGoodHitsMaps, pandora::MCParticleVector &orderedMCParticleVector) |
Order input MCParticles by their number of hits. More... | |
static void | GetOrderedPfoVector (const LArMCParticleHelper::PfoContributionMap &pfoToReconstructable2DHitsMap, pandora::PfoVector &orderedPfoVector) |
Order input Pfos by their number of hits. More... | |
static void | PrintMCParticleTable (const LArMCParticleHelper::MCContributionMap &selectedMCParticleToGoodHitsMaps, const pandora::MCParticleVector &orderedMCParticleVector) |
Print details of selected MCParticles to the terminal in a table. More... | |
static void | PrintPfoTable (const LArMCParticleHelper::PfoContributionMap &pfoToReconstructable2DHitsMap, const pandora::PfoVector &orderedPfoVector) |
Print details of input Pfos to the terminal in a table. More... | |
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. More... | |
LArMonitoringHelper class.
Definition at line 21 of file LArMonitoringHelper.h.
|
static |
Count the number of calo hits, in a provided list, of a specified type.
hitType | the hit type |
caloHitList | the calo hit list |
Definition at line 28 of file LArMonitoringHelper.cc.
Referenced by lar_content::MCParticleMonitoringAlgorithm::PrintMCParticle(), lar_content::CosmicRayTaggingMonitoringTool::PrintPfoTable(), lar_content::MCParticleMonitoringAlgorithm::PrintPrimaryMCParticles(), lar_content::EventValidationAlgorithm::ProcessOutput(), and lar_content::LArMCParticleHelper::SelectParticlesByHitCount().
|
static |
Order input MCParticles by their number of hits.
selectedMCParticleToGoodHitsMaps | the input vector of mappings from selected reconstructable MCParticles to their good hits |
orderedMCParticleVector | the output vector of ordered MCParticles |
Definition at line 43 of file LArMonitoringHelper.cc.
Referenced by lar_content::CosmicRayTaggingMonitoringTool::FindAmbiguousPfos(), lar_content::EventValidationAlgorithm::InterpretMatching(), lar_content::MCParticleMonitoringAlgorithm::PrintPrimaryMCParticles(), lar_content::EventValidationAlgorithm::ProcessOutput(), and lar_content::PfoValidationAlgorithm::Run().
|
static |
Order input Pfos by their number of hits.
pfoToReconstructable2DHitsMap | the input vector of mappings from Pfos to their reconstructable hits |
orderedPfoVector | the output vector of ordered Pfos |
Definition at line 88 of file LArMonitoringHelper.cc.
Referenced by lar_content::CosmicRayTaggingMonitoringTool::FindAmbiguousPfos(), lar_content::EventValidationAlgorithm::ProcessOutput(), and lar_content::PfoValidationAlgorithm::Run().
|
static |
Print the shared good hits between all Pfos and MCParticles.
orderedPfoVector | the input vector of ordered Pfos |
orderedMCParticleVector | the input vector of ordered MCParticles |
mcParticleToPfoHitSharingMap | the output mapping from selected reconstructable MCParticles to Pfos and the number hits shared |
nMatches | the maximum number of Pfo matches to show |
Definition at line 199 of file LArMonitoringHelper.cc.
References lar_content::LArFormattingHelper::Table::AddElement(), max, min, and lar_content::LArFormattingHelper::Table::Print().
Referenced by lar_content::PfoValidationAlgorithm::Run().
|
static |
Print details of selected MCParticles to the terminal in a table.
selectedMCParticleToGoodHitsMap | the input mapping from selected reconstructable MCParticles to their good hits |
orderedMCParticleVector | the input vector of ordered MCParticles |
Definition at line 121 of file LArMonitoringHelper.cc.
Referenced by lar_content::CosmicRayTaggingMonitoringTool::FindAmbiguousPfos(), and lar_content::PfoValidationAlgorithm::Run().
|
static |
Print details of input Pfos to the terminal in a table.
pfoToReconstructable2DHitsMap | the input vector of mappings from Pfos to their reconstructable hits |
orderedPfoVector | the input vector of ordered Pfos |
Definition at line 165 of file LArMonitoringHelper.cc.
Referenced by lar_content::PfoValidationAlgorithm::Run().