LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
MCParticleMonitoringAlgorithm class. More...
#include "MCParticleMonitoringAlgorithm.h"
Public Member Functions | |
MCParticleMonitoringAlgorithm () | |
Default constructor. More... | |
Private Member Functions | |
pandora::StatusCode | Run () |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
void | PrintPrimaryMCParticles (const LArMCParticleHelper::MCContributionMap &mcContributionMap) const |
Extract details of each mc primary in a given mc contribution map. More... | |
void | PrintMCParticle (const pandora::MCParticle *const pMCParticle, const LArMCParticleHelper::MCContributionMap &mcToTrueHitListMap, const int depth) const |
Print information for a given mc particle to screen. More... | |
Private Attributes | |
std::string | m_caloHitListName |
Name of input calo hit list. More... | |
std::string | m_mcParticleListName |
Name of input MC particle list. More... | |
bool | m_useTrueNeutrinosOnly |
Whether to consider only mc particles that were neutrino induced. More... | |
unsigned int | m_minHitsForDisplay |
Min hits associated with mc particle to warrant display to terminal. More... | |
MCParticleMonitoringAlgorithm class.
Definition at line 21 of file MCParticleMonitoringAlgorithm.h.
lar_content::MCParticleMonitoringAlgorithm::MCParticleMonitoringAlgorithm | ( | ) |
Default constructor.
Definition at line 26 of file MCParticleMonitoringAlgorithm.cc.
|
private |
Print information for a given mc particle to screen.
pMCParticle | the address of the mc particle |
mcToTrueHitListMap | the mc to true hit list map |
depth | the depth in the mc particle decay hierarchy |
Definition at line 114 of file MCParticleMonitoringAlgorithm.cc.
References lar_content::LArMonitoringHelper::CountHitsByType(), and m_minHitsForDisplay.
Referenced by PrintPrimaryMCParticles().
|
private |
Extract details of each mc primary in a given mc contribution map.
mcContributionMap | the mc contribution map |
Definition at line 82 of file MCParticleMonitoringAlgorithm.cc.
References lar_content::LArMonitoringHelper::CountHitsByType(), lar_content::LArMCParticleHelper::GetMCParticleToCaloHitMatches(), lar_content::LArMonitoringHelper::GetOrderedMCParticleVector(), m_minHitsForDisplay, and PrintMCParticle().
Referenced by Run().
|
private |
Definition at line 140 of file MCParticleMonitoringAlgorithm.cc.
References m_caloHitListName, m_mcParticleListName, m_minHitsForDisplay, and m_useTrueNeutrinosOnly.
|
private |
Definition at line 34 of file MCParticleMonitoringAlgorithm.cc.
References lar_content::LArMCParticleHelper::IsBeamNeutrinoFinalState(), lar_content::LArMCParticleHelper::IsBeamParticle(), lar_content::LArMCParticleHelper::IsCosmicRay(), m_caloHitListName, m_mcParticleListName, lar_content::LArMCParticleHelper::PrimaryParameters::m_minHitSharingFraction, m_useTrueNeutrinosOnly, PrintPrimaryMCParticles(), and lar_content::LArMCParticleHelper::SelectReconstructableMCParticles().
|
private |
Name of input calo hit list.
Definition at line 50 of file MCParticleMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Name of input MC particle list.
Definition at line 51 of file MCParticleMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Min hits associated with mc particle to warrant display to terminal.
Definition at line 54 of file MCParticleMonitoringAlgorithm.h.
Referenced by PrintMCParticle(), PrintPrimaryMCParticles(), and ReadSettings().
|
private |
Whether to consider only mc particles that were neutrino induced.
Definition at line 53 of file MCParticleMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().