#include <DivisiveClusterizer1D.h>
Public Member Functions | |
DivisiveClusterizer1D * | clone () const override |
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 override |
void | setBeamSpot (const math::XYZPoint &bs) |
~DivisiveClusterizer1D () override | |
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 | |
pixeltemp::Cluster1DCleaner< T > * | theCleaner |
pixeltemp::Cluster1DMerger< T > * | theMerger |
unsigned int | theNTkMin |
bool | theUseError |
bool | theWei |
float | theZOffSet |
float | theZSeparation |
Definition at line 19 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 70 of file DivisiveClusterizer1D.h.
References pixeltemp::DivisiveClusterizer1D< T >::theCleaner, pixeltemp::DivisiveClusterizer1D< T >::theMerger, pixeltemp::DivisiveClusterizer1D< T >::theUseError, and pixeltemp::DivisiveClusterizer1D< T >::theZOffSet.
|
override |
Definition at line 81 of file DivisiveClusterizer1D.h.
References pixeltemp::DivisiveClusterizer1D< T >::theCleaner, and pixeltemp::DivisiveClusterizer1D< T >::theMerger.
|
overridevirtual |
Implements Clusterizer1D< T >.
Definition at line 96 of file DivisiveClusterizer1D.h.
|
private |
Definition at line 101 of file DivisiveClusterizer1D.h.
References bsc_activity_cfg::clusters, input, pixeltemp::DivisiveClusterizer1D< T >::insertTracks(), createfilelist::int, pixeltemp::DivisiveClusterizer1D< T >::makeCluster1Ds(), pixeltemp::DivisiveClusterizer1D< T >::theNTkMin, and pixeltemp::DivisiveClusterizer1D< T >::theZSeparation.
Referenced by pixeltemp::DivisiveClusterizer1D< T >::operator()(), and pixeltemp::DivisiveClusterizer1D< reco::Track >::setBeamSpot().
|
private |
Definition at line 192 of file DivisiveClusterizer1D.h.
Referenced by pixeltemp::DivisiveClusterizer1D< T >::findCandidates(), pixeltemp::DivisiveClusterizer1D< T >::makeCluster1Ds(), and pixeltemp::DivisiveClusterizer1D< reco::Track >::setBeamSpot().
|
private |
Definition at line 153 of file DivisiveClusterizer1D.h.
References bsc_activity_cfg::clusters, pixeltemp::DivisiveClusterizer1D< T >::insertTracks(), pixeltemp::DivisiveClusterizer1D< T >::mergeCluster1Ds(), pixeltemp::DivisiveClusterizer1D< T >::theCleaner, and pixeltemp::DivisiveClusterizer1D< T >::theNTkMin.
Referenced by pixeltemp::DivisiveClusterizer1D< T >::findCandidates(), and pixeltemp::DivisiveClusterizer1D< reco::Track >::setBeamSpot().
|
private |
Definition at line 225 of file DivisiveClusterizer1D.h.
References bsc_activity_cfg::clusters, and mps_fire::result.
Referenced by pixeltemp::DivisiveClusterizer1D< T >::makeCluster1Ds(), and pixeltemp::DivisiveClusterizer1D< reco::Track >::setBeamSpot().
|
overridevirtual |
Implements Clusterizer1D< T >.
Definition at line 87 of file DivisiveClusterizer1D.h.
References pixeltemp::DivisiveClusterizer1D< T >::findCandidates(), input, convertSQLitetoXML_cfg::output, and pixeltemp::DivisiveClusterizer1D< T >::takeTracks().
|
inline |
Definition at line 40 of file DivisiveClusterizer1D.h.
Referenced by DivisiveVertexFinder::findVertexesAlt().
|
private |
Definition at line 213 of file DivisiveClusterizer1D.h.
References mps_fire::i, and PDWG_EXOHSCP_cff::tracks.
Referenced by pixeltemp::DivisiveClusterizer1D< T >::operator()(), and pixeltemp::DivisiveClusterizer1D< reco::Track >::setBeamSpot().
|
private |
Definition at line 56 of file DivisiveClusterizer1D.h.
Referenced by pixeltemp::DivisiveClusterizer1D< T >::DivisiveClusterizer1D(), pixeltemp::DivisiveClusterizer1D< T >::makeCluster1Ds(), and pixeltemp::DivisiveClusterizer1D< T >::~DivisiveClusterizer1D().
|
private |
Definition at line 55 of file DivisiveClusterizer1D.h.
Referenced by pixeltemp::DivisiveClusterizer1D< T >::DivisiveClusterizer1D(), pixeltemp::DivisiveClusterizer1D< reco::Track >::setBeamSpot(), and pixeltemp::DivisiveClusterizer1D< T >::~DivisiveClusterizer1D().
|
private |
Definition at line 58 of file DivisiveClusterizer1D.h.
Referenced by pixeltemp::DivisiveClusterizer1D< T >::findCandidates(), and pixeltemp::DivisiveClusterizer1D< T >::makeCluster1Ds().
|
private |
Definition at line 59 of file DivisiveClusterizer1D.h.
Referenced by pixeltemp::DivisiveClusterizer1D< T >::DivisiveClusterizer1D().
|
private |
Definition at line 61 of file DivisiveClusterizer1D.h.
|
private |
Definition at line 57 of file DivisiveClusterizer1D.h.
Referenced by pixeltemp::DivisiveClusterizer1D< T >::DivisiveClusterizer1D().
|
private |
Definition at line 60 of file DivisiveClusterizer1D.h.
Referenced by pixeltemp::DivisiveClusterizer1D< T >::findCandidates().