#include <L1RCT.h>
Public Member Functions | |
void | digiInput (const EcalTrigPrimDigiCollection &ecalCollection, const HcalTrigPrimDigiCollection &hcalCollection) |
unsigned short | ecalCompressedET (int crate, int card, int tower) |
unsigned short | ecalFineGrainBit (int crate, int card, int tower) |
void | fileInput (const char *filename) |
L1CaloEmCollection | getIsolatedEGObjects (unsigned crate) |
std::vector< unsigned short > | getJetRegions (unsigned crate) |
L1CaloEmCollection | getNonisolatedEGObjects (unsigned crate) |
std::vector< L1CaloRegion > | getRegions (unsigned crate) |
unsigned short | hcalCompressedET (int crate, int card, int tower) |
unsigned short | hcalFineGrainBit (int crate, int card, int tower) |
unsigned short | hfCompressedET (int crate, int tower) |
unsigned short | hfFineGrainBit (int crate, int tower) |
void | input () |
void | input (const std::vector< std::vector< std::vector< unsigned short >>> &barrelIn, const std::vector< std::vector< unsigned short >> &hfIn) |
L1RCT (const L1RCTLookupTables *rctLookupTables) | |
void | print () |
void | printCrate (int i) |
void | printEIC (int i, int j) |
void | printEICEdges (int i, int j) |
void | printJSC (int i) |
void | printJSC () |
void | printRC (int i, int j) |
void | processEvent () |
void | randomInput () |
Private Member Functions | |
void | configureCards () |
L1RCT () | |
void | makeCrates () |
void | shareNeighbors () |
Private Attributes | |
std::vector< std::vector< std::vector< unsigned short > > > | barrel |
std::vector< L1RCTCrate > | crates |
L1RCTRegion | empty |
std::vector< std::vector< unsigned short > > | hf |
L1RCTNeighborMap | neighborMap |
const L1RCTLookupTables * | rctLookupTables_ |
L1RCT::L1RCT | ( | const L1RCTLookupTables * | rctLookupTables | ) |
Definition at line 55 of file L1RCT.cc.
References makeCrates().
|
private |
|
private |
void L1RCT::digiInput | ( | const EcalTrigPrimDigiCollection & | ecalCollection, |
const HcalTrigPrimDigiCollection & | hcalCollection | ||
) |
Definition at line 109 of file L1RCT.cc.
References funct::abs(), barrel, L1RCTParameters::calcCard(), L1RCTParameters::calcCrate(), L1RCTParameters::calcTower(), DMR_cfg::cerr, gather_cfg::cout, hcalRecHitTable_cff::energy, hf, mps_fire::i, hcalRecHitTable_cff::ieta, input(), hcalRecHitTable_cff::iphi, dqmiolumiharvest::j, dqmdumpme::k, rctLookupTables_, L1RCTLookupTables::rctParameters(), edm::SortedCollection< T, SORT >::size(), l1tHGCalTowerProducer_cfi::tower, and BeamSplash_cfg::version.
Referenced by L1RCTSaveInput::analyze(), and L1RCTInputProducer::produce().
|
inline |
Definition at line 63 of file L1RCT.h.
References barrel, and l1tHGCalTowerProducer_cfi::tower.
Referenced by L1RCTSaveInput::analyze(), and L1RCTInputProducer::produce().
|
inline |
Definition at line 64 of file L1RCT.h.
References barrel, and l1tHGCalTowerProducer_cfi::tower.
Referenced by L1RCTSaveInput::analyze(), and L1RCTInputProducer::produce().
void L1RCT::fileInput | ( | const char * | filename | ) |
Definition at line 81 of file L1RCT.cc.
References barrel, triggerObjects_cff::bit, hcalRecHitTable_cff::energy, corrVsCorr::filename, hf, mps_fire::i, input(), dqmiolumiharvest::j, dqmdumpme::k, and x.
L1CaloEmCollection L1RCT::getIsolatedEGObjects | ( | unsigned | crate | ) |
Definition at line 327 of file L1RCT.cc.
References crates, L1RCTLookupTables::emRank(), hcalRecHitTable_cff::energy, mps_fire::i, and rctLookupTables_.
|
inline |
L1CaloEmCollection L1RCT::getNonisolatedEGObjects | ( | unsigned | crate | ) |
Definition at line 344 of file L1RCT.cc.
References crates, L1RCTLookupTables::emRank(), hcalRecHitTable_cff::energy, mps_fire::i, and rctLookupTables_.
vector< L1CaloRegion > L1RCT::getRegions | ( | unsigned | crate | ) |
Definition at line 359 of file L1RCT.cc.
References crates, hcalRecHitTable_cff::energy, nano_mu_digi_cff::region, and Tau3MuMonitor_cff::taus.
|
inline |
Definition at line 65 of file L1RCT.h.
References barrel, and l1tHGCalTowerProducer_cfi::tower.
Referenced by L1RCTSaveInput::analyze(), and L1RCTInputProducer::produce().
|
inline |
Definition at line 68 of file L1RCT.h.
References barrel, and l1tHGCalTowerProducer_cfi::tower.
Referenced by L1RCTSaveInput::analyze().
|
inline |
Definition at line 71 of file L1RCT.h.
References hf, and l1tHGCalTowerProducer_cfi::tower.
Referenced by L1RCTInputProducer::produce().
|
inline |
void L1RCT::input | ( | ) |
Definition at line 64 of file L1RCT.cc.
References barrel, crates, hf, and mps_fire::i.
Referenced by digiInput(), fileInput(), and randomInput().
void L1RCT::input | ( | const std::vector< std::vector< std::vector< unsigned short >>> & | barrelIn, |
const std::vector< std::vector< unsigned short >> & | hfIn | ||
) |
|
private |
Definition at line 48 of file L1RCT.cc.
References HltBtagPostValidation_cff::c, crates, mps_fire::i, and rctLookupTables_.
Referenced by L1RCT().
void L1RCT::print | ( | void | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void L1RCT::processEvent | ( | ) |
void L1RCT::randomInput | ( | ) |
Definition at line 212 of file L1RCT.cc.
References barrel, hf, mps_fire::i, input(), dqmiolumiharvest::j, and dqmdumpme::k.
|
private |
Definition at line 233 of file L1RCT.cc.
References crates, L1RCTNeighborMap::east(), east, empty, L1RCTRegion::giveNWEt(), L1RCTRegion::giveNWHE_FG(), L1RCTRegion::giveSEEt(), L1RCTRegion::giveSEHE_FG(), L1RCTRegion::giveSWEt(), L1RCTRegion::giveSWHE_FG(), mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, L1RCTNeighborMap::ne(), compareTotals::ne, neighborMap, L1RCTNeighborMap::north(), north, L1RCTNeighborMap::nw(), L1RCTNeighborMap::se(), L1RCTRegion::setEastEt(), L1RCTRegion::setEastHE_FG(), L1RCTRegion::setNEEt(), L1RCTRegion::setNEHE_FG(), L1RCTRegion::setNorthEt(), L1RCTRegion::setNorthHE_FG(), L1RCTRegion::setNWEt(), L1RCTRegion::setNWHE_FG(), L1RCTRegion::setSEEt(), L1RCTRegion::setSEHE_FG(), L1RCTRegion::setSouthEt(), L1RCTRegion::setSouthHE_FG(), L1RCTRegion::setSWEt(), L1RCTRegion::setSWHE_FG(), L1RCTRegion::setWestEt(), L1RCTRegion::setWestHE_FG(), L1RCTNeighborMap::south(), south, L1RCTNeighborMap::sw(), L1RCTNeighborMap::west(), and west.
Referenced by processEvent().
|
private |
Definition at line 110 of file L1RCT.h.
Referenced by digiInput(), ecalCompressedET(), ecalFineGrainBit(), fileInput(), hcalCompressedET(), hcalFineGrainBit(), input(), and randomInput().
|
private |
Definition at line 101 of file L1RCT.h.
Referenced by getIsolatedEGObjects(), getJetRegions(), getNonisolatedEGObjects(), getRegions(), input(), makeCrates(), print(), printCrate(), printEIC(), printEICEdges(), printJSC(), printRC(), processEvent(), and shareNeighbors().
|
private |
Definition at line 86 of file L1RCT.h.
Referenced by tkal_create_file_lists._DasCache::dump(), tkal_create_file_lists._DasCache::load(), and shareNeighbors().
|
private |
Definition at line 111 of file L1RCT.h.
Referenced by digiInput(), fileInput(), hfCompressedET(), hfFineGrainBit(), input(), and randomInput().
|
private |
Definition at line 93 of file L1RCT.h.
Referenced by shareNeighbors().
|
private |
Definition at line 77 of file L1RCT.h.
Referenced by digiInput(), getIsolatedEGObjects(), getNonisolatedEGObjects(), and makeCrates().