Pandora
Pandora source code navigator
|
CutPfoCharacterisationAlgorithm class. More...
#include "CutPfoCharacterisationAlgorithm.h"
Public Member Functions | |
CutPfoCharacterisationAlgorithm () | |
Default constructor. | |
const std::string & | GetType () const |
Get the type. | |
const std::string & | GetInstanceName () const |
Get the instance name. | |
const Pandora & | GetPandora () const |
Get the associated pandora instance. | |
Protected Member Functions | |
pandora::StatusCode | Run () |
Run the algorithm. | |
virtual bool | IsClearTrack3x2D (const pandora::ParticleFlowObject *const pPfo) const |
Whether pfo is identified as a clear track using its three clusters. | |
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. | |
Protected Attributes | |
std::string | m_trackPfoListName |
The track pfo list name. | |
std::string | m_showerPfoListName |
The shower pfo list name. | |
pandora::StringVector | m_inputPfoListNames |
The names of the input pfo lists. | |
bool | m_updateClusterIds |
Whether to update daughter cluster particle id labels to match pfo id. | |
bool | m_useThreeDInformation |
Whether to use PFO and 3D information or clusters for characterisation. | |
unsigned int | m_minTrackLikeViews |
The minimum number of track-like views to declare a pfo as track-like. | |
const Pandora * | m_pPandora |
The pandora object that will run the process. | |
std::string | m_type |
The process type. | |
std::string | m_instanceName |
The process instance name. | |
Private Member Functions | |
bool | IsClearTrack (const pandora::Cluster *const pCluster) const |
Whether cluster is identified as a clear track. | |
bool | IsClearTrack (const pandora::ParticleFlowObject *const pPfo) const |
Whether pfo is identified as a clear track. | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Read the algorithm settings. | |
Private Attributes | |
bool | m_postBranchAddition |
Whether to use configuration for shower clusters post branch addition. | |
unsigned int | m_slidingFitWindow |
The layer window for the sliding linear fits. | |
unsigned int | m_slidingShowerFitWindow |
The layer window for the sliding shower fits. | |
float | m_maxShowerLengthCut |
The maximum cluster length to qualify as a shower. | |
float | m_dTdLWidthRatioCut |
The maximum ratio of transverse fit gradient width to straight line length to qualify as a track. | |
float | m_vertexDistanceRatioCut |
The maximum ratio of vertex separation to straight line length to qualify as a track. | |
float | m_showerWidthRatioCut |
The maximum ratio of shower fit width to straight line length to qualify as a track. | |
CutPfoCharacterisationAlgorithm class.
Definition at line 19 of file CutPfoCharacterisationAlgorithm.h.
lar_content::CutPfoCharacterisationAlgorithm::CutPfoCharacterisationAlgorithm | ( | ) |
Default constructor.
Definition at line 24 of file CutPfoCharacterisationAlgorithm.cc.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedvirtualinherited |
Perform any operations that must occur after reading settings, but before running the process.
Reimplemented in lar_content::BdtBeamParticleIdTool, lar_content::BeamParticleIdTool, lar_content::CosmicRayTaggingTool, lar_content::EventReadingAlgorithm, lar_content::EventWritingAlgorithm, lar_content::LArPseudoLayerPlugin, lar_content::LArRotationalTransformationPlugin, EventReadingAlgorithm, and EventWritingAlgorithm.
Definition at line 126 of file Process.h.
|
privatevirtual |
Whether cluster is identified as a clear track.
pCluster | address of the relevant cluster |
Implements lar_content::PfoCharacterisationBaseAlgorithm.
Definition at line 37 of file CutPfoCharacterisationAlgorithm.cc.
|
privatevirtual |
Whether pfo is identified as a clear track.
pPfo | address of the relevant pfo |
Implements lar_content::PfoCharacterisationBaseAlgorithm.
Definition at line 81 of file CutPfoCharacterisationAlgorithm.cc.
|
protectedvirtualinherited |
Whether pfo is identified as a clear track using its three clusters.
pPfo | address of the relevant pfo |
Definition at line 108 of file PfoCharacterisationBaseAlgorithm.cc.
|
privatevirtual |
Read the algorithm settings.
xmlHandle | the relevant xml handle |
Implements pandora::Process.
Definition at line 88 of file CutPfoCharacterisationAlgorithm.cc.
|
inlineprotectedinherited |
Register i) the pandora instance that will run the process and ii) the process type.
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.
|
inlineprotectedvirtualinherited |
Perform any operations when pandora is reset, typically at the end of each event.
Reimplemented in lar_content::MasterAlgorithm, lar_content::PostProcessingAlgorithm, and lar_content::PreProcessingAlgorithm.
Definition at line 133 of file Process.h.
|
protectedvirtualinherited |
Run the algorithm.
Implements pandora::Algorithm.
Definition at line 39 of file PfoCharacterisationBaseAlgorithm.cc.
|
private |
The maximum ratio of transverse fit gradient width to straight line length to qualify as a track.
Definition at line 36 of file CutPfoCharacterisationAlgorithm.h.
|
protectedinherited |
The names of the input pfo lists.
Definition at line 66 of file PfoCharacterisationBaseAlgorithm.h.
|
protectedinherited |
|
private |
The maximum cluster length to qualify as a shower.
Definition at line 35 of file CutPfoCharacterisationAlgorithm.h.
|
protectedinherited |
The minimum number of track-like views to declare a pfo as track-like.
Definition at line 71 of file PfoCharacterisationBaseAlgorithm.h.
|
private |
Whether to use configuration for shower clusters post branch addition.
Definition at line 32 of file CutPfoCharacterisationAlgorithm.h.
|
protectedinherited |
|
protectedinherited |
The shower pfo list name.
Definition at line 65 of file PfoCharacterisationBaseAlgorithm.h.
|
private |
The maximum ratio of shower fit width to straight line length to qualify as a track.
Definition at line 38 of file CutPfoCharacterisationAlgorithm.h.
|
private |
The layer window for the sliding linear fits.
Definition at line 33 of file CutPfoCharacterisationAlgorithm.h.
|
private |
The layer window for the sliding shower fits.
Definition at line 34 of file CutPfoCharacterisationAlgorithm.h.
|
protectedinherited |
The track pfo list name.
Definition at line 64 of file PfoCharacterisationBaseAlgorithm.h.
|
protectedinherited |
|
protectedinherited |
Whether to update daughter cluster particle id labels to match pfo id.
Definition at line 68 of file PfoCharacterisationBaseAlgorithm.h.
|
protectedinherited |
Whether to use PFO and 3D information or clusters for characterisation.
Definition at line 70 of file PfoCharacterisationBaseAlgorithm.h.
|
private |
The maximum ratio of vertex separation to straight line length to qualify as a track.
Definition at line 37 of file CutPfoCharacterisationAlgorithm.h.