Gct version of a calorimeter region, used within GCT emulation. More...
#include <L1GctRegion.h>
Public Types | |
enum | numberOfBits { kGctRegionNBits = 10, kGctRegionOFlowBit = 1 << kGctRegionNBits, kGctRegionMaxValue = kGctRegionOFlowBit - 1 } |
Public Member Functions | |
void | clrFeatureBit0 () |
void | clrFeatureBit1 () |
unsigned | et () const |
bool | featureBit0 () |
bool | featureBit1 () |
L1GctRegion () | |
unsigned | rctEta () const |
void | setFeatureBit0 () |
void | setFeatureBit1 () |
~L1GctRegion () | |
Public Member Functions inherited from L1CaloRegion | |
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 |
is there any information in the candidate More... | |
unsigned | et () const |
get Et More... | |
unsigned | etFullScale () const |
get Et for internal GCT use More... | |
bool | fineGrain () const |
get fine grain bit More... | |
unsigned | gctEta () const |
get GCT eta index More... | |
unsigned | gctPhi () const |
get GCT phi index More... | |
L1CaloRegionDetId | id () const |
get global region ID More... | |
bool | isHbHe () const |
bool | isHf () const |
forward or central region More... | |
L1CaloRegion () | |
default constructor More... | |
L1CaloRegion (unsigned et, bool overFlow, bool tauVeto, bool mip, bool quiet, unsigned crate, unsigned card, unsigned rgn) | |
constructor for RCT emulator (HB/HE regions) - to be removed! More... | |
L1CaloRegion (unsigned et, bool fineGrain, unsigned crate, unsigned rgn) | |
constructor for RCT emulator (HF regions) - to be removed! More... | |
L1CaloRegion (unsigned et, bool overFlow, bool fineGrain, bool mip, bool quiet, unsigned ieta, unsigned iphi) | |
construct with GCT eta,phi indices, for testing GCT emulator - note argument ordering! - to be removed! More... | |
L1CaloRegion (uint16_t data, unsigned ieta, unsigned iphi, int16_t bx) | |
constructor from raw data and GCT indices for unpacking - to be removed! More... | |
bool | mip () const |
get MIP bit More... | |
int | operator!= (const L1CaloRegion &c) const |
inequality operator More... | |
int | operator== (const L1CaloRegion &c) const |
equality operator, including rank, feature bits, and position More... | |
bool | overFlow () const |
get overflow More... | |
bool | quiet () const |
get quiet bit More... | |
uint16_t | raw () const |
get raw data More... | |
unsigned | rctCard () const |
get RCT reciever card ID (valid output for HB/HE) More... | |
unsigned | rctCrate () const |
get RCT crate ID More... | |
unsigned | rctEta () const |
get local eta index (within RCT crate) More... | |
unsigned | rctPhi () const |
get local phi index (within RCT crate) More... | |
unsigned | rctRegionIndex () const |
get RCT region index More... | |
void | reset () |
reset the data content (not position id!) More... | |
void | setBx (int16_t bx) |
set bx More... | |
void | setCaptureBlock (uint16_t capBlock) |
set cap block More... | |
void | setCaptureIndex (uint16_t capIndex) |
set cap index More... | |
void | setMip (bool mip) |
set MIP bit (required for GCT emulator standalone operation) More... | |
void | setQuiet (bool quiet) |
set quiet bit (required for GCT emulator standalone operation) More... | |
void | setRawData (uint32_t data) |
set data More... | |
bool | tauVeto () const |
get tau veto bit More... | |
~L1CaloRegion () | |
destructor More... | |
Static Public Member Functions | |
static L1GctRegion | makeFinalJetRegion (const unsigned et, const bool overFlow, const bool fineGrain, const unsigned ieta, const unsigned iphi, const int16_t bx) |
static L1GctRegion | makeJfInputRegion (const L1CaloRegion &) |
static L1GctRegion | makeProtoJetRegion (const unsigned et, const bool overFlow, const bool fineGrain, const bool tauIsolationVeto, const unsigned ieta, const unsigned iphi, const int16_t bx) |
Static Public Member Functions inherited from L1CaloRegion | |
static L1CaloRegion | makeGctJetRegion (const unsigned et, const bool overFlow, const bool fineGrain, const unsigned ieta, const unsigned iphi, const int16_t bx) |
construct region for use in GCT internal jet-finding More... | |
static L1CaloRegion | makeHBHERegion (const unsigned et, const bool overFlow, const bool tauVeto, const bool mip, const bool quiet, const unsigned crate, const unsigned card, const unsigned rgn) |
constructor HB/HE region from components More... | |
static L1CaloRegion | makeHFRegion (const unsigned et, const bool fineGrain, const unsigned crate, const unsigned rgn) |
construct HF region from components More... | |
static L1CaloRegion | makeRegionFromGctIndices (const unsigned et, const bool overFlow, const bool fineGrain, const bool mip, const bool quiet, const unsigned ieta, const unsigned iphi) |
construct region from GCT indices More... | |
static L1CaloRegion | makeRegionFromUnpacker (const uint16_t data, const unsigned ieta, const unsigned iphi, const uint16_t block, const uint16_t index, const int16_t bx) |
constructor from raw data and GCT indices for unpacking More... | |
Private Member Functions | |
L1GctRegion (const unsigned et, const bool overFlow, const bool fineGrain, const unsigned ieta, const unsigned iphi, const int16_t bx) | |
void | setBit (const unsigned bitNum, const bool onOff) |
Gct version of a calorimeter region, used within GCT emulation.
Only differs from L1CaloRegion by the treatment of overflows
Definition at line 17 of file L1GctRegion.h.
Enumerator | |
---|---|
kGctRegionNBits | |
kGctRegionOFlowBit | |
kGctRegionMaxValue |
Definition at line 19 of file L1GctRegion.h.
L1GctRegion::L1GctRegion | ( | ) |
Definition at line 3 of file L1GctRegion.cc.
L1GctRegion::~L1GctRegion | ( | ) |
Definition at line 5 of file L1GctRegion.cc.
|
private |
Definition at line 40 of file L1GctRegion.cc.
|
inline |
Definition at line 57 of file L1GctRegion.h.
References setBit().
|
inline |
Definition at line 59 of file L1GctRegion.h.
References setBit().
|
inline |
Definition at line 47 of file L1GctRegion.h.
References kGctRegionMaxValue, L1CaloRegion::overFlow(), and L1CaloRegion::raw().
Referenced by makeFinalJetRegion(), and makeProtoJetRegion().
|
inline |
Definition at line 53 of file L1GctRegion.h.
References L1CaloRegion::raw(), and testProducerWithPsetDescEmpty_cfi::x1.
|
inline |
Definition at line 54 of file L1GctRegion.h.
References L1CaloRegion::raw(), and testProducerWithPsetDescEmpty_cfi::x1.
|
static |
Definition at line 29 of file L1GctRegion.cc.
References L1CaloRegion::bx(), et(), L1CaloRegion::fineGrain(), hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, L1CaloRegion::overFlow(), and alignCSCRings::r.
Referenced by L1GctHardwareJetFinder::findFinalClusters().
|
static |
Definition at line 7 of file L1GctRegion.cc.
References L1CaloRegion::bx(), L1CaloRegion::et(), L1CaloRegion::fineGrain(), L1CaloRegion::gctEta(), L1CaloRegion::gctPhi(), L1CaloRegion::isHf(), haddnano::of, L1CaloRegion::overFlow(), and alignCSCRings::r.
Referenced by L1GctJetFinderBase::setInputRegion().
|
static |
Definition at line 13 of file L1GctRegion.cc.
References L1CaloRegion::bx(), et(), L1CaloRegion::fineGrain(), hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, L1CaloRegion::overFlow(), and alignCSCRings::r.
Referenced by L1GctHardwareJetFinder::makeProtoJet().
|
inline |
Definition at line 50 of file L1GctRegion.h.
References L1CaloRegion::empty(), and rctEta().
Referenced by L1GctHardwareJetFinder::makeProtoJet(), and rctEta().
|
private |
Definition at line 54 of file L1GctRegion.cc.
References data, gpuClustering::pixelStatus::mask, L1CaloRegion::raw(), and L1CaloRegion::setRawData().
Referenced by clrFeatureBit0(), clrFeatureBit1(), setFeatureBit0(), and setFeatureBit1().
|
inline |
Definition at line 56 of file L1GctRegion.h.
References setBit().
|
inline |
Definition at line 58 of file L1GctRegion.h.
References setBit().