8#ifndef PANDORA_CLUSTER_MANAGER_H
9#define PANDORA_CLUSTER_MANAGER_H 1
117 const std::string &enlargeListName,
const std::string &deleteListName);
Header file for the algorithm object manager class.
Header file for pandora object creation classes.
Header file defining relevant internal typedefs, sort and string conversion functions.
AlgorithmObjectManager class.
bool IsAvailable(const T *const pT) const
Is a cluster, or a list of clusters, available to add to a particle flow object.
StatusCode RemoveFromCluster(const Cluster *const pCluster, const CaloHit *const pCaloHit)
Remove a calo hit from a cluster.
StatusCode RemoveIsolatedFromCluster(const Cluster *const pCluster, const CaloHit *const pCaloHit)
Remove an isolated calo hit from a cluster.
StatusCode RemoveTrackAssociation(const Cluster *const pCluster, const Track *const pTrack) const
Remove an association between a cluster and a track.
void SetAvailability(const T *const pT, bool isAvailable) const
Set availability of a cluster, or a list of clusters, to be added to a particle flow object.
StatusCode AddToCluster(const Cluster *const pCluster, const CaloHit *const pCaloHit)
Add a calo hit to a cluster.
StatusCode RemoveCurrentTrackAssociations(TrackList &danglingTracks) const
Remove cluster to track associations from all clusters in the current list.
StatusCode RemoveAllTrackAssociations() const
Remove all cluster to track associations.
StatusCode MergeAndDeleteClusters(const Cluster *const pClusterToEnlarge, const Cluster *const pClusterToDelete, const std::string &enlargeListName, const std::string &deleteListName)
Merge two clusters from two specified lists, enlarging one cluster and deleting the second.
StatusCode RemoveTrackAssociations(const TrackToClusterMap &trackToClusterList) const
Remove a specified list of cluster to track associations.
StatusCode AddIsolatedToCluster(const Cluster *const pCluster, const CaloHit *const pCaloHit)
Add an isolated calo hit to a cluster. This is not counted as a regular calo hit: it contributes only...
StatusCode AddTrackAssociation(const Cluster *const pCluster, const Track *const pTrack) const
Add an association between a cluster and a track.
~ClusterManager()
Destructor.
StatusCode Create(const object_creation::Cluster::Parameters ¶meters, const Cluster *&pCluster, const ObjectFactory< object_creation::Cluster::Parameters, object_creation::Cluster::Object > &factory)
Create cluster.
StatusCode AlterMetadata(const Cluster *const pCluster, const object_creation::Cluster::Metadata &metadata) const
Alter the metadata information stored in a cluster.
ObjectFactory class responsible for extended pandora object creation.
PandoraContentApiImpl class.
MANAGED_CONTAINER< const Track * > TrackList
std::unordered_map< const Track *, const Cluster * > TrackToClusterMap
StatusCode
The StatusCode enum.