#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 () | |
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 25 of file L1RCTReceiverCard.cc.
|
private |
|
private |
Definition at line 244 of file L1RCTReceiverCard.cc.
References L1RCTRegion::getMuonBit(), i, and j.
Referenced by fillMuonBits().
|
private |
Definition at line 219 of file L1RCTReceiverCard.cc.
References L1RCTRegion::getEtIn9Bits(), i, and j.
Referenced by fillRegionSums().
|
private |
Definition at line 171 of file L1RCTReceiverCard.cc.
References submit::answer, L1RCTRegion::getActivityBit(), and i.
Referenced by fillTauBits().
|
inline |
|
inline |
void L1RCTReceiverCard::fileInput | ( | char * | filename | ) |
Definition at line 34 of file L1RCTReceiverCard.cc.
References fillInput(), i, input, and x.
void L1RCTReceiverCard::fillInput | ( | const std::vector< unsigned short > & | input | ) |
Definition at line 70 of file L1RCTReceiverCard.cc.
References cardNo, cuy::col, crtNo, i, L1RCTLookupTables::lookup(), alignCSCRings::r, rctLookupTables_, regions, and towerToRegionMap().
Referenced by fileInput(), and randomInput().
void L1RCTReceiverCard::fillMuonBits | ( | ) |
Definition at line 239 of file L1RCTReceiverCard.cc.
References calcMuonBit(), i, muonBits, and regions.
void L1RCTReceiverCard::fillRegionSums | ( | ) |
Definition at line 212 of file L1RCTReceiverCard.cc.
References calcRegionSum(), etIn10Bits, i, overFlowBits, and regions.
void L1RCTReceiverCard::fillTauBits | ( | ) |
Definition at line 166 of file L1RCTReceiverCard.cc.
References calcTauBit(), i, regions, and tauBits.
|
inline |
Definition at line 61 of file L1RCTReceiverCard.h.
References etIn10Bits.
|
inline |
|
inline |
Definition at line 60 of file L1RCTReceiverCard.h.
References overFlowBits.
|
inline |
|
inline |
void L1RCTReceiverCard::print | ( | void | ) |
Definition at line 255 of file L1RCTReceiverCard.cc.
References cardNo, gather_cfg::cout, crtNo, etIn10Bits, i, muonBits, regions, and tauBits.
|
inline |
void L1RCTReceiverCard::randomInput | ( | ) |
Definition at line 27 of file L1RCTReceiverCard.cc.
References fillInput(), i, input, and rand().
vector< unsigned short > L1RCTReceiverCard::towerToRegionMap | ( | int | towernum | ) |
Definition at line 101 of file L1RCTReceiverCard.cc.
References cardNo, crtNo, and HLT_FULL_cff::region.
Referenced by fillInput().
|
private |
Definition at line 83 of file L1RCTReceiverCard.h.
Referenced by cardNumber(), fillInput(), print(), and towerToRegionMap().
|
private |
Definition at line 82 of file L1RCTReceiverCard.h.
Referenced by crateNumber(), fillInput(), print(), and towerToRegionMap().
|
private |
Definition at line 87 of file L1RCTReceiverCard.h.
Referenced by fillRegionSums(), getEtIn10BitsRegion(), and print().
|
private |
Definition at line 89 of file L1RCTReceiverCard.h.
Referenced by fillMuonBits(), getMuonBitRegion(), and print().
|
private |
Definition at line 88 of file L1RCTReceiverCard.h.
Referenced by fillRegionSums(), and getOverFlowBitRegion().
|
private |
Definition at line 85 of file L1RCTReceiverCard.h.
Referenced by fillInput().
|
private |
Definition at line 77 of file L1RCTReceiverCard.h.
Referenced by fillInput(), fillMuonBits(), fillRegionSums(), fillTauBits(), getRegion(), print(), and printEdges().
|
private |
Definition at line 90 of file L1RCTReceiverCard.h.
Referenced by fillTauBits(), getTauBitRegion(), and print().