Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
MCParticleMonitoringAlgorithm.h
Go to the documentation of this file.
1
8#ifndef LAR_MC_PARTICLE_MONITORING_ALGORITHM_H
9#define LAR_MC_PARTICLE_MONITORING_ALGORITHM_H 1
10
11#include "Pandora/Algorithm.h"
12
14
15namespace lar_content
16{
17
22{
23public:
28
29private:
32
38 void PrintPrimaryMCParticles(const LArMCParticleHelper::MCContributionMap &mcContributionMap) const;
39
47 void PrintMCParticle(const pandora::MCParticle *const pMCParticle, const LArMCParticleHelper::MCContributionMap &mcToTrueHitListMap,
48 const int depth) const;
49
50 std::string m_caloHitListName;
52
54 unsigned int m_minHitsForDisplay;
55};
56
57} // namespace lar_content
58
59#endif // LAR_MC_PARTICLE_MONITORING_ALGORITHM_H
Header file for the algorithm class.
Header file for the lar monte carlo particle helper helper class.
std::unordered_map< const pandora::MCParticle *, pandora::CaloHitList > MCContributionMap
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
void PrintMCParticle(const pandora::MCParticle *const pMCParticle, const LArMCParticleHelper::MCContributionMap &mcToTrueHitListMap, const int depth) const
Print information for a given mc particle to screen.
void PrintPrimaryMCParticles(const LArMCParticleHelper::MCContributionMap &mcContributionMap) const
Extract details of each mc primary in a given mc contribution map.
std::string m_caloHitListName
Name of input calo hit list.
bool m_useTrueNeutrinosOnly
Whether to consider only mc particles that were neutrino induced.
unsigned int m_minHitsForDisplay
Min hits associated with mc particle to warrant display to terminal.
std::string m_mcParticleListName
Name of input MC particle list.
Algorithm class. Algorithm addresses are held only by the algorithm manager. They have a fully define...
Definition Algorithm.h:21
MCParticle class.
Definition MCParticle.h:26
StatusCode
The StatusCode enum.