#include <L1GctJetCounts.h>
Public Member Functions | |
int16_t | bx () const |
get bunch-crossing index More... | |
unsigned | count (unsigned i) const |
get count by index More... | |
unsigned | count00 () const |
get individual counts (for use with FWLite) More... | |
unsigned | count01 () const |
unsigned | count02 () const |
unsigned | count03 () const |
unsigned | count04 () const |
unsigned | count05 () const |
unsigned | count06 () const |
unsigned | count07 () const |
unsigned | count08 () const |
unsigned | count09 () const |
unsigned | count10 () const |
unsigned | count11 () const |
bool | empty () const |
empty method More... | |
L1GctJetCounts () | |
default constructor More... | |
L1GctJetCounts (uint32_t data0, uint32_t data1) | |
Constructor for unpacking. More... | |
L1GctJetCounts (uint32_t data0, uint32_t data1, int16_t bx) | |
L1GctJetCounts (const std::vector< unsigned > &counts) | |
constructor for emulator More... | |
L1GctJetCounts (const std::vector< unsigned > &counts, int16_t bx) | |
std::string | name () const |
name method More... | |
int | operator!= (const L1GctJetCounts &c) const |
inequality operator More... | |
int | operator== (const L1GctJetCounts &c) const |
equality operator More... | |
uint32_t | raw0 () const |
get raw word 0 More... | |
uint32_t | raw1 () const |
get raw word 1 More... | |
virtual | ~L1GctJetCounts () |
destructor More... | |
Static Public Attributes | |
static const unsigned | MAX_TOTAL_COUNTS =12 |
static const unsigned | MAX_TRUE_COUNTS =6 |
Private Attributes | |
int16_t | m_bx |
uint32_t | m_data0 |
uint32_t | m_data1 |
Class to store the GCT jet count output
Definition at line 17 of file L1GctJetCounts.h.
L1GctJetCounts::L1GctJetCounts | ( | ) |
L1GctJetCounts::L1GctJetCounts | ( | uint32_t | data0, |
uint32_t | data1 | ||
) |
Constructor for unpacking.
Expects three 5-bit jet counts in bits 14:0, and then three more 5-bit jet counts in bits 30:16 for both of the arguments; this is because in the raw format bit 31 is a BC0 flag, and bit 15 is always 1. Thus, jet count 0 should be in bits 4:0 of the data0 argument.
Definition at line 26 of file L1GctJetCounts.cc.
L1GctJetCounts::L1GctJetCounts | ( | uint32_t | data0, |
uint32_t | data1, | ||
int16_t | bx | ||
) |
Definition at line 34 of file L1GctJetCounts.cc.
L1GctJetCounts::L1GctJetCounts | ( | const std::vector< unsigned > & | counts | ) |
constructor for emulator
Definition at line 42 of file L1GctJetCounts.cc.
References mps_fire::i, m_data0, m_data1, and MAX_TOTAL_COUNTS.
L1GctJetCounts::L1GctJetCounts | ( | const std::vector< unsigned > & | counts, |
int16_t | bx | ||
) |
Definition at line 61 of file L1GctJetCounts.cc.
References mps_fire::i, m_data0, m_data1, and MAX_TOTAL_COUNTS.
|
virtual |
|
inline |
unsigned L1GctJetCounts::count | ( | unsigned | i | ) | const |
get count by index
Definition at line 84 of file L1GctJetCounts.cc.
References m_data0, m_data1, and MAX_TOTAL_COUNTS.
Referenced by count00(), count01(), count02(), count03(), count04(), count05(), count06(), count07(), count08(), count09(), count10(), count11(), L1GtJetCountsCondition::evaluateCondition(), L1GlobalTriggerPSB::fillPsbBlock(), operator<<(), and raw1().
|
inline |
get individual counts (for use with FWLite)
Definition at line 64 of file L1GctJetCounts.h.
References count().
|
inline |
Definition at line 65 of file L1GctJetCounts.h.
References count().
|
inline |
Definition at line 66 of file L1GctJetCounts.h.
References count().
|
inline |
Definition at line 67 of file L1GctJetCounts.h.
References count().
|
inline |
Definition at line 68 of file L1GctJetCounts.h.
References count().
|
inline |
Definition at line 69 of file L1GctJetCounts.h.
References count().
|
inline |
Definition at line 70 of file L1GctJetCounts.h.
References count().
|
inline |
Definition at line 71 of file L1GctJetCounts.h.
References count().
|
inline |
Definition at line 72 of file L1GctJetCounts.h.
References count().
|
inline |
Definition at line 73 of file L1GctJetCounts.h.
References count().
|
inline |
Definition at line 74 of file L1GctJetCounts.h.
References count().
|
inline |
Definition at line 75 of file L1GctJetCounts.h.
References count().
|
inline |
empty method
Definition at line 52 of file L1GctJetCounts.h.
Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inline |
name method
Definition at line 49 of file L1GctJetCounts.h.
Referenced by config.CFG::__str__(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), and Vispa.Views.PropertyView.Property::valueChanged().
|
inline |
|
inline |
|
inline |
get raw word 0
Definition at line 55 of file L1GctJetCounts.h.
References m_data0.
Referenced by operator==().
|
inline |
get raw word 1
Definition at line 58 of file L1GctJetCounts.h.
References count(), mps_fire::i, and m_data1.
Referenced by operator==().
|
private |
Definition at line 90 of file L1GctJetCounts.h.
Referenced by bx().
|
private |
Definition at line 88 of file L1GctJetCounts.h.
Referenced by count(), L1GctJetCounts(), operator==(), and raw0().
|
private |
Definition at line 89 of file L1GctJetCounts.h.
Referenced by count(), L1GctJetCounts(), operator==(), and raw1().
|
static |
static maximum number of jet counts This can be up to 12 but we use some of the available bandwidth for other information.
Definition at line 24 of file L1GctJetCounts.h.
Referenced by count(), and L1GctJetCounts().
|
static |
MAX_TRUE_COUNTS specifies the bandwidth remaining for real jet count information.
Definition at line 25 of file L1GctJetCounts.h.