LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
StreamSelectionAlgorithm class. More...
#include "StreamSelectionAlgorithm.h"
Public Member Functions | |
StreamSelectionAlgorithm () | |
Default constructor. More... | |
virtual | ~StreamSelectionAlgorithm ()=default |
Protected Types | |
typedef std::map< std::string, pandora::ClusterList > | ClusterListMap |
Protected Member Functions | |
virtual pandora::StatusCode | AllocateToStreams (const pandora::Cluster *const pCluster)=0 |
Allocate a cluster to the appropriate streams. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Protected Attributes | |
std::string | m_inputListName |
The input list name if not using the current list. More... | |
std::string | m_listType |
The type of the input lists (currently only Cluster is supported) More... | |
pandora::StringVector | m_listNames |
The name of the output lists. More... | |
ClusterListMap | m_clusterListMap |
The map from cluster list names to cluster lists. More... | |
Private Member Functions | |
pandora::StatusCode | Run () |
StreamSelectionAlgorithm class.
Definition at line 19 of file StreamSelectionAlgorithm.h.
|
protected |
Definition at line 30 of file StreamSelectionAlgorithm.h.
lar_content::StreamSelectionAlgorithm::StreamSelectionAlgorithm | ( | ) |
Default constructor.
Definition at line 25 of file StreamSelectionAlgorithm.cc.
References m_listType.
|
virtualdefault |
|
protectedpure virtual |
Allocate a cluster to the appropriate streams.
pCluster | The cluster to allocate to a stream |
Implemented in lar_dl_content::DlTrackShowerStreamSelectionAlgorithm.
Referenced by Run().
|
protected |
Definition at line 74 of file StreamSelectionAlgorithm.cc.
References m_inputListName, m_listNames, and m_listType.
|
private |
Definition at line 33 of file StreamSelectionAlgorithm.cc.
References AllocateToStreams(), m_clusterListMap, m_inputListName, and m_listNames.
|
protected |
The map from cluster list names to cluster lists.
Definition at line 46 of file StreamSelectionAlgorithm.h.
Referenced by Run().
|
protected |
The input list name if not using the current list.
Definition at line 43 of file StreamSelectionAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
protected |
The name of the output lists.
Definition at line 45 of file StreamSelectionAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
protected |
The type of the input lists (currently only Cluster is supported)
Definition at line 44 of file StreamSelectionAlgorithm.h.
Referenced by ReadSettings(), and StreamSelectionAlgorithm().