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...
static void fillPSetDescription(edm::ParameterSetDescription &desc)
~MTDThresholdClusterizer() override
Class to store ADC counts and times during clustering.
FTLRecHitCollection::const_iterator RecHitIterator
const float thePositionThreshold
const float theClusterThreshold
const float theHitThreshold
Clustering-related quantities:
int theNumOfRows
Geometry-related information.
MTDThresholdClusterizer(edm::ParameterSet const &conf)
Constructor:
static std::string const input
void copy_to_buffer(RecHitIterator itr, const MTDGeometry *geom, const MTDTopology *topo)
Copy FTLRecHit into the buffer, identify seeds.
bool setup(const MTDGeometry *geometry, const MTDTopology *topo, const DetId &id)
std::vector< FTLCluster::FTLHitPos > theSeeds
An explicit threshold-based clustering algorithm.
const float theTimeThreshold
MTDArrayBuffer theBuffer
Data storage.
FTLCluster make_cluster(const FTLCluster::FTLHitPos &hit)
The actual clustering algorithm: group the neighboring hits around the seed.
void clear_buffer(RecHitIterator itr)
Clear the internal buffer array.
std::vector< FTLCluster > theClusters
const float theSeedThreshold