TwoViewLongTracksTool class.
More...
#include "TwoViewLongTracksTool.h"
|
typedef TwoViewTransverseTracksAlgorithm::MatchingType::MatrixType | MatrixType |
|
typedef std::vector< MatrixType::ElementList::const_iterator > | IteratorList |
|
|
static bool | HasLongDirectConnections (IteratorList::const_iterator iIter, const IteratorList &iteratorList) |
| Whether a long element shares clusters with any other long elements.
|
|
static bool | IsLongerThanDirectConnections (IteratorList::const_iterator iIter, const MatrixType::ElementList &elementList, const unsigned int minMatchedSamplingPointRatio, const pandora::ClusterSet &usedClusters) |
| Whether a long element is significantly longer that other elements with which it shares a cluster.
|
|
|
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.
|
|
◆ IteratorList
◆ MatrixType
◆ TwoViewLongTracksTool()
lar_content::TwoViewLongTracksTool::TwoViewLongTracksTool |
( |
| ) |
|
◆ FindLongTracks()
Find long tracks, hidden by simple ambiguities in the matrix.
- Parameters
-
overlapMatrix | the overlap matrix |
protoParticleVector | to receive the list of proto particles |
Definition at line 84 of file TwoViewLongTracksTool.cc.
◆ 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.
◆ GetType()
const std::string & pandora::Process::GetType |
( |
| ) |
const |
|
inlineinherited |
Get the type.
- Returns
- The type
Definition at line 102 of file Process.h.
◆ HasLongDirectConnections()
bool lar_content::TwoViewLongTracksTool::HasLongDirectConnections |
( |
IteratorList::const_iterator |
iIter, |
|
|
const IteratorList & |
iteratorList |
|
) |
| |
|
static |
Whether a long element shares clusters with any other long elements.
- Parameters
-
iIter | specifies the long element under consideration |
iteratorList | list of iterators to other long elements |
- Returns
- boolean
Definition at line 29 of file TwoViewLongTracksTool.cc.
◆ Initialize()
|
inlineprotectedvirtualinherited |
◆ IsLongerThanDirectConnections()
bool lar_content::TwoViewLongTracksTool::IsLongerThanDirectConnections |
( |
IteratorList::const_iterator |
iIter, |
|
|
const MatrixType::ElementList & |
elementList, |
|
|
const unsigned int |
minMatchedSamplingPointRatio, |
|
|
const pandora::ClusterSet & |
usedClusters |
|
) |
| |
|
static |
Whether a long element is significantly longer that other elements with which it shares a cluster.
- Parameters
-
iIter | specifies the long element under consideration |
elementList | the full list of connected matrix elements |
minMatchedSamplingPointRatio | the min ratio between 1st and 2nd highest msps for simple ambiguity resolution |
usedClusters | the list of clusters already marked as to be added to a pfo |
Definition at line 45 of file TwoViewLongTracksTool.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()
◆ SelectLongElements()
void lar_content::TwoViewLongTracksTool::SelectLongElements |
( |
const MatrixType::ElementList & |
elementList, |
|
|
const pandora::ClusterSet & |
usedClusters, |
|
|
IteratorList & |
iteratorList |
|
) |
| const |
|
private |
Select a list of long track-like elements from a set of connected matrix elements.
- Parameters
-
elementList | the full list of connected matrix elements |
usedClusters | the list of clusters already marked as to be added to a pfo |
iteratorList | to receive a list of iterators to long track-like elements |
Definition at line 124 of file TwoViewLongTracksTool.cc.
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_minMatchedFraction
float lar_content::TwoViewLongTracksTool::m_minMatchedFraction |
|
private |
◆ m_minMatchedSamplingPointRatio
unsigned int lar_content::TwoViewLongTracksTool::m_minMatchedSamplingPointRatio |
|
private |
The min ratio between 1st and 2nd highest msps for simple ambiguity resolution.
Definition at line 74 of file TwoViewLongTracksTool.h.
◆ m_minMatchedSamplingPoints
unsigned int lar_content::TwoViewLongTracksTool::m_minMatchedSamplingPoints |
|
private |
◆ m_minMatchingScore
float lar_content::TwoViewLongTracksTool::m_minMatchingScore |
|
private |
◆ m_minXOverlapFraction
float lar_content::TwoViewLongTracksTool::m_minXOverlapFraction |
|
private |
◆ 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_type
std::string pandora::Process::m_type |
|
protectedinherited |
The process type.
Definition at line 88 of file Process.h.
The documentation for this class was generated from the following files: