#include <DivisiveClusterizer1D.h>
Public Member Functions | |
virtual DivisiveClusterizer1D * | clone () const |
DivisiveClusterizer1D (float zoffset=5., int ntkmin=5, bool useError=true, float zsep=0.05, bool wei=true) | |
std::pair< std::vector< Cluster1D< T > >, std::vector< const T * > > | operator() (const std::vector< Cluster1D< T > > &) const |
~DivisiveClusterizer1D () | |
Public Member Functions inherited from Clusterizer1D< T > | |
virtual | ~Clusterizer1D () |
Private Member Functions | |
void | findCandidates (const std::vector< Cluster1D< T > > &, std::vector< Cluster1D< T > > &, std::vector< Cluster1D< T > > &) const |
void | insertTracks (std::vector< Cluster1D< T > > &, std::vector< Cluster1D< T > > &) const |
std::vector< Cluster1D< T > > | makeCluster1Ds (std::vector< Cluster1D< T > > &, std::vector< Cluster1D< T > > &) const |
Cluster1D< T > | mergeCluster1Ds (std::vector< Cluster1D< T > > &) const |
std::vector< const T * > | takeTracks (const std::vector< Cluster1D< T > > &) const |
Private Attributes | |
Cluster1DCleaner< T > * | theCleaner |
Cluster1DMerger< T > * | theMerger |
unsigned | theNTkMin |
bool | theUseError |
bool | theWei |
float | theZOffSet |
float | theZSeparation |
Find the modes with a simple divisive method.
Definition at line 14 of file DivisiveClusterizer1D.h.
DivisiveClusterizer1D< T >::DivisiveClusterizer1D | ( | float | zoffset = 5. , |
int | ntkmin = 5 , |
||
bool | useError = true , |
||
float | zsep = 0.05 , |
||
bool | wei = true |
||
) |
zoffset | maximum distance between track position and position of its cluster (depending on useError its either weighted or physical distance) |
ntkmin | Minimum number of tracks required to form a cluster. |
useError | physical distances or weighted distances. |
zsep | Maximum distance between two adjacent tracks that belong to the same initial cluster. |
wei | Compute the cluster "center" with an unweighted or a weighted average of the tracks. Weighted means weighted with the error of the data point. |
Definition at line 67 of file DivisiveClusterizer1D.h.
References DivisiveClusterizer1D< T >::theCleaner, DivisiveClusterizer1D< T >::theMerger, DivisiveClusterizer1D< T >::theUseError, and DivisiveClusterizer1D< T >::theZOffSet.
DivisiveClusterizer1D< T >::~DivisiveClusterizer1D | ( | ) |
Definition at line 83 of file DivisiveClusterizer1D.h.
References Utilities::operator, DivisiveClusterizer1D< T >::theCleaner, and DivisiveClusterizer1D< T >::theMerger.
|
virtual |
Implements Clusterizer1D< T >.
Definition at line 102 of file DivisiveClusterizer1D.h.
|
private |
Definition at line 109 of file DivisiveClusterizer1D.h.
References fastPrimaryVertexProducer_cfi::clusters, input, DivisiveClusterizer1D< T >::insertTracks(), DivisiveClusterizer1D< T >::makeCluster1Ds(), jetUpdater_cfi::sort, DivisiveClusterizer1D< T >::theNTkMin, and DivisiveClusterizer1D< T >::theZSeparation.
Referenced by DivisiveClusterizer1D< T >::operator()().
|
private |
Definition at line 233 of file DivisiveClusterizer1D.h.
Referenced by DivisiveClusterizer1D< T >::findCandidates(), and DivisiveClusterizer1D< T >::makeCluster1Ds().
|
private |
Definition at line 181 of file DivisiveClusterizer1D.h.
References fastPrimaryVertexProducer_cfi::clusters, DivisiveClusterizer1D< T >::insertTracks(), DivisiveClusterizer1D< T >::mergeCluster1Ds(), DivisiveClusterizer1D< T >::theCleaner, and DivisiveClusterizer1D< T >::theNTkMin.
Referenced by DivisiveClusterizer1D< T >::findCandidates().
|
private |
Definition at line 276 of file DivisiveClusterizer1D.h.
References fastPrimaryVertexProducer_cfi::clusters, and mps_fire::result.
Referenced by DivisiveClusterizer1D< T >::makeCluster1Ds().
|
virtual |
Implements Clusterizer1D< T >.
Definition at line 92 of file DivisiveClusterizer1D.h.
References DivisiveClusterizer1D< T >::findCandidates(), input, convertSQLitetoXML_cfg::output, and DivisiveClusterizer1D< T >::takeTracks().
|
private |
Definition at line 258 of file DivisiveClusterizer1D.h.
References mps_fire::i, and l1t::tracks.
Referenced by DivisiveClusterizer1D< T >::operator()().
|
private |
Definition at line 53 of file DivisiveClusterizer1D.h.
Referenced by DivisiveClusterizer1D< T >::DivisiveClusterizer1D(), DivisiveClusterizer1D< T >::makeCluster1Ds(), and DivisiveClusterizer1D< T >::~DivisiveClusterizer1D().
|
private |
Definition at line 52 of file DivisiveClusterizer1D.h.
Referenced by DivisiveClusterizer1D< T >::DivisiveClusterizer1D(), and DivisiveClusterizer1D< T >::~DivisiveClusterizer1D().
|
private |
Definition at line 56 of file DivisiveClusterizer1D.h.
Referenced by DivisiveClusterizer1D< T >::findCandidates(), and DivisiveClusterizer1D< T >::makeCluster1Ds().
|
private |
Definition at line 58 of file DivisiveClusterizer1D.h.
Referenced by DivisiveClusterizer1D< T >::DivisiveClusterizer1D().
|
private |
Definition at line 57 of file DivisiveClusterizer1D.h.
|
private |
Definition at line 54 of file DivisiveClusterizer1D.h.
Referenced by DivisiveClusterizer1D< T >::DivisiveClusterizer1D().
|
private |
Definition at line 55 of file DivisiveClusterizer1D.h.
Referenced by DivisiveClusterizer1D< T >::findCandidates().