32 typedef std::shared_ptr<L1GctJetEtCalibrationLut>
lutPtr;
36 const unsigned eta = 0,
37 const unsigned phi = 0,
39 const bool forwardJet =
true,
41 const int16_t
bx = 0);
88 const bool forwardJet,
90 const int16_t
bx = 0);
105 unsigned hwEta()
const;
108 unsigned hwPhi()
const;
unsigned hwEta() const
eta value as encoded in hardware at the GCT output
unsigned rctPhi() const
phi value in global CMS coordinates
void setupJet(const uint16_t rawsum, const unsigned eta, const unsigned phi, const bool overFlow, const bool forwardJet, const bool tauVeto=true, const int16_t bx=0)
Setup an existing jet all in one go.
unsigned globalEta() const
eta value in global CMS coordinates
void setRawsum(const uint16_t rawsum)
unsigned calibratedEt(const lutPtr lut) const
std::ostream & operator<<(std::ostream &os, const L1GctJet &cand)
bool operator==(const L1GctJet &cand) const
test whether two jets are the same
Level-1 Trigger jet candidate.
L1GctJetCand jetCand(const lutPtr lut) const
Functions to convert from internal format to external jet candidates at the output of the jetFinder...
unsigned ieta() const
global eta index (0-21)
unsigned rctEta() const
return local RCT eta index (0-10)
void setOverFlow(const bool overFlow)
A Level-1 jet candidate, used within GCT emulation.
void setBx(const int16_t bx)
void setDetId(const L1CaloRegionDetId detId)
bool isNullJet() const
test whether this jet candidate has been filled
uint16_t rank(const lutPtr lut) const
The two separate Lut outputs.
L1GctJet(const uint16_t rawsum=0, const unsigned eta=0, const unsigned phi=0, const bool overFlow=false, const bool forwardJet=true, const bool tauVeto=true, const int16_t bx=0)
unsigned rctEta() const
eta value in global CMS coordinates
bool isCentralJet() const
test whether this jet candidate is a (non-tau) central jet
bool isTauJet() const
test whether this jet candidate is a valid tau jet
void setForward(const bool forward)
void setTauVeto(const bool tauVeto)
unsigned globalPhi() const
phi value in global CMS coordinates
L1CaloRegionDetId m_id
region id, encodes eta and phi
unsigned rctPhi() const
return local RCT phi index (0-1)
uint16_t lutValue(const lutPtr lut) const
unsigned hwPhi() const
phi value as encoded in hardware at the GCT output
unsigned iphi() const
global phi index (0-17)
bool isForwardJet() const
test whether this jet candidate is a forward jet
int16_t bx() const
the bunch crossing number
bool overFlow() const
get overflow
L1CaloRegionDetId id() const
bool operator!=(const L1GctJet &cand) const
test whether two jets are different
std::shared_ptr< L1GctJetEtCalibrationLut > lutPtr
friend std::ostream & operator<<(std::ostream &os, const L1GctJet &cand)