Level-1 Region Calorimeter Trigger EM candidate. More...
#include <L1CaloEmCand.h>
Public Member Functions | |
int16_t | bx () const |
get bunch-crossing index More... | |
bool | empty () const |
is there any information in the candidate More... | |
unsigned | index () const |
get index on cable More... | |
bool | isolated () const |
which stream did this come from More... | |
L1CaloEmCand () | |
default constructor (for vector initialisation etc.) More... | |
L1CaloEmCand (uint16_t data, unsigned crate, bool iso) | |
construct from raw data, no source - used by TextToDigi More... | |
L1CaloEmCand (uint16_t data, unsigned crate, bool iso, uint16_t index, int16_t bx, bool dummy) | |
L1CaloEmCand (unsigned rank, unsigned region, unsigned card, unsigned crate, bool iso) | |
construct from components for emulation More... | |
L1CaloEmCand (unsigned rank, unsigned region, unsigned card, unsigned crate, bool iso, uint16_t index, int16_t bx) | |
construct from components for emulation (including index) More... | |
int | operator!= (const L1CaloEmCand &c) const |
inequality operator More... | |
int | operator== (const L1CaloEmCand &c) const |
equality operator, including rank, isolation, position More... | |
unsigned | rank () const |
get rank bits More... | |
uint16_t | raw () const |
get the raw data More... | |
unsigned | rctCard () const |
get RCT receiver card More... | |
unsigned | rctCrate () const |
get RCT crate More... | |
unsigned | rctRegion () const |
get RCT region ID More... | |
L1CaloRegionDetId | regionId () const |
get DetID object More... | |
void | setBx (int16_t bx) |
set BX More... | |
~L1CaloEmCand () | |
destructor More... | |
Private Attributes | |
int16_t | m_bx |
uint16_t | m_data |
uint16_t | m_index |
bool | m_iso |
uint16_t | m_rctCrate |
Level-1 Region Calorimeter Trigger EM candidate.
Definition at line 17 of file L1CaloEmCand.h.
L1CaloEmCand::L1CaloEmCand | ( | ) |
L1CaloEmCand::L1CaloEmCand | ( | uint16_t | data, |
unsigned | crate, | ||
bool | iso | ||
) |
construct from raw data, no source - used by TextToDigi
Definition at line 15 of file L1CaloEmCand.cc.
L1CaloEmCand::L1CaloEmCand | ( | uint16_t | data, |
unsigned | crate, | ||
bool | iso, | ||
uint16_t | index, | ||
int16_t | bx, | ||
bool | dummy | ||
) |
construct from raw data with source - used by GCT unpacker last bool argument is a hack to distinguish this constructor from the next one!
Definition at line 20 of file L1CaloEmCand.cc.
L1CaloEmCand::L1CaloEmCand | ( | unsigned | rank, |
unsigned | region, | ||
unsigned | card, | ||
unsigned | crate, | ||
bool | iso | ||
) |
construct from components for emulation
Definition at line 24 of file L1CaloEmCand.cc.
References m_data, rank(), HLT_2018_cff::region, and testProducerWithPsetDescEmpty_cfi::x1.
L1CaloEmCand::L1CaloEmCand | ( | unsigned | rank, |
unsigned | region, | ||
unsigned | card, | ||
unsigned | crate, | ||
bool | iso, | ||
uint16_t | index, | ||
int16_t | bx | ||
) |
construct from components for emulation (including index)
Definition at line 36 of file L1CaloEmCand.cc.
References m_data, rank(), HLT_2018_cff::region, and testProducerWithPsetDescEmpty_cfi::x1.
L1CaloEmCand::~L1CaloEmCand | ( | ) |
|
inline |
get bunch-crossing index
Definition at line 60 of file L1CaloEmCand.h.
References m_bx.
Referenced by setBx().
|
inline |
is there any information in the candidate
Definition at line 79 of file L1CaloEmCand.h.
References rank().
Referenced by operator==().
|
inline |
get index on cable
Definition at line 57 of file L1CaloEmCand.h.
References m_index.
Referenced by BeautifulSoup.PageElement::insert().
|
inline |
|
inline |
inequality operator
Definition at line 76 of file L1CaloEmCand.h.
References HltBtagPostValidation_cff::c.
|
inline |
equality operator, including rank, isolation, position
Definition at line 69 of file L1CaloEmCand.h.
References HltBtagPostValidation_cff::c, empty(), m_data, m_iso, m_rctCrate, and regionId().
|
inline |
get rank bits
Definition at line 42 of file L1CaloEmCand.h.
References m_data.
Referenced by L1RCTTestAnalyzer::compareEmCands(), empty(), and L1CaloEmCand().
|
inline |
|
inline |
get RCT receiver card
Definition at line 45 of file L1CaloEmCand.h.
References m_data.
Referenced by regionId().
|
inline |
get RCT crate
Definition at line 51 of file L1CaloEmCand.h.
References m_rctCrate.
Referenced by regionId(), L1GlobalCaloTrigger::setIsoEm(), L1GlobalCaloTrigger::setNonIsoEm(), and L1GlobalCaloTrigger::sorterNo().
|
inline |
get RCT region ID
Definition at line 48 of file L1CaloEmCand.h.
References m_data.
Referenced by regionId().
|
inline |
get DetID object
Definition at line 63 of file L1CaloEmCand.h.
References rctCard(), rctCrate(), and rctRegion().
Referenced by operator==().
void L1CaloEmCand::setBx | ( | int16_t | bx | ) |
|
private |
Definition at line 90 of file L1CaloEmCand.h.
|
private |
Definition at line 83 of file L1CaloEmCand.h.
Referenced by L1CaloEmCand(), operator==(), rank(), raw(), rctCard(), and rctRegion().
|
private |
Definition at line 89 of file L1CaloEmCand.h.
Referenced by index().
|
private |
Definition at line 88 of file L1CaloEmCand.h.
Referenced by isolated(), and operator==().
|
private |
Definition at line 87 of file L1CaloEmCand.h.
Referenced by operator==(), and rctCrate().