1 #ifndef L1GCTHARDWAREJETFINDER_H_ 2 #define L1GCTHARDWAREJETFINDER_H_ 6 #include <boost/cstdint.hpp> unsigned m_numberOfClusters
The number of local Maxima/clusters found at each stage of clustering.
void findFinalClusters()
Convert protojets to final jets.
void findProtoJets()
The first stage of clustering, called by fetchInput()
void convertClustersToProtoJets()
Organise the pre-clustered jets into the ones we keep and those we send to the neighbour.
void findJets()
The second stage of clustering, called by process()
RegionsVector m_cluster00
virtual unsigned nCols() const
static const unsigned int MAX_REGIONS_IN
The real jetFinders must define these constants.
Gct version of a calorimeter region, used within GCT emulation.
RegionsVector m_clusters
Each local maximum becomes a cluster.
L1GctHardwareJetFinder(int id)
id is 0-8 for -ve Eta jetfinders, 9-17 for +ve Eta, for increasing Phi.
friend std::ostream & operator<<(std::ostream &os, const L1GctHardwareJetFinder &algo)
Overload << operator.
void findLocalMaxima()
Find local maxima in the search array.
Base class to allow implementation of jetFinder algorithms.
void findProtoClusters()
Convert local maxima to clusters.
~L1GctHardwareJetFinder()
virtual void fetchInput()
get input data from sources
static const unsigned int N_COLS
virtual void process()
process the data, fill output buffers
virtual void reset()
include additional reset functionality
void convertClustersToOutputJets()
Organise the final clustered jets into L1GctJets.
RegionsVector m_localMax00
virtual unsigned maxRegionsIn() const
Emulation of the hardware jet finder.
static const unsigned int CENTRAL_COL0
std::vector< L1GctRegion > RegionsVector
L1GctRegion makeProtoJet(L1GctRegion localMax)
Method to make a single proto-jet.
virtual unsigned centralCol0() const
RegionsVector m_localMaxima
Local vectors used during both stages of clustering.