#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 24 of file L1RCTReceiverCard.cc.
|
privatedelete |
|
private |
Definition at line 234 of file L1RCTReceiverCard.cc.
References L1RCTRegion::getMuonBit(), and mps_fire::i.
Referenced by fillMuonBits().
|
private |
Definition at line 209 of file L1RCTReceiverCard.cc.
References L1RCTRegion::getEtIn9Bits(), and mps_fire::i.
Referenced by fillRegionSums().
|
private |
Definition at line 159 of file L1RCTReceiverCard.cc.
References submit::answer, L1RCTRegion::getActivityBit(), and mps_fire::i.
Referenced by fillTauBits().
|
inline |
Definition at line 23 of file L1RCTReceiverCard.h.
References cardNo, fillInput(), fillMuonBits(), fillRegionSums(), fillTauBits(), and input.
|
inline |
void L1RCTReceiverCard::fileInput | ( | char * | filename | ) |
Definition at line 33 of file L1RCTReceiverCard.cc.
References fillInput(), mps_fire::i, input, and x.
Referenced by printEdges().
void L1RCTReceiverCard::fillInput | ( | const std::vector< unsigned short > & | input | ) |
Definition at line 67 of file L1RCTReceiverCard.cc.
References cardNo, cuy::col, crtNo, mps_fire::i, L1RCTLookupTables::lookup(), alignCSCRings::r, rctLookupTables_, regions, and towerToRegionMap().
Referenced by cardNumber(), fileInput(), and randomInput().
void L1RCTReceiverCard::fillMuonBits | ( | ) |
Definition at line 229 of file L1RCTReceiverCard.cc.
References calcMuonBit(), mps_fire::i, muonBits, and regions.
Referenced by cardNumber().
void L1RCTReceiverCard::fillRegionSums | ( | ) |
Definition at line 202 of file L1RCTReceiverCard.cc.
References calcRegionSum(), etIn10Bits, mps_fire::i, overFlowBits, and regions.
Referenced by cardNumber().
void L1RCTReceiverCard::fillTauBits | ( | ) |
Definition at line 154 of file L1RCTReceiverCard.cc.
References calcTauBit(), mps_fire::i, regions, and tauBits.
Referenced by cardNumber().
|
inline |
Definition at line 59 of file L1RCTReceiverCard.h.
References etIn10Bits, print(), and towerToRegionMap().
|
inline |
|
inline |
Definition at line 58 of file L1RCTReceiverCard.h.
References overFlowBits.
|
inline |
|
inline |
void L1RCTReceiverCard::print | ( | void | ) |
Definition at line 244 of file L1RCTReceiverCard.cc.
References cardNo, gather_cfg::cout, crtNo, etIn10Bits, mps_fire::i, muonBits, regions, and tauBits.
Referenced by getEtIn10BitsRegion().
|
inline |
Definition at line 65 of file L1RCTReceiverCard.h.
References fileInput(), corrVsCorr::filename, randomInput(), and regions.
void L1RCTReceiverCard::randomInput | ( | ) |
Definition at line 26 of file L1RCTReceiverCard.cc.
References fillInput(), mps_fire::i, input, and rand().
Referenced by printEdges().
vector< unsigned short > L1RCTReceiverCard::towerToRegionMap | ( | int | towernum | ) |
Definition at line 98 of file L1RCTReceiverCard.cc.
Referenced by fillInput(), and getEtIn10BitsRegion().
|
private |
Definition at line 80 of file L1RCTReceiverCard.h.
Referenced by cardNumber(), fillInput(), print(), and towerToRegionMap().
|
private |
Definition at line 79 of file L1RCTReceiverCard.h.
Referenced by crateNumber(), fillInput(), print(), and towerToRegionMap().
|
private |
Definition at line 84 of file L1RCTReceiverCard.h.
Referenced by fillRegionSums(), getEtIn10BitsRegion(), and print().
|
private |
Definition at line 86 of file L1RCTReceiverCard.h.
Referenced by fillMuonBits(), getMuonBitRegion(), and print().
|
private |
Definition at line 85 of file L1RCTReceiverCard.h.
Referenced by fillRegionSums(), and getOverFlowBitRegion().
|
private |
Definition at line 82 of file L1RCTReceiverCard.h.
Referenced by fillInput().
|
private |
Definition at line 74 of file L1RCTReceiverCard.h.
Referenced by fillInput(), fillMuonBits(), fillRegionSums(), fillTauBits(), getRegion(), print(), and printEdges().
|
private |
Definition at line 87 of file L1RCTReceiverCard.h.
Referenced by fillTauBits(), getTauBitRegion(), and print().