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 |
was an object really found? More... | |
unsigned | etaIndex () const |
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 |
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 (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) | |
L1GctEmCand (L1CaloEmCand &c) | |
construct from RCT output candidate More... | |
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 |
get phi index (0-17) More... | |
unsigned | rank () const |
get rank bits More... | |
uint16_t | raw () const |
get the raw data More... | |
L1CaloRegionDetId | regionId () const |
region associated with the candidate More... | |
virtual | ~L1GctEmCand () |
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 22 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 23 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 34 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 46 of file L1GctEmCand.cc.
References construct().
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 59 of file L1GctEmCand.cc.
References construct().
L1GctEmCand::L1GctEmCand | ( | L1CaloEmCand & | c | ) |
construct from RCT output candidate
Definition at line 70 of file L1GctEmCand.cc.
References construct(), eta(), L1CaloRegionDetId::ieta(), L1CaloRegionDetId::iphi(), L1CaloEmCand::rank(), L1CaloRegionDetId::rctEta(), and L1CaloEmCand::regionId().
|
virtual |
destructor (virtual to prevent compiler warnings)
Definition at line 82 of file L1GctEmCand.cc.
|
inline |
get bunch-crossing index
Definition at line 82 of file L1GctEmCand.h.
References m_bx.
Referenced by operator<<(), and L1GctElectronFinalSort::setInputEmCand().
|
inline |
which capture block did this come from
Definition at line 76 of file L1GctEmCand.h.
References m_captureBlock.
Referenced by operator<<().
|
inline |
what index within capture block
Definition at line 79 of file L1GctEmCand.h.
References m_captureIndex.
Referenced by operator<<().
|
private |
Definition at line 99 of file L1GctEmCand.cc.
References m_data.
Referenced by L1GctEmCand().
|
inlinevirtual |
was an object really found?
Implements L1GctCand.
Definition at line 55 of file L1GctEmCand.h.
References rank().
Referenced by operator==(), Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inlinevirtual |
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 64 of file L1GctEmCand.h.
References m_data.
Referenced by HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions(), operator<<(), and regionId().
|
inlinevirtual |
get eta sign (1 for -ve Z, 0 for +ve Z)
Implements L1GctCand.
Definition at line 67 of file L1GctEmCand.h.
References m_data.
Referenced by operator<<(), and regionId().
|
inline |
which stream did this come from
Definition at line 73 of file L1GctEmCand.h.
References m_iso.
Referenced by l1extra::L1EmParticle::L1EmParticle(), name(), operator<<(), and operator==().
string L1GctEmCand::name | ( | ) | const |
name of object
Definition at line 85 of file L1GctEmCand.cc.
References isolated().
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), config.CFG::__str__(), VIDSelectorBase.VIDSelectorBase::initialize(), and Vispa.Views.PropertyView.Property::valueChanged().
|
inline |
|
inline |
equality operator
Definition at line 85 of file L1GctEmCand.h.
References empty(), isolated(), m_data, m_iso, and raw().
|
inlinevirtual |
get phi index (0-17)
Implements L1GctCand.
Definition at line 70 of file L1GctEmCand.h.
References m_data.
Referenced by HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions(), operator<<(), and regionId().
|
inlinevirtual |
get rank bits
Implements L1GctCand.
Definition at line 61 of file L1GctEmCand.h.
References m_data.
Referenced by empty(), operator<<(), and L1GctElectronSorter::prioritisedEmCand::rank().
|
inline |
get the raw data
Definition at line 58 of file L1GctEmCand.h.
References m_data.
Referenced by L1GtPatternGenerator::analyze(), and operator==().
|
virtual |
region associated with the candidate
Implements L1GctCand.
Definition at line 92 of file L1GctEmCand.cc.
References eta(), etaIndex(), etaSign(), and phiIndex().
|
private |
Definition at line 102 of file L1GctEmCand.h.
Referenced by bx().
|
private |
Definition at line 100 of file L1GctEmCand.h.
Referenced by capBlock().
|
private |
Definition at line 101 of file L1GctEmCand.h.
Referenced by capIndex().
|
private |
Definition at line 98 of file L1GctEmCand.h.
Referenced by construct(), etaIndex(), etaSign(), operator==(), phiIndex(), rank(), and raw().
|
private |
Definition at line 99 of file L1GctEmCand.h.
Referenced by isolated(), and operator==().