class TMuiClusterContainer

Contains all TMuiCluster objects for a single event

Public Methods

short ClusterCount(const short& arm, const short& plane, const short& panel, const EOrient_t& orient) const
How many clusters are there of this orientation in this panel?
TMuiCluster* Cluster(const TMuiHitID& ident) const
Retrieve (by pointer) a TMuiCluster object by cluster identifier.
TMuiCluster* Cluster(const short& arm, const short& plane, const short& panel, const EOrient_t& orient, const short& cluster_in_panel) const
Retrieve a TMuiCluster by panel, orientation, and cluster number.
vector <long> ClusterIndices() const
Return a list of dMuiClusters indices for the clusters in this container.
short ClusterSeparation(const short& arm, const short& plane, const short& orient) const
Min. allowed separation between clusters in the given arm and plane.
short MaxClusterSize(const short& arm, const short& plane, const short& orient) const
Max. allowed size for clusters in the given arm and plane.
void SetClusterSeparation(const short& x_sep=1, const short& y_sep=1)
Set the minimum allowed separation between clusters in all planes.
void SetClusterSeparation(const short& arm, const short& plane, const short& x_sep, const short& y_sep)
Set min. allowed separation between clusters in the given arm and plane.
void SetMaxClusterSize(const short& x_size=10000, const short& y_size=10000)
Set the maximum allowed size for clusters in all planes.
void SetMaxClusterSize(const short& arm, const short& plane, const short& x_size, const short& y_size)
Set the maximum allowed size for clusters in the given arm and plane.
TMuiCluster* AddCluster(const short& arm, const short& plane, const short& panel, const EOrient_t& orient)
Add a new cluster in the given panel to the container.
void RemoveCluster(TMuiCluster* const& cluster)
Remove a given cluster from the container.
void PlaceHit(TMuiHit* const& hit, const short& arm, const short& plane, const short& panel, const EOrient_t& orient)
Add the hit to the most appropriate cluster in the given panel.
void MakeClusters(TMuiHitContainer* const& hitContainer)
Associate each hit in the hit container with a cluster.
void Clear()
Remove all cluster objects from the container, and destroy them.

Documentation

Contains all TMuiCluster objects for a single event. Access is optimized for referencing by TMuiHitID indices.

short ClusterCount(const short& arm, const short& plane, const short& panel, const EOrient_t& orient) const
How many clusters are there of this orientation in this panel?

TMuiCluster* Cluster(const TMuiHitID& ident) const
Retrieve (by pointer) a TMuiCluster object by cluster identifier.

TMuiCluster* Cluster(const short& arm, const short& plane, const short& panel, const EOrient_t& orient, const short& cluster_in_panel) const
Retrieve a TMuiCluster by panel, orientation, and cluster number.

vector <long> ClusterIndices() const
Return a list of dMuiClusters indices for the clusters in this container.

short ClusterSeparation(const short& arm, const short& plane, const short& orient) const
Min. allowed separation between clusters in the given arm and plane.

short MaxClusterSize(const short& arm, const short& plane, const short& orient) const
Max. allowed size for clusters in the given arm and plane.

void SetClusterSeparation(const short& x_sep=1, const short& y_sep=1)
Set the minimum allowed separation between clusters in all planes.

void SetClusterSeparation(const short& arm, const short& plane, const short& x_sep, const short& y_sep)
Set min. allowed separation between clusters in the given arm and plane.

void SetMaxClusterSize(const short& x_size=10000, const short& y_size=10000)
Set the maximum allowed size for clusters in all planes.

void SetMaxClusterSize(const short& arm, const short& plane, const short& x_size, const short& y_size)
Set the maximum allowed size for clusters in the given arm and plane.

TMuiCluster* AddCluster(const short& arm, const short& plane, const short& panel, const EOrient_t& orient)
Add a new cluster in the given panel to the container.

void RemoveCluster(TMuiCluster* const& cluster)
Remove a given cluster from the container.

void PlaceHit(TMuiHit* const& hit, const short& arm, const short& plane, const short& panel, const EOrient_t& orient)
Add the hit to the most appropriate cluster in the given panel.

void MakeClusters(TMuiHitContainer* const& hitContainer)
Associate each hit in the hit container with a cluster.

void Clear()
Remove all cluster objects from the container, and destroy them.


This class has no child classes.
Author:
Kyle Pope mailto:pope@phy.ornl.gov
See Also:
TMuiCluster

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de