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