1 #ifndef RecoLocalTracker_FTLClusterizer_MTDThresholdClusterizer_H 2 #define RecoLocalTracker_FTLClusterizer_MTDThresholdClusterizer_H void clusterize(const FTLRecHitCollection &input, const MTDGeometry *geom, const MTDTopology *topo, FTLClusterCollection &output) override
Cluster hits. This method operates on a matrix of hits and finds the largest contiguous cluster aroun...
float theHitThreshold
Clustering-related quantities:
~MTDThresholdClusterizer() override
Class to store ADC counts and times during clustering.
FTLRecHitCollection::const_iterator RecHitIterator
int theNumOfRows
Geometry-related information.
MTDThresholdClusterizer(edm::ParameterSet const &conf)
Constructor:
static std::string const input
static void fillDescriptions(edm::ParameterSetDescription &desc)
bool setup(const MTDGeometry *geometry, const MTDTopology *topo, const DetId &id)
std::vector< FTLCluster::FTLHitPos > theSeeds
void copy_to_buffer(RecHitIterator itr)
Copy FTLRecHit into the buffer, identify seeds.
An explicit threshold-based clustering algorithm.
MTDArrayBuffer theBuffer
Data storage.
FTLCluster make_cluster(const FTLCluster::FTLHitPos &hit)
The actual clustering algorithm: group the neighboring hits around the seed.
float theClusterThreshold
void clear_buffer(RecHitIterator itr)
Clear the internal buffer array.
std::vector< FTLCluster > theClusters