#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(), PVValHelper::eta, phi, and rank().
|
virtual |
destructor (virtual to prevent compiler warnings)
Definition at line 31 of file L1GctInternEmCand.cc.
|
inline |
|
inline |
which capture block did this come from
Definition at line 61 of file L1GctInternEmCand.h.
References m_captureBlock.
|
inline |
what index within capture block
Definition at line 64 of file L1GctInternEmCand.h.
References m_captureIndex.
|
private |
Definition at line 58 of file L1GctInternEmCand.cc.
References PVValHelper::eta, m_data, phi, rank(), and testProducerWithPsetDescEmpty_cfi::x1.
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 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 regionId().
|
inline |
which stream did this come from
Definition at line 58 of file L1GctInternEmCand.h.
References m_iso.
Referenced by name().
string L1GctInternEmCand::name | ( | ) | const |
name of object
Definition at line 34 of file L1GctInternEmCand.cc.
References isolated().
Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().
|
inline |
|
inline |
|
inline |
get phi index (0-17)
Definition at line 55 of file L1GctInternEmCand.h.
References m_data.
Referenced by regionId().
|
inline |
get rank bits
Definition at line 46 of file L1GctInternEmCand.h.
References m_data.
Referenced by construct(), empty(), and L1GctInternEmCand().
|
inline |
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==().