#include <L1RCTReceiverCard.h>
Public Member Functions | |
int | cardNumber () |
int | crateNumber () |
void | fileInput (char *filename) |
void | fillInput (const std::vector< unsigned short > &input) |
void | fillMuonBits () |
void | fillRegionSums () |
void | fillTauBits () |
unsigned short | getEtIn10BitsRegion (int i) |
unsigned short | getMuonBitRegion (int i) |
unsigned short | getOverFlowBitRegion (int i) |
L1RCTRegion * | getRegion (int i) |
unsigned short | getTauBitRegion (int i) |
L1RCTReceiverCard (int crateNumber, int cardNumber, const L1RCTLookupTables *rctLookupTables) | |
void | print () |
void | printEdges () |
void | randomInput () |
std::vector< unsigned short > | towerToRegionMap (int towernum) |
~L1RCTReceiverCard () | |
Private Member Functions | |
unsigned short | calcMuonBit (L1RCTRegion region) |
unsigned short | calcRegionSum (L1RCTRegion region) |
unsigned short | calcTauBit (L1RCTRegion region) |
L1RCTReceiverCard ()=delete | |
Private Attributes | |
unsigned short | cardNo |
unsigned short | crtNo |
std::vector< unsigned short > | etIn10Bits |
std::vector< unsigned short > | muonBits |
std::vector< unsigned short > | overFlowBits |
const L1RCTLookupTables * | rctLookupTables_ |
std::vector< L1RCTRegion > | regions |
std::vector< unsigned short > | tauBits |
Definition at line 14 of file L1RCTReceiverCard.h.
L1RCTReceiverCard::L1RCTReceiverCard | ( | int | crateNumber, |
int | cardNumber, | ||
const L1RCTLookupTables * | rctLookupTables | ||
) |
Definition at line 18 of file L1RCTReceiverCard.cc.
L1RCTReceiverCard::~L1RCTReceiverCard | ( | ) |
Definition at line 28 of file L1RCTReceiverCard.cc.
|
privatedelete |
|
private |
Definition at line 232 of file L1RCTReceiverCard.cc.
References mps_fire::i, dqmiolumiharvest::j, L1TScalersSCAL_cfi::muonBit, and HLT_2018_cff::region.
Referenced by fillMuonBits().
|
private |
Definition at line 207 of file L1RCTReceiverCard.cc.
References mps_fire::i, dqmiolumiharvest::j, and HLT_2018_cff::region.
Referenced by fillRegionSums().
|
private |
Definition at line 161 of file L1RCTReceiverCard.cc.
References submit::answer, mps_fire::i, and HLT_2018_cff::region.
Referenced by fillTauBits().
|
inline |
|
inline |
void L1RCTReceiverCard::fileInput | ( | char * | filename | ) |
Definition at line 37 of file L1RCTReceiverCard.cc.
References corrVsCorr::filename, fillInput(), mps_fire::i, input, and x.
void L1RCTReceiverCard::fillInput | ( | const std::vector< unsigned short > & | input | ) |
Definition at line 71 of file L1RCTReceiverCard.cc.
References cardNo, cuy::col, crtNo, mps_fire::i, bTagCombinedSVVariables_cff::indices, input, L1RCTLookupTables::lookup(), alignCSCRings::r, rctLookupTables_, regions, and towerToRegionMap().
Referenced by fileInput(), and randomInput().
void L1RCTReceiverCard::fillMuonBits | ( | ) |
Definition at line 227 of file L1RCTReceiverCard.cc.
References calcMuonBit(), mps_fire::i, muonBits, and regions.
void L1RCTReceiverCard::fillRegionSums | ( | ) |
Definition at line 200 of file L1RCTReceiverCard.cc.
References calcRegionSum(), etIn10Bits, mps_fire::i, overFlowBits, and regions.
void L1RCTReceiverCard::fillTauBits | ( | ) |
Definition at line 156 of file L1RCTReceiverCard.cc.
References calcTauBit(), mps_fire::i, regions, and tauBits.
|
inline |
|
inline |
Definition at line 55 of file L1RCTReceiverCard.h.
References mps_fire::i, and muonBits.
|
inline |
|
inline |
Definition at line 53 of file L1RCTReceiverCard.h.
References mps_fire::i, and regions.
|
inline |
Definition at line 54 of file L1RCTReceiverCard.h.
References mps_fire::i, and tauBits.
void L1RCTReceiverCard::print | ( | void | ) |
Definition at line 242 of file L1RCTReceiverCard.cc.
References cardNo, gather_cfg::cout, crtNo, etIn10Bits, mps_fire::i, muonBits, regions, and tauBits.
|
inline |
Definition at line 63 of file L1RCTReceiverCard.h.
References regions.
void L1RCTReceiverCard::randomInput | ( | ) |
Definition at line 30 of file L1RCTReceiverCard.cc.
References fillInput(), mps_fire::i, input, and rand().
vector< unsigned short > L1RCTReceiverCard::towerToRegionMap | ( | int | towernum | ) |
Definition at line 100 of file L1RCTReceiverCard.cc.
References cardNo, crtNo, and HLT_2018_cff::region.
Referenced by fillInput().
|
private |
Definition at line 78 of file L1RCTReceiverCard.h.
Referenced by cardNumber(), fillInput(), print(), and towerToRegionMap().
|
private |
Definition at line 77 of file L1RCTReceiverCard.h.
Referenced by crateNumber(), fillInput(), print(), and towerToRegionMap().
|
private |
Definition at line 82 of file L1RCTReceiverCard.h.
Referenced by fillRegionSums(), getEtIn10BitsRegion(), and print().
|
private |
Definition at line 84 of file L1RCTReceiverCard.h.
Referenced by fillMuonBits(), getMuonBitRegion(), and print().
|
private |
Definition at line 83 of file L1RCTReceiverCard.h.
Referenced by fillRegionSums(), and getOverFlowBitRegion().
|
private |
Definition at line 80 of file L1RCTReceiverCard.h.
Referenced by fillInput().
|
private |
Definition at line 72 of file L1RCTReceiverCard.h.
Referenced by fillInput(), fillMuonBits(), fillRegionSums(), fillTauBits(), getRegion(), print(), and printEdges().
|
private |
Definition at line 85 of file L1RCTReceiverCard.h.
Referenced by fillTauBits(), getTauBitRegion(), and print().