#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 18 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 | ||
) |
construct from raw data
Definition at line 16 of file L1GctInternEmCand.cc.
L1GctInternEmCand::L1GctInternEmCand | ( | unsigned | rank, |
unsigned | eta, | ||
unsigned | etaSgn, | ||
unsigned | phi, | ||
bool | iso, | ||
unsigned | block, | ||
unsigned | index, | ||
int16_t | bx | ||
) |
Definition at line 20 of file L1GctInternEmCand.cc.
References construct().
|
virtual |
destructor (virtual to prevent compiler warnings)
Definition at line 31 of file L1GctInternEmCand.cc.
|
inline |
get bunch-crossing index
Definition at line 67 of file L1GctInternEmCand.h.
References m_bx.
Referenced by operator<<().
|
inline |
which capture block did this come from
Definition at line 61 of file L1GctInternEmCand.h.
References m_captureBlock.
Referenced by operator<<().
|
inline |
what index within capture block
Definition at line 64 of file L1GctInternEmCand.h.
References m_captureIndex.
Referenced by operator<<().
|
private |
Definition at line 58 of file L1GctInternEmCand.cc.
References m_data.
Referenced by L1GctInternEmCand().
bool L1GctInternEmCand::empty | ( | ) | const |
was an object really found?
Definition at line 37 of file L1GctInternEmCand.cc.
References rank().
Referenced by operator!=(), and operator==().
|
inline |
get eta index - Barrel 1:4, Endcap 5:7, HF 8:11
Definition at line 49 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 52 of file L1GctInternEmCand.h.
References m_data.
Referenced by operator<<(), and regionId().
|
inline |
which stream did this come from
Definition at line 58 of file L1GctInternEmCand.h.
References m_iso.
Referenced by name(), operator!=(), operator<<(), and operator==().
string L1GctInternEmCand::name | ( | ) | const |
name of object
Definition at line 34 of file L1GctInternEmCand.cc.
References isolated().
Referenced by config.CFG::__str__(), geometryComparison.GeometryComparison::createScript(), validation.Sample::digest(), primaryVertexResolution.PrimaryVertexResolution::getRepMap(), primaryVertexValidation.PrimaryVertexValidation::getRepMap(), zMuMuValidation.ZMuMuValidation::getRepMap(), and VIDSelectorBase.VIDSelectorBase::initialize().
|
inline |
inequality operator
Definition at line 75 of file L1GctInternEmCand.h.
References empty(), isolated(), m_data, m_iso, and raw().
|
inline |
equality operator
Definition at line 70 of file L1GctInternEmCand.h.
References empty(), isolated(), m_data, m_iso, and raw().
|
inline |
get phi index (0-17)
Definition at line 55 of file L1GctInternEmCand.h.
References m_data.
Referenced by operator<<(), and regionId().
|
inline |
get rank bits
Definition at line 46 of file L1GctInternEmCand.h.
References m_data.
Referenced by empty(), and operator<<().
|
inline |
get the raw data
Definition at line 43 of file L1GctInternEmCand.h.
References m_data.
Referenced by operator!=(), and operator==().
L1CaloRegionDetId L1GctInternEmCand::regionId | ( | ) | const |
region associated with the candidate
Definition at line 51 of file L1GctInternEmCand.cc.
References PVValHelper::eta, etaIndex(), etaSign(), and phiIndex().
|
private |
Definition at line 88 of file L1GctInternEmCand.h.
Referenced by bx().
|
private |
Definition at line 85 of file L1GctInternEmCand.h.
Referenced by capBlock().
|
private |
Definition at line 86 of file L1GctInternEmCand.h.
Referenced by capIndex().
|
private |
Definition at line 84 of file L1GctInternEmCand.h.
Referenced by construct(), etaIndex(), etaSign(), operator!=(), operator==(), phiIndex(), rank(), and raw().
|
private |
Definition at line 87 of file L1GctInternEmCand.h.
Referenced by isolated(), operator!=(), and operator==().