Go to the documentation of this file. 1 #ifndef L1GCTTDRJETFINDER_H_
2 #define L1GCTTDRJETFINDER_H_
84 bool detectJet(
const UShort centreIndex,
const bool boundary =
false)
const;
unsigned short int UShort
static const unsigned int MAX_REGIONS_IN
The real jetFinders must define these constants.
bool calcJetTauVeto(const UShort centreIndex, const bool boundary=false) const
Returns combined tauVeto of the 9 regions centred (physically) about centreIndex. Set boundary = true...
ULong calcJetEnergy(const UShort centreIndex, const bool boundary=false) const
Returns energy sum of the 9 regions centred (physically) about centreIndex. Set boundary = true if at...
~L1GctTdrJetFinder() override
L1GctTdrJetFinder(int id)
id is 0-8 for -ve Eta jetfinders, 9-17 for +ve Eta, for increasing Phi.
unsigned maxRegionsIn() const override
Base class to allow implementation of jetFinder algorithms.
bool detectJet(const UShort centreIndex, const bool boundary=false) const
Returns true if region index is the centre of a jet. Set boundary = true if at edge of HCAL.
unsigned int nCols() const override
std::ostream & operator<<(std::ostream &os, const L1GctTdrJetFinder &algo)
void findJets()
Here is the TDR 3x3 sliding window jet finder algorithm.
void process() override
process the data, fill output buffers
3*3 sliding window algorithm jet finder.
L1CaloRegionDetId calcJetPosition(const UShort centreIndex) const
returns the encoded (eta, phi) position of the centre region
static const unsigned int CENTRAL_COL0
void fetchInput() override
get input data from sources
unsigned centralCol0() const override
static const unsigned int N_COLS
friend std::ostream & operator<<(std::ostream &os, const L1GctTdrJetFinder &algo)
Overload << operator.