#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 (const std::vector< unsigned > &counts) | |
constructor for emulator More... | |
L1GctJetCounts (const std::vector< unsigned > &counts, int16_t bx) | |
L1GctJetCounts (uint32_t data0, uint32_t data1) | |
Constructor for unpacking. More... | |
L1GctJetCounts (uint32_t data0, uint32_t data1, 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 16 of file L1GctJetCounts.h.
L1GctJetCounts::L1GctJetCounts | ( | ) |
default constructor
Definition at line 17 of file L1GctJetCounts.cc.
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 20 of file L1GctJetCounts.cc.
L1GctJetCounts::L1GctJetCounts | ( | uint32_t | data0, |
uint32_t | data1, | ||
int16_t | bx | ||
) |
L1GctJetCounts::L1GctJetCounts | ( | const std::vector< unsigned > & | counts | ) |
constructor for emulator
Definition at line 32 of file L1GctJetCounts.cc.
References dqmiodumpmetadata::counts, mps_fire::i, m_data0, m_data1, and MAX_TOTAL_COUNTS.
L1GctJetCounts::L1GctJetCounts | ( | const std::vector< unsigned > & | counts, |
int16_t | bx | ||
) |
Definition at line 47 of file L1GctJetCounts.cc.
References dqmiodumpmetadata::counts, 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 63 of file L1GctJetCounts.cc.
References mps_fire::i, m_data0, m_data1, and MAX_TOTAL_COUNTS.
Referenced by count00(), count01(), count02(), count03(), count04(), count05(), count06(), count07(), count08(), count09(), count10(), count11(), L1GtJetCountsCondition::evaluateCondition(), and L1GlobalTriggerPSB::fillPsbBlock().
|
inline |
get individual counts (for use with FWLite)
Definition at line 61 of file L1GctJetCounts.h.
References count(), and MAX_TRUE_COUNTS.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
name method
Definition at line 46 of file L1GctJetCounts.h.
Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().
|
inline |
inequality operator
Definition at line 81 of file L1GctJetCounts.h.
References HltBtagPostValidation_cff::c.
|
inline |
equality operator
Definition at line 78 of file L1GctJetCounts.h.
References HltBtagPostValidation_cff::c, m_data0, and m_data1.
|
inline |
|
inline |
|
private |
Definition at line 86 of file L1GctJetCounts.h.
Referenced by bx().
|
private |
Definition at line 84 of file L1GctJetCounts.h.
Referenced by count(), L1GctJetCounts(), operator==(), and raw0().
|
private |
Definition at line 85 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 21 of file L1GctJetCounts.h.
Referenced by count(), and L1GctJetCounts().
|
static |