#include <L1GctInternEmCand.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 - Barrel 1:4, Endcap 5:7, HF 8:11 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... | |
L1GctInternEmCand () | |
default constructor (for vector initialisation etc.) More... | |
L1GctInternEmCand (uint16_t data, bool iso, unsigned block, unsigned index, int16_t bx) | |
construct from raw data More... | |
L1GctInternEmCand (unsigned rank, unsigned eta, unsigned etaSgn, unsigned phi, bool iso, unsigned block, unsigned index, int16_t bx) | |
std::string | name () const |
name of object More... | |
int | operator!= (const L1GctInternEmCand &c) const |
inequality operator More... | |
int | operator== (const L1GctInternEmCand &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 | ~L1GctInternEmCand () |
destructor (virtual to prevent compiler warnings) More... | |
Private Member Functions | |
void | construct (unsigned rank, unsigned eta, unsigned etaSgn, unsigned phi) |
Private Attributes | |
int16_t | m_bx |
uint16_t | m_captureBlock |
uint8_t | m_captureIndex |
uint16_t | m_data |
bool | m_iso |
Definition at line 20 of file L1GctInternEmCand.h.
L1GctInternEmCand::L1GctInternEmCand | ( | ) |
default constructor (for vector initialisation etc.)
Definition at line 13 of file L1GctInternEmCand.cc.
L1GctInternEmCand::L1GctInternEmCand | ( | uint16_t | data, |
bool | iso, | ||
unsigned | block, | ||
unsigned | index, | ||
int16_t | bx | ||
) |
L1GctInternEmCand::L1GctInternEmCand | ( | unsigned | rank, |
unsigned | eta, | ||
unsigned | etaSgn, | ||
unsigned | phi, | ||
bool | iso, | ||
unsigned | block, | ||
unsigned | index, | ||
int16_t | bx | ||
) |
Definition at line 35 of file L1GctInternEmCand.cc.
References construct().
|
virtual |
destructor (virtual to prevent compiler warnings)
Definition at line 46 of file L1GctInternEmCand.cc.
|
inline |
get bunch-crossing index
Definition at line 69 of file L1GctInternEmCand.h.
References m_bx.
Referenced by operator<<().
|
inline |
which capture block did this come from
Definition at line 63 of file L1GctInternEmCand.h.
References m_captureBlock.
Referenced by operator<<().
|
inline |
what index within capture block
Definition at line 66 of file L1GctInternEmCand.h.
References m_captureIndex.
Referenced by operator<<().
|
private |
Definition at line 77 of file L1GctInternEmCand.cc.
References m_data.
Referenced by L1GctInternEmCand().
bool L1GctInternEmCand::empty | ( | ) | const |
was an object really found?
Definition at line 54 of file L1GctInternEmCand.cc.
References rank().
Referenced by operator!=(), operator==(), Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inline |
get eta index - Barrel 1:4, Endcap 5:7, HF 8:11
Definition at line 51 of file L1GctInternEmCand.h.
References m_data.
Referenced by operator<<(), and regionId().
|
inline |
get eta sign (1 for -ve Z, 0 for +ve Z)
Definition at line 54 of file L1GctInternEmCand.h.
References m_data.
Referenced by operator<<(), and regionId().
|
inline |
which stream did this come from
Definition at line 60 of file L1GctInternEmCand.h.
References m_iso.
Referenced by name(), operator!=(), operator<<(), and operator==().
string L1GctInternEmCand::name | ( | ) | const |
name of object
Definition at line 49 of file L1GctInternEmCand.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 |
inequality operator
Definition at line 76 of file L1GctInternEmCand.h.
References empty(), isolated(), m_data, m_iso, and raw().
|
inline |
equality operator
Definition at line 72 of file L1GctInternEmCand.h.
References empty(), isolated(), m_data, m_iso, and raw().
|
inline |
get phi index (0-17)
Definition at line 57 of file L1GctInternEmCand.h.
References m_data.
Referenced by operator<<(), and regionId().
|
inline |
get rank bits
Definition at line 48 of file L1GctInternEmCand.h.
References m_data.
Referenced by empty(), and operator<<().
|
inline |
get the raw data
Definition at line 45 of file L1GctInternEmCand.h.
References m_data.
Referenced by operator!=(), and operator==().
L1CaloRegionDetId L1GctInternEmCand::regionId | ( | ) | const |
region associated with the candidate
Definition at line 70 of file L1GctInternEmCand.cc.
References eta, etaIndex(), etaSign(), and phiIndex().
|
private |
Definition at line 90 of file L1GctInternEmCand.h.
Referenced by bx().
|
private |
Definition at line 87 of file L1GctInternEmCand.h.
Referenced by capBlock().
|
private |
Definition at line 88 of file L1GctInternEmCand.h.
Referenced by capIndex().
|
private |
Definition at line 86 of file L1GctInternEmCand.h.
Referenced by construct(), etaIndex(), etaSign(), operator!=(), operator==(), phiIndex(), rank(), and raw().
|
private |
Definition at line 89 of file L1GctInternEmCand.h.
Referenced by isolated(), operator!=(), and operator==().