NeutrinoEventValidationAlgorithm class.
More...
#include "NeutrinoEventValidationAlgorithm.h"
|
void | InterpretMatching (const ValidationInfo &validationInfo, LArMCParticleHelper::MCParticleToPfoHitSharingMap &interpretedMCToPfoHitSharingMap) const |
| Apply an interpretative matching procedure to the comprehensive matches in the provided validation info object.
|
|
bool | GetStrongestPfoMatch (const ValidationInfo &validationInfo, const pandora::MCParticleVector &mcPrimaryVector, pandora::PfoSet &usedPfos, LArMCParticleHelper::MCParticleToPfoHitSharingMap &interpretedMCToPfoHitSharingMap) const |
| Get the strongest pfo match (most matched hits) between an available mc primary and an available pfo.
|
|
void | GetRemainingPfoMatches (const ValidationInfo &validationInfo, const pandora::MCParticleVector &mcPrimaryVector, const pandora::PfoSet &usedPfos, LArMCParticleHelper::MCParticleToPfoHitSharingMap &interpretedMCToPfoHitSharingMap) const |
| Get the best matches for any pfos left-over after the strong matching procedure.
|
|
bool | IsGoodMatch (const pandora::CaloHitList &trueHits, const pandora::CaloHitList &recoHits, const pandora::CaloHitList &sharedHits) const |
| Whether a provided mc primary and pfo are deemed to be a good match.
|
|
virtual StatusCode | Initialize () |
| Perform any operations that must occur after reading settings, but before running the process.
|
|
virtual StatusCode | Reset () |
| Perform any operations when pandora is reset, typically at the end of each event.
|
|
StatusCode | RegisterDetails (const Pandora *const pPandora, const std::string &type, const std::string &instanceName) |
| Register i) the pandora instance that will run the process and ii) the process type.
|
|
◆ HitTypeVector
◆ PfoToIdMap
◆ NeutrinoEventValidationAlgorithm()
lar_content::NeutrinoEventValidationAlgorithm::NeutrinoEventValidationAlgorithm |
( |
| ) |
|
◆ ~NeutrinoEventValidationAlgorithm()
lar_content::NeutrinoEventValidationAlgorithm::~NeutrinoEventValidationAlgorithm |
( |
| ) |
|
◆ FillValidationInfo()
◆ GetInstanceName()
const std::string & pandora::Process::GetInstanceName |
( |
| ) |
const |
|
inlineinherited |
Get the instance name.
- Returns
- The instance name
Definition at line 109 of file Process.h.
◆ GetPandora()
const Pandora & pandora::Process::GetPandora |
( |
| ) |
const |
|
inlineinherited |
Get the associated pandora instance.
- Returns
- the associated pandora instance
Definition at line 116 of file Process.h.
◆ GetRemainingPfoMatches()
Get the best matches for any pfos left-over after the strong matching procedure.
- Parameters
-
validationInfo | the validation info |
mcPrimaryVector | the mc primary vector |
usedPfos | the set of previously used pfos |
interpretedMCToPfoHitSharingMap | the output, interpreted mc particle to pfo hit sharing map |
Definition at line 155 of file EventValidationBaseAlgorithm.cc.
◆ GetStrongestPfoMatch()
Get the strongest pfo match (most matched hits) between an available mc primary and an available pfo.
- Parameters
-
validationInfo | the validation info |
mcPrimaryVector | the mc primary vector |
usedPfos | the set of previously used pfos |
interpretedMCToPfoHitSharingMap | the output, interpreted mc particle to pfo hit sharing map |
- Returns
- whether a strong match was identified
Definition at line 111 of file EventValidationBaseAlgorithm.cc.
◆ GetType()
const std::string & pandora::Process::GetType |
( |
| ) |
const |
|
inlineinherited |
Get the type.
- Returns
- The type
Definition at line 102 of file Process.h.
◆ Initialize()
|
inlineprotectedvirtualinherited |
◆ InterpretMatching()
Apply an interpretative matching procedure to the comprehensive matches in the provided validation info object.
- Parameters
-
validationInfo | the validation info |
interpretedMCToPfoHitSharingMap | the output, interpreted mc particle to pfo hit sharing map |
Definition at line 86 of file EventValidationBaseAlgorithm.cc.
◆ IsGoodMatch()
Whether a provided mc primary and pfo are deemed to be a good match.
- Parameters
-
trueHits | the list of true hits |
recoHits | the list of reco hits |
sharedHits | the list of shared hits |
- Returns
- boolean
Definition at line 203 of file EventValidationBaseAlgorithm.cc.
◆ PrintAllMatches()
void lar_content::EventValidationBaseAlgorithm::PrintAllMatches |
( |
const ValidationInfo & |
validationInfo | ) |
const |
|
inlineprivateinherited |
◆ PrintInterpretedMatches()
void lar_content::EventValidationBaseAlgorithm::PrintInterpretedMatches |
( |
const ValidationInfo & |
validationInfo | ) |
const |
|
inlineprivateinherited |
◆ ProcessOutput()
void lar_content::NeutrinoEventValidationAlgorithm::ProcessOutput |
( |
const ValidationInfo & |
validationInfo, |
|
|
const bool |
useInterpretedMatching, |
|
|
const bool |
printToScreen, |
|
|
const bool |
fillTree |
|
) |
| const |
|
privatevirtual |
Print matching information in a provided validation info object, and write information to tree if configured to do so.
- Parameters
-
validationInfo | the validation info |
useInterpretedMatching | whether to use the interpreted (rather than raw) matching information |
printToScreen | whether to print the information to screen |
fillTree | whether to write the information to tree |
Implements lar_content::EventValidationBaseAlgorithm.
Definition at line 108 of file NeutrinoEventValidationAlgorithm.cc.
◆ ReadSettings()
◆ RegisterDetails()
StatusCode pandora::Process::RegisterDetails |
( |
const Pandora *const |
pPandora, |
|
|
const std::string & |
type, |
|
|
const std::string & |
instanceName |
|
) |
| |
|
inlineprotectedinherited |
Register i) the pandora instance that will run the process and ii) the process type.
- Parameters
-
pPandora | address of the pandora object that will run the process |
type | the process type |
instanceName | the process instance name |
Definition at line 146 of file Process.h.
◆ Reset()
|
inlineprotectedvirtualinherited |
◆ Run()
StatusCode lar_content::EventValidationBaseAlgorithm::Run |
( |
| ) |
|
|
privatevirtualinherited |
◆ WriteInterpretedMatches()
void lar_content::EventValidationBaseAlgorithm::WriteInterpretedMatches |
( |
const ValidationInfo & |
validationInfo | ) |
const |
|
inlineprivateinherited |
◆ m_caloHitListName
std::string lar_content::EventValidationBaseAlgorithm::m_caloHitListName |
|
privateinherited |
◆ m_eventNumber
int lar_content::EventValidationBaseAlgorithm::m_eventNumber |
|
protectedinherited |
◆ m_fileIdentifier
int lar_content::EventValidationBaseAlgorithm::m_fileIdentifier |
|
protectedinherited |
◆ m_fileName
std::string lar_content::EventValidationBaseAlgorithm::m_fileName |
|
privateinherited |
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_matchingMinCompleteness
float lar_content::EventValidationBaseAlgorithm::m_matchingMinCompleteness |
|
privateinherited |
◆ m_matchingMinPurity
float lar_content::EventValidationBaseAlgorithm::m_matchingMinPurity |
|
privateinherited |
◆ m_matchingMinSharedHits
unsigned int lar_content::EventValidationBaseAlgorithm::m_matchingMinSharedHits |
|
privateinherited |
◆ m_mcParticleListName
std::string lar_content::EventValidationBaseAlgorithm::m_mcParticleListName |
|
privateinherited |
◆ m_pfoListName
std::string lar_content::EventValidationBaseAlgorithm::m_pfoListName |
|
privateinherited |
◆ m_pPandora
const Pandora* pandora::Process::m_pPandora |
|
protectedinherited |
The pandora object that will run the process.
Definition at line 87 of file Process.h.
◆ m_primaryParameters
◆ m_printAllToScreen
bool lar_content::EventValidationBaseAlgorithm::m_printAllToScreen |
|
privateinherited |
◆ m_printMatchingToScreen
bool lar_content::EventValidationBaseAlgorithm::m_printMatchingToScreen |
|
privateinherited |
◆ m_treeName
std::string lar_content::EventValidationBaseAlgorithm::m_treeName |
|
protectedinherited |
◆ m_type
std::string pandora::Process::m_type |
|
protectedinherited |
The process type.
Definition at line 88 of file Process.h.
◆ m_useSmallPrimaries
bool lar_content::EventValidationBaseAlgorithm::m_useSmallPrimaries |
|
privateinherited |
◆ m_useTrueNeutrinosOnly
bool lar_content::NeutrinoEventValidationAlgorithm::m_useTrueNeutrinosOnly |
|
private |
◆ m_writeToTree
bool lar_content::EventValidationBaseAlgorithm::m_writeToTree |
|
privateinherited |
The documentation for this class was generated from the following files: