#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 56 of file L1RCT.cc.
References makeCrates().
|
private |
|
private |
void L1RCT::digiInput | ( | const EcalTrigPrimDigiCollection & | ecalCollection, |
const HcalTrigPrimDigiCollection & | hcalCollection | ||
) |
Definition at line 116 of file L1RCT.cc.
References funct::abs(), barrel, L1RCTParameters::calcCard(), L1RCTParameters::calcCrate(), L1RCTParameters::calcTower(), ecal_dqm_sourceclient-live_cfg::cerr, gather_cfg::cout, relval_parameters_module::energy, hf, i, input(), j, relval_steps::k, rctLookupTables_, L1RCTLookupTables::rctParameters(), edm::SortedCollection< T, SORT >::size(), and relval_steps::version.
Referenced by L1RCTSaveInput::analyze(), L1RCTInputProducer::produce(), and L1RCTProducer::produce().
|
inline |
Definition at line 78 of file L1RCT.h.
References barrel.
Referenced by L1RCTSaveInput::analyze(), and L1RCTInputProducer::produce().
|
inline |
Definition at line 80 of file L1RCT.h.
References barrel.
Referenced by L1RCTSaveInput::analyze(), and L1RCTInputProducer::produce().
void L1RCT::fileInput | ( | const char * | filename | ) |
Definition at line 85 of file L1RCT.cc.
References barrel, relval_parameters_module::energy, hf, i, input(), j, relval_steps::k, and x.
L1CaloEmCollection L1RCT::getIsolatedEGObjects | ( | unsigned | crate | ) |
Definition at line 335 of file L1RCT.cc.
References crates, L1RCTLookupTables::emRank(), relval_parameters_module::energy, i, and rctLookupTables_.
Referenced by L1RCTProducer::produce().
|
inline |
L1CaloEmCollection L1RCT::getNonisolatedEGObjects | ( | unsigned | crate | ) |
Definition at line 352 of file L1RCT.cc.
References crates, L1RCTLookupTables::emRank(), relval_parameters_module::energy, i, and rctLookupTables_.
Referenced by L1RCTProducer::produce().
vector< L1CaloRegion > L1RCT::getRegions | ( | unsigned | crate | ) |
Definition at line 366 of file L1RCT.cc.
References crates, relval_parameters_module::energy, HLT_25ns14e33_v3_cff::region, and metsig::tau.
Referenced by L1RCTProducer::produce().
|
inline |
Definition at line 82 of file L1RCT.h.
References barrel.
Referenced by L1RCTSaveInput::analyze(), and L1RCTInputProducer::produce().
|
inline |
Definition at line 84 of file L1RCT.h.
References barrel.
Referenced by L1RCTSaveInput::analyze().
|
inline |
|
inline |
void L1RCT::input | ( | ) |
Definition at line 66 of file L1RCT.cc.
References barrel, crates, hf, and 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 EnergyCorrector::c, crates, i, and rctLookupTables_.
Referenced by L1RCT().
void L1RCT::print | ( | void | ) |
|
inline |
|
inline |
|
inline |
|
inline |
void L1RCT::processEvent | ( | ) |
Definition at line 36 of file L1RCT.cc.
References crates, i, and shareNeighbors().
Referenced by L1RCTProducer::produce().
void L1RCT::randomInput | ( | ) |
Definition at line 220 of file L1RCT.cc.
References barrel, hf, i, input(), j, relval_steps::k, and rand().
|
private |
Definition at line 243 of file L1RCT.cc.
References crates, L1RCTNeighborMap::east(), east, empty, L1RCTRegion::giveEastEt(), L1RCTRegion::giveEastHE_FG(), L1RCTRegion::giveNEEt(), L1RCTRegion::giveNEHE_FG(), L1RCTRegion::giveNorthEt(), L1RCTRegion::giveNorthHE_FG(), L1RCTRegion::giveNWEt(), L1RCTRegion::giveNWHE_FG(), L1RCTRegion::giveSEEt(), L1RCTRegion::giveSEHE_FG(), L1RCTRegion::giveSouthEt(), L1RCTRegion::giveSouthHE_FG(), L1RCTRegion::giveSWEt(), L1RCTRegion::giveSWHE_FG(), L1RCTRegion::giveWestEt(), L1RCTRegion::giveWestHE_FG(), i, j, relval_steps::k, L1RCTNeighborMap::ne(), Vispa.Plugins.EdmBrowser.EdmDataAccessor::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 128 of file L1RCT.h.
Referenced by digiInput(), ecalCompressedET(), ecalFineGrainBit(), fileInput(), hcalCompressedET(), hcalFineGrainBit(), input(), and randomInput().
|
private |
Definition at line 119 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 104 of file L1RCT.h.
Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), Vispa.Gui.VispaWidget.TextField::setAutotruncate(), and shareNeighbors().
|
private |
Definition at line 129 of file L1RCT.h.
Referenced by digiInput(), fileInput(), hfCompressedET(), hfFineGrainBit(), input(), and randomInput().
|
private |
Definition at line 111 of file L1RCT.h.
Referenced by shareNeighbors().
|
private |
Definition at line 95 of file L1RCT.h.
Referenced by digiInput(), getIsolatedEGObjects(), getNonisolatedEGObjects(), and makeCrates().