15 const unsigned ieta,
const unsigned iphi,
const int16_t bx)
17 L1GctRegion r( et, overFlow, fineGrain, ieta, iphi, bx );
18 if (tauIsolationVeto) {
27 const unsigned ieta,
const unsigned iphi,
const int16_t bx)
29 L1GctRegion r( et, overFlow, fineGrain, ieta, iphi, bx );
40 L1CaloRegion(
L1CaloRegion::makeGctJetRegion( ((overFlow || et>kGctRegionMaxValue) ? kGctRegionMaxValue : (et & kGctRegionMaxValue) ),
41 (overFlow || et>kGctRegionMaxValue), fineGrain, ieta, iphi, bx) ) { }
45 if ((bitNum==14) || (bitNum==15)) {
47 uint16_t mask = 1 << bitNum;
49 if (onOff) data |= mask;
int16_t bx() const
get bunch-crossing index
unsigned et() const
get Et
bool overFlow() const
get overflow
void setRawData(uint32_t data)
set data
Gct version of a calorimeter region, used within GCT emulation.
static L1GctRegion makeProtoJetRegion(const unsigned et, const bool overFlow, const bool fineGrain, const bool tauIsolationVeto, const unsigned ieta, const unsigned iphi, const int16_t bx)
static L1GctRegion makeJfInputRegion(const L1CaloRegion &)
void setBit(const unsigned bitNum, const bool onOff)
static L1GctRegion makeFinalJetRegion(const unsigned et, const bool overFlow, const bool fineGrain, const unsigned ieta, const unsigned iphi, const int16_t bx)
uint16_t raw() const
get raw data
bool fineGrain() const
get fine grain bit
unsigned gctEta() const
get GCT eta index
unsigned gctPhi() const
get GCT phi index
A calorimeter trigger region (sum of 4x4 trigger towers)
bool isHf() const
forward or central region