LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
cluster::fuzzyClusterAlg::trackCluster Class Reference

This stores information about a tracklike cluster. More...

Inheritance diagram for cluster::fuzzyClusterAlg::trackCluster:
cluster::fuzzyClusterAlg::baseCluster

Public Member Functions

 trackCluster (protoTrack protoTrackTemp)
 
void addProtoTracks (std::vector< protoTrack > tracksToAdd)
 
void clearProtoTracks ()
 

Public Attributes

int clusterNumber =-999999
 
std::vector< protoTrackclusterProtoTracks
 

Detailed Description

This stores information about a tracklike cluster.

Definition at line 93 of file fuzzyClusterAlg.cxx.

Constructor & Destructor Documentation

cluster::fuzzyClusterAlg::trackCluster::trackCluster ( protoTrack  protoTrackTemp)
inline

Definition at line 95 of file fuzzyClusterAlg.cxx.

References cluster::kNO_CLUSTER, and cluster::kNOISE_CLUSTER.

95 : baseCluster(protoTrackTemp) {}
baseCluster(protoTrack protoTrackTemp)

Member Function Documentation

void cluster::fuzzyClusterAlg::baseCluster::addProtoTracks ( std::vector< protoTrack tracksToAdd)
inlineinherited

Definition at line 69 of file fuzzyClusterAlg.cxx.

Referenced by cluster::fuzzyClusterAlg::mergeShowerTrackClusters().

70  {
71  for(auto& trackToAdd: tracksToAdd)
72  trackToAdd.clusterNumber = clusterNumber;
73  clusterProtoTracks.reserve
74  (clusterProtoTracks.size() + tracksToAdd.size());
75  std::move(tracksToAdd.begin(),tracksToAdd.end(),
76  std::back_inserter(clusterProtoTracks));
77  } // addProtoTracks()
std::vector< protoTrack > clusterProtoTracks
void cluster::fuzzyClusterAlg::baseCluster::clearProtoTracks ( )
inlineinherited

Definition at line 79 of file fuzzyClusterAlg.cxx.

Referenced by cluster::fuzzyClusterAlg::mergeShowerTrackClusters().

80  {
81  clusterProtoTracks.clear();
82  } // clearProtoTracks()
std::vector< protoTrack > clusterProtoTracks

Member Data Documentation

int cluster::fuzzyClusterAlg::baseCluster::clusterNumber =-999999
inherited

Definition at line 60 of file fuzzyClusterAlg.cxx.

std::vector<protoTrack> cluster::fuzzyClusterAlg::baseCluster::clusterProtoTracks
inherited

The documentation for this class was generated from the following file: