Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
NeutrinoEventValidationAlgorithm.h
Go to the documentation of this file.
1
8#ifndef LAR_NEUTRINO_EVENT_VALIDATION_ALGORITHM_H
9#define LAR_NEUTRINO_EVENT_VALIDATION_ALGORITHM_H 1
10
11#include "Pandora/Algorithm.h"
12
14
16
17#ifdef MONITORING
18#include "PandoraMonitoringApi.h"
19#endif
20
21#include <map>
22
23namespace lar_content
24{
25
30{
31public:
36
41
42private:
51 void FillValidationInfo(const pandora::MCParticleList *const pMCParticleList, const pandora::CaloHitList *const pCaloHitList,
52 const pandora::PfoList *const pPfoList, ValidationInfo &validationInfo) const;
53
54 typedef std::unordered_map<const pandora::ParticleFlowObject *, unsigned int> PfoToIdMap;
55
64 void ProcessOutput(const ValidationInfo &validationInfo, const bool useInterpretedMatching, const bool printToScreen, const bool fillTree) const;
65
67
68 typedef std::vector<pandora::HitType> HitTypeVector;
69
71};
72
73} // namespace lar_content
74
75#endif // LAR_NEUTRINO_EVENT_VALIDATION_ALGORITHM_H
Header file for the algorithm class.
Header file for the event validation algorithm.
Header file for the lar monte carlo particle helper helper class.
void ProcessOutput(const ValidationInfo &validationInfo, const bool useInterpretedMatching, const bool printToScreen, const bool fillTree) const
Print matching information in a provided validation info object, and write information to tree if con...
bool m_useTrueNeutrinosOnly
Whether to consider only mc particles that were neutrino induced.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
std::unordered_map< const pandora::ParticleFlowObject *, unsigned int > PfoToIdMap
void FillValidationInfo(const pandora::MCParticleList *const pMCParticleList, const pandora::CaloHitList *const pCaloHitList, const pandora::PfoList *const pPfoList, ValidationInfo &validationInfo) const
Fill the validation info containers.
MANAGED_CONTAINER< const MCParticle * > MCParticleList
MANAGED_CONTAINER< const CaloHit * > CaloHitList
StatusCode
The StatusCode enum.
MANAGED_CONTAINER< const ParticleFlowObject * > PfoList