Level-1 Trigger EM candidate at output of GCT. More...
#include <L1GctEmCand.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 -6 to -0, +0 to +6 (bit 3 is sign, 1 for -ve Z, 0 for +ve Z) More... | |
unsigned | etaSign () const override |
get eta sign (1 for -ve Z, 0 for +ve Z) More... | |
bool | isolated () const |
which stream did this come from More... | |
L1GctEmCand () | |
default constructor (for vector initialisation etc.) More... | |
L1GctEmCand (L1CaloEmCand &c) | |
construct from RCT output candidate More... | |
L1GctEmCand (uint16_t rawData, bool iso) | |
construct from raw data, no source - used in GT More... | |
L1GctEmCand (uint16_t rawData, bool iso, uint16_t block, uint16_t index, int16_t bx) | |
construct from raw data with source - used in GCT unpacker More... | |
L1GctEmCand (unsigned rank, unsigned phi, unsigned eta, bool iso) | |
L1GctEmCand (unsigned rank, unsigned phi, unsigned eta, bool iso, uint16_t block, uint16_t index, int16_t bx) | |
std::string | name () const |
name of object More... | |
int | operator!= (const L1GctEmCand &c) const |
inequality operator More... | |
int | operator== (const L1GctEmCand &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... | |
~L1GctEmCand () override | |
destructor (virtual to prevent compiler warnings) More... | |
Public Member Functions inherited from L1GctCand | |
L1GctCand () | |
virtual | ~L1GctCand () |
Private Member Functions | |
void | construct (unsigned rank, unsigned eta, unsigned phi) |
Private Attributes | |
int16_t | m_bx |
uint16_t | m_captureBlock |
uint8_t | m_captureIndex |
uint16_t | m_data |
bool | m_iso |
Level-1 Trigger EM candidate at output of GCT.
Level-1 Trigger EM candidate within GCT processing.
Definition at line 21 of file L1GctEmCand.h.
L1GctEmCand::L1GctEmCand | ( | ) |
L1GctEmCand::L1GctEmCand | ( | uint16_t | rawData, |
bool | iso | ||
) |
construct from raw data, no source - used in GT
Definition at line 14 of file L1GctEmCand.cc.
L1GctEmCand::L1GctEmCand | ( | uint16_t | rawData, |
bool | iso, | ||
uint16_t | block, | ||
uint16_t | index, | ||
int16_t | bx | ||
) |
construct from raw data with source - used in GCT unpacker
Definition at line 22 of file L1GctEmCand.cc.
L1GctEmCand::L1GctEmCand | ( | unsigned | rank, |
unsigned | phi, | ||
unsigned | eta, | ||
bool | iso | ||
) |
construct from rank, eta, phi, isolation - used in GCT emulator eta = -6 to -0, +0 to +6. Sign is bit 3, 1 means -ve Z, 0 means +ve Z
Definition at line 31 of file L1GctEmCand.cc.
References construct(), PVValHelper::eta, phi, and rank().
L1GctEmCand::L1GctEmCand | ( | unsigned | rank, |
unsigned | phi, | ||
unsigned | eta, | ||
bool | iso, | ||
uint16_t | block, | ||
uint16_t | index, | ||
int16_t | bx | ||
) |
construct from rank, eta, phi, isolation - could be used in GCT emulator? eta = -6 to -0, +0 to +6. Sign is bit 3, 1 means -ve Z, 0 means +ve Z
Definition at line 44 of file L1GctEmCand.cc.
References construct(), PVValHelper::eta, phi, and rank().
L1GctEmCand::L1GctEmCand | ( | L1CaloEmCand & | c | ) |
construct from RCT output candidate
Definition at line 54 of file L1GctEmCand.cc.
References c, construct(), and PVValHelper::eta.
|
override |
destructor (virtual to prevent compiler warnings)
Definition at line 65 of file L1GctEmCand.cc.
|
inline |
|
inline |
which capture block did this come from
Definition at line 74 of file L1GctEmCand.h.
References m_captureBlock.
|
inline |
what index within capture block
Definition at line 77 of file L1GctEmCand.h.
References m_captureIndex.
|
private |
Definition at line 78 of file L1GctEmCand.cc.
References PVValHelper::eta, m_data, phi, and rank().
Referenced by L1GctEmCand().
|
inlineoverridevirtual |
was an object really found?
Implements L1GctCand.
Definition at line 53 of file L1GctEmCand.h.
References rank().
Referenced by operator==().
|
inlineoverridevirtual |
get eta index -6 to -0, +0 to +6 (bit 3 is sign, 1 for -ve Z, 0 for +ve Z)
Implements L1GctCand.
Definition at line 62 of file L1GctEmCand.h.
References m_data.
Referenced by HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions(), and regionId().
|
inlineoverridevirtual |
get eta sign (1 for -ve Z, 0 for +ve Z)
Implements L1GctCand.
Definition at line 65 of file L1GctEmCand.h.
References m_data.
Referenced by regionId().
|
inline |
which stream did this come from
Definition at line 71 of file L1GctEmCand.h.
References m_iso.
Referenced by l1extra::L1EmParticle::L1EmParticle(), and name().
string L1GctEmCand::name | ( | ) | const |
name of object
Definition at line 68 of file L1GctEmCand.cc.
References isolated().
Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().
|
inline |
|
inline |
|
inlineoverridevirtual |
get phi index (0-17)
Implements L1GctCand.
Definition at line 68 of file L1GctEmCand.h.
References m_data.
Referenced by HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions(), and regionId().
|
inlineoverridevirtual |
get rank bits
Implements L1GctCand.
Definition at line 59 of file L1GctEmCand.h.
References m_data.
Referenced by construct(), empty(), L1GctEmCand(), and L1GctElectronSorter::prioritisedEmCand::rank().
|
inline |
get the raw data
Definition at line 56 of file L1GctEmCand.h.
References m_data.
Referenced by L1GtPatternGenerator::analyze().
|
overridevirtual |
region associated with the candidate
Implements L1GctCand.
Definition at line 71 of file L1GctEmCand.cc.
References PVValHelper::eta, etaIndex(), etaSign(), and phiIndex().
|
private |
Definition at line 99 of file L1GctEmCand.h.
Referenced by bx().
|
private |
Definition at line 97 of file L1GctEmCand.h.
Referenced by capBlock().
|
private |
Definition at line 98 of file L1GctEmCand.h.
Referenced by capIndex().
|
private |
Definition at line 95 of file L1GctEmCand.h.
Referenced by construct(), etaIndex(), etaSign(), operator==(), phiIndex(), rank(), and raw().
|
private |
Definition at line 96 of file L1GctEmCand.h.
Referenced by isolated(), and operator==().