LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
VisualParticleMonitoringAlgorithm class. More...
#include "VisualParticleMonitoringAlgorithm.h"
Public Member Functions | |
VisualParticleMonitoringAlgorithm () | |
Default constructor. More... | |
virtual | ~VisualParticleMonitoringAlgorithm () |
Private Member Functions | |
pandora::StatusCode | Run () |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
std::string | m_caloHitListName |
Name of input calo hit list. More... | |
std::string | m_pfoListName |
Name of input PFO list. More... | |
bool | m_visualizeMC |
Whether or not to visualize MC particles. More... | |
bool | m_visualizePfo |
Whether or not to visualize PFOs. More... | |
bool | m_visualizeSlice |
Whether or not to visualize reconstructed slices. More... | |
bool | m_groupMCByPdg |
Whether or not to group MC particles by particle id. More... | |
bool | m_showPfoByPid |
Whether or not to colour PFOs by particle id. More... | |
bool | m_showPfoMatchedMC |
Whether or not to display the best matched MC particle for a PFO. More... | |
bool | m_isTestBeam |
Whether or not this is a test beam experiment. More... | |
float | m_transparencyThresholdE |
Cell energy for which transparency is saturated (0%, fully opaque) More... | |
float | m_energyScaleThresholdE |
Cell energy for which color is at top end of continous color palette. More... | |
float | m_scalingFactor |
TEve works with [cm], Pandora usually works with [mm] (but LArContent went with cm too) More... | |
VisualParticleMonitoringAlgorithm class.
Definition at line 21 of file VisualParticleMonitoringAlgorithm.h.
lar_content::VisualParticleMonitoringAlgorithm::VisualParticleMonitoringAlgorithm | ( | ) |
Default constructor.
Definition at line 22 of file VisualParticleMonitoringAlgorithm.cc.
References m_energyScaleThresholdE, m_scalingFactor, and m_transparencyThresholdE.
|
virtual |
Definition at line 38 of file VisualParticleMonitoringAlgorithm.cc.
|
private |
Definition at line 474 of file VisualParticleMonitoringAlgorithm.cc.
References m_caloHitListName, m_energyScaleThresholdE, m_groupMCByPdg, m_isTestBeam, m_pfoListName, m_scalingFactor, m_showPfoByPid, m_showPfoMatchedMC, m_transparencyThresholdE, m_visualizeMC, m_visualizePfo, and m_visualizeSlice.
|
private |
Definition at line 44 of file VisualParticleMonitoringAlgorithm.cc.
References util::abs(), util::empty(), lar_content::LArPfoHelper::GetBreadthFirstHierarchyRepresentation(), lar_content::LArMCParticleHelper::GetBreadthFirstHierarchyRepresentation(), lar_content::LArPfoHelper::GetCaloHits(), lar_content::LArPfoHelper::GetIsolatedCaloHits(), lar_content::LArMCParticleHelper::GetMainMCParticle(), lar_content::LArMCParticleHelper::IsBeamNeutrinoFinalState(), lar_content::LArMCParticleHelper::IsBeamParticle(), lar_content::LArMCParticleHelper::IsCosmicRay(), lar_content::LArPfoHelper::IsTrack(), m_caloHitListName, m_energyScaleThresholdE, lar_content::LArMCParticleHelper::PrimaryParameters::m_foldBackHierarchy, m_groupMCByPdg, m_isTestBeam, lar_content::LArMCParticleHelper::PrimaryParameters::m_maxPhotonPropagation, lar_content::LArMCParticleHelper::PrimaryParameters::m_minHitsForGoodView, lar_content::LArMCParticleHelper::PrimaryParameters::m_minHitSharingFraction, lar_content::LArMCParticleHelper::PrimaryParameters::m_minPrimaryGoodHits, m_pfoListName, m_scalingFactor, m_showPfoByPid, m_showPfoMatchedMC, m_transparencyThresholdE, m_visualizeMC, m_visualizePfo, m_visualizeSlice, lar_content::LArMCParticleHelper::SelectReconstructableMCParticles(), util::to_string(), and value.
|
private |
Name of input calo hit list.
Definition at line 102 of file VisualParticleMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Cell energy for which color is at top end of continous color palette.
Definition at line 112 of file VisualParticleMonitoringAlgorithm.h.
Referenced by ReadSettings(), Run(), and VisualParticleMonitoringAlgorithm().
|
private |
Whether or not to group MC particles by particle id.
Definition at line 107 of file VisualParticleMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Whether or not this is a test beam experiment.
Definition at line 110 of file VisualParticleMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Name of input PFO list.
Definition at line 103 of file VisualParticleMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
TEve works with [cm], Pandora usually works with [mm] (but LArContent went with cm too)
Definition at line 113 of file VisualParticleMonitoringAlgorithm.h.
Referenced by ReadSettings(), Run(), and VisualParticleMonitoringAlgorithm().
|
private |
Whether or not to colour PFOs by particle id.
Definition at line 108 of file VisualParticleMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Whether or not to display the best matched MC particle for a PFO.
Definition at line 109 of file VisualParticleMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Cell energy for which transparency is saturated (0%, fully opaque)
Definition at line 111 of file VisualParticleMonitoringAlgorithm.h.
Referenced by ReadSettings(), Run(), and VisualParticleMonitoringAlgorithm().
|
private |
Whether or not to visualize MC particles.
Definition at line 104 of file VisualParticleMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Whether or not to visualize PFOs.
Definition at line 105 of file VisualParticleMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Whether or not to visualize reconstructed slices.
Definition at line 106 of file VisualParticleMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().