Level-1 Trigger jet candidate. More...
#include <L1GctJetCand.h>
Public Member Functions | |
int16_t | bx () const |
get bunch-crossing index More... | |
unsigned | capBlock () const |
which capture block did this come from More... | |
unsigned | capIndex () const |
what index within capture block More... | |
bool | empty () const override |
was an object really found? More... | |
unsigned | etaIndex () const override |
get eta index (bit 3 is sign, 1 for -ve Z, 0 for +ve Z) More... | |
unsigned | etaSign () const override |
get eta sign bit (1 for -ve Z, 0 for +ve Z) More... | |
bool | isCentral () const |
check if this is a central jet More... | |
bool | isForward () const |
check if this is a forward jet More... | |
bool | isTau () const |
check if this is a tau More... | |
L1GctJetCand () | |
default constructor (for vector initialisation etc.) More... | |
L1GctJetCand (uint16_t rawData, bool isTau, bool isFor) | |
construct from raw data - used in GT More... | |
L1GctJetCand (uint16_t rawData, bool isTau, bool isFor, uint16_t block, uint16_t index, int16_t bx) | |
construct from raw data with source - uesd in GCT unpacker More... | |
L1GctJetCand (unsigned rank, unsigned phi, unsigned eta, bool isTau, bool isFor) | |
L1GctJetCand (unsigned rank, unsigned phi, unsigned eta, bool isTau, bool isFor, uint16_t block, uint16_t index, int16_t bx) | |
std::string | name () const |
name of object More... | |
int | operator!= (const L1GctJetCand &c) const |
inequality operator More... | |
int | operator== (const L1GctJetCand &c) const |
equality operator More... | |
unsigned | phiIndex () const override |
get phi index (0-17) More... | |
unsigned | rank () const override |
get rank bits More... | |
uint16_t | raw () const |
get the raw data More... | |
L1CaloRegionDetId | regionId () const override |
region associated with the candidate More... | |
~L1GctJetCand () override | |
destructor (virtual to prevent compiler warnings) More... | |
Public Member Functions inherited from L1GctCand | |
L1GctCand () | |
virtual | ~L1GctCand () |
Private Attributes | |
int16_t | m_bx |
uint16_t | m_captureBlock |
uint8_t | m_captureIndex |
uint16_t | m_data |
bool | m_isFor |
bool | m_isTau |
L1GctJetCand::L1GctJetCand | ( | ) |
L1GctJetCand::L1GctJetCand | ( | uint16_t | rawData, |
bool | isTau, | ||
bool | isFor | ||
) |
construct from raw data - used in GT
Definition at line 14 of file L1GctJetCand.cc.
L1GctJetCand::L1GctJetCand | ( | uint16_t | rawData, |
bool | isTau, | ||
bool | isFor, | ||
uint16_t | block, | ||
uint16_t | index, | ||
int16_t | bx | ||
) |
construct from raw data with source - uesd in GCT unpacker
Definition at line 23 of file L1GctJetCand.cc.
L1GctJetCand::L1GctJetCand | ( | unsigned | rank, |
unsigned | phi, | ||
unsigned | eta, | ||
bool | isTau, | ||
bool | isFor | ||
) |
construct from rank, eta, phi, isolation - used in GCT emulator NB - eta = -6 to -0, +0 to +6. Sign is bit 3, 1 means -ve Z, 0 means +ve Z
Definition at line 33 of file L1GctJetCand.cc.
References PVValHelper::eta, m_data, phi, and rank().
L1GctJetCand::L1GctJetCand | ( | unsigned | rank, |
unsigned | phi, | ||
unsigned | eta, | ||
bool | isTau, | ||
bool | isFor, | ||
uint16_t | block, | ||
uint16_t | index, | ||
int16_t | bx | ||
) |
construct from rank, eta, phi, isolation - will be used in GCT emulator? NB - eta = -6 to -0, +0 to +6. Sign is bit 3, 1 means -ve Z, 0 means +ve Z
Definition at line 45 of file L1GctJetCand.cc.
References PVValHelper::eta, m_data, phi, and rank().
|
override |
destructor (virtual to prevent compiler warnings)
Definition at line 56 of file L1GctJetCand.cc.
|
inline |
|
inline |
which capture block did this come from
Definition at line 74 of file L1GctJetCand.h.
References m_captureBlock.
|
inline |
what index within capture block
Definition at line 77 of file L1GctJetCand.h.
References m_captureIndex.
|
inlineoverridevirtual |
was an object really found?
Implements L1GctCand.
Definition at line 47 of file L1GctJetCand.h.
References rank().
Referenced by operator==().
|
inlineoverridevirtual |
get eta index (bit 3 is sign, 1 for -ve Z, 0 for +ve Z)
Implements L1GctCand.
Definition at line 56 of file L1GctJetCand.h.
References m_data.
Referenced by regionId().
|
inlineoverridevirtual |
get eta sign bit (1 for -ve Z, 0 for +ve Z)
Implements L1GctCand.
Definition at line 59 of file L1GctJetCand.h.
References m_data.
Referenced by regionId().
|
inline |
|
inline |
check if this is a forward jet
Definition at line 71 of file L1GctJetCand.h.
References m_isFor.
Referenced by l1extra::L1JetParticle::L1JetParticle(), and regionId().
|
inline |
check if this is a tau
Definition at line 68 of file L1GctJetCand.h.
References m_isTau.
Referenced by l1extra::L1JetParticle::L1JetParticle().
string L1GctJetCand::name | ( | ) | const |
name of object
Definition at line 59 of file L1GctJetCand.cc.
References m_isFor, and m_isTau.
Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().
|
inline |
inequality operator
Definition at line 88 of file L1GctJetCand.h.
References HltBtagPostValidation_cff::c.
|
inline |
|
inlineoverridevirtual |
get phi index (0-17)
Implements L1GctCand.
Definition at line 62 of file L1GctJetCand.h.
References m_data.
Referenced by regionId().
|
inlineoverridevirtual |
get rank bits
Implements L1GctCand.
Definition at line 53 of file L1GctJetCand.h.
References m_data.
Referenced by empty(), and L1GctJetCand().
|
inline |
get the raw data
Definition at line 50 of file L1GctJetCand.h.
References m_data.
Referenced by L1GtPatternGenerator::analyze().
|
overridevirtual |
region associated with the candidate
Implements L1GctCand.
Definition at line 90 of file L1GctJetCand.cc.
References PVValHelper::eta, etaIndex(), etaSign(), isForward(), and phiIndex().
|
private |
Definition at line 96 of file L1GctJetCand.h.
Referenced by bx().
|
private |
Definition at line 94 of file L1GctJetCand.h.
Referenced by capBlock().
|
private |
Definition at line 95 of file L1GctJetCand.h.
Referenced by capIndex().
|
private |
Definition at line 91 of file L1GctJetCand.h.
Referenced by etaIndex(), etaSign(), L1GctJetCand(), operator==(), phiIndex(), rank(), and raw().
|
private |
Definition at line 93 of file L1GctJetCand.h.
Referenced by isCentral(), isForward(), name(), and operator==().
|
private |
Definition at line 92 of file L1GctJetCand.h.
Referenced by isCentral(), isTau(), name(), and operator==().