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

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

Inheritance diagram for cluster::fuzzyClusterAlg::showerCluster:
cluster::fuzzyClusterAlg::baseCluster

Public Member Functions

 showerCluster (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 showerlike cluster.

Definition at line 87 of file fuzzyClusterAlg.cxx.

Constructor & Destructor Documentation

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

Definition at line 89 of file fuzzyClusterAlg.cxx.

89 : 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: