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 process() override
process the data, fill output buffers
void findProtoJets()
The first stage of clustering, called by fetchInput()
unsigned centralCol0() const override
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
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 fetchInput() override
get input data from sources
void findLocalMaxima()
Find local maxima in the search array.
Base class to allow implementation of jetFinder algorithms.
void findProtoClusters()
Convert local maxima to clusters.
static const unsigned int N_COLS
virtual void reset()
include additional reset functionality
unsigned nCols() const override
void convertClustersToOutputJets()
Organise the final clustered jets into L1GctJets.
~L1GctHardwareJetFinder() override
RegionsVector m_localMax00
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.
unsigned maxRegionsIn() const override
RegionsVector m_localMaxima
Local vectors used during both stages of clustering.