Bit-level emulation of the Global Calorimeter Trigger. More...
#include <L1GlobalCaloTrigger.h>
Classes | |
struct | CompareBx |
Public Types | |
typedef L1GctUnsignedInt< L1GctEtHad::kEtHadNBits > | etHadType |
typedef L1GctUnsignedInt< L1GctEtMiss::kEtMissPhiNBits > | etMissPhiType |
typedef L1GctUnsignedInt< L1GctEtMiss::kEtMissNBits > | etMissType |
typedef L1GctUnsignedInt< L1GctEtTotal::kEtTotalNBits > | etTotalType |
typedefs for energy values in fixed numbers of bits More... | |
typedef L1GctJetFinderBase::lutPtr | lutPtr |
typedef L1GctJetFinderBase::lutPtrVector | lutPtrVector |
Public Member Functions | |
void | fillEmCands (const std::vector< L1CaloEmCand > &rgn) |
set electrons from the RCT at the input to be processed More... | |
void | fillRegions (const std::vector< L1CaloRegion > &rgn) |
L1GctJetCandCollection | getCentralJets () const |
central jet outputs to GT More... | |
std::vector< L1GctEmLeafCard * > | getEmLeafCards () const |
get the Jet Leaf cards More... | |
L1GctGlobalEnergyAlgos * | getEnergyFinalStage () const |
get the energy final stage More... | |
L1GctEtHadCollection | getEtHadCollection () const |
Total hadronic Et output to GT. More... | |
L1GctEtMissCollection | getEtMissCollection () const |
Etmiss output to GT. More... | |
L1GctEtTotalCollection | getEtSumCollection () const |
Total Et output to GT. More... | |
int | getFirstBx () const |
accessor methods More... | |
L1GctJetCandCollection | getForwardJets () const |
forward jet outputs to GT More... | |
L1GctHFBitCountsCollection | getHFBitCountsCollection () const |
L1GctHFRingEtSumsCollection | getHFRingEtSumsCollection () const |
L1GctGlobalHfSumAlgos * | getHfSumProcessor () const |
provide access to hf sum processor More... | |
L1GctHtMissCollection | getHtMissCollection () const |
Htmiss output to GT. More... | |
L1GctInternEtSumCollection | getInternalEtSums () const |
Et sums and components in internal format. More... | |
L1GctInternHtMissCollection | getInternalHtMiss () const |
L1GctInternJetDataCollection | getInternalJets () const |
all jets from jetfinders in raw format More... | |
L1GctEmCandCollection | getIsoElectrons () const |
L1GctElectronFinalSort * | getIsoEmFinalStage () const |
get the electron final stage sorters More... | |
const lutPtrVector | getJetEtCalibLuts () const |
get the Jet Et calibration LUT More... | |
L1GctJetFinalStage * | getJetFinalStage () const |
get the jet final stage More... | |
const L1GctJetFinderParams * | getJetFinderParams () const |
get the jetFinder parameters More... | |
std::vector< L1GctJetLeafCard * > | getJetLeafCards () const |
int | getLastBx () const |
L1GctEmCandCollection | getNonIsoElectrons () const |
non-iso electron outputs to GT More... | |
L1GctElectronFinalSort * | getNonIsoEmFinalStage () const |
L1GctJetCandCollection | getTauJets () const |
tau jet outputs to GT More... | |
int | getTotalBx () const |
std::vector< L1GctWheelEnergyFpga * > | getWheelEnergyFpgas () const |
get the Wheel Energy Fpgas More... | |
std::vector< L1GctWheelJetFpga * > | getWheelJetFpgas () const |
get the Wheel Jet FPGAs More... | |
L1GlobalCaloTrigger (const L1GctJetLeafCard::jetFinderType jfType=L1GctJetLeafCard::hardwareJetFinder, unsigned jetLeafMask=0) | |
construct the GCT More... | |
void | print () |
void | process () |
process an event More... | |
void | reset () |
Reset internal buffers. More... | |
void | setBxRange (const int firstBx, const int lastBx) |
void | setBxRangeAutomatic () |
process all crossings present in the input (and only those crossings) More... | |
void | setBxRangeSymmetric (const int numOfBx) |
process crossings from (-numOfBx) to (numOfBx) More... | |
void | setChannelMask (const L1GctChannelMask *const mask) |
setup the input channel mask More... | |
void | setHtMissScale (const L1CaloEtScale *const scale) |
setup scale for missing Ht More... | |
void | setIsoEm (const L1CaloEmCand &em) |
set an isolated EM candidate to be processed More... | |
void | setJetEtCalibrationLuts (const lutPtrVector &jfluts) |
setup the Jet Calibration Luts More... | |
void | setJetFinderParams (const L1GctJetFinderParams *const jfpars) |
void | setNonIsoEm (const L1CaloEmCand &em) |
set a non-isolated EM candidate to be processed More... | |
void | setRegion (const L1CaloRegion ®ion) |
void | setRegion (const unsigned et, const unsigned ieta, const unsigned iphi, const bool overFlow=false, const bool fineGrain=true) |
construct a jet region and set it at the input to be processed More... | |
void | setTerse () |
void | setupHfSumLuts (const L1CaloEtScale *const scale) |
setup Hf sum LUTs More... | |
void | setupTauAlgo (const bool useImprovedAlgo, const bool ignoreVetoBitsForIsolation) |
setup the tau algorithm parameters More... | |
void | setVerbose () |
control output messages More... | |
~L1GlobalCaloTrigger () | |
dismantle the GCT More... | |
Static Public Attributes | |
static const int | N_EM_LEAF_CARDS = 2 |
Number of Leaf Cards configured for EM processing. More... | |
static const int | N_JET_LEAF_CARDS = 6 |
Number of Leaf Cards configured for jet processing. More... | |
static const int | N_WHEEL_CARDS = 2 |
Number of Wheel Cards. More... | |
Private Member Functions | |
void | build (L1GctJetLeafCard::jetFinderType jfType, unsigned jetLeafMask) |
instantiate the hardware & algo objects and wire up the system More... | |
void | bxProcess (const int bx) |
Process a new bunch crossing. More... | |
void | bxReset (const int bx) |
Partial reset for a new bunch crossing. More... | |
void | bxSetup () |
Setup bunch crossing range (depending on input data) More... | |
void | fillEmCands (std::vector< L1CaloEmCand >::iterator &emc, const int bx) |
Fill input data for a new bunch crossing. More... | |
void | fillRegions (std::vector< L1CaloRegion >::iterator &rgn, const int bx) |
Private method to send one bunch crossing's worth of regions to the processors. More... | |
bool | setupOk () const |
check we have done all the setup More... | |
unsigned | sorterNo (const L1CaloEmCand &em) const |
void | sortInputData () |
Sort the input data by bunch crossing number. More... | |
Bit-level emulation of the Global Calorimeter Trigger.
Definition at line 44 of file L1GlobalCaloTrigger.h.
Definition at line 55 of file L1GlobalCaloTrigger.h.
Definition at line 57 of file L1GlobalCaloTrigger.h.
Definition at line 56 of file L1GlobalCaloTrigger.h.
typedefs for energy values in fixed numbers of bits
Definition at line 54 of file L1GlobalCaloTrigger.h.
Definition at line 59 of file L1GlobalCaloTrigger.h.
Definition at line 60 of file L1GlobalCaloTrigger.h.
L1GlobalCaloTrigger::L1GlobalCaloTrigger | ( | const L1GctJetLeafCard::jetFinderType | jfType = L1GctJetLeafCard::hardwareJetFinder , |
unsigned | jetLeafMask = 0 |
||
) |
construct the GCT
Definition at line 25 of file L1GlobalCaloTrigger.cc.
References build().
L1GlobalCaloTrigger::~L1GlobalCaloTrigger | ( | ) |
dismantle the GCT
GCT Destructor.
Definition at line 46 of file L1GlobalCaloTrigger.cc.
References mps_fire::i, theEmLeafCards, theEnergyFinalStage, theIsoEmFinalStage, theJetFinalStage, theJetLeafCards, theNonIsoEmFinalStage, theWheelEnergyFpgas, and theWheelJetFpgas.
|
private |
instantiate the hardware & algo objects and wire up the system
Definition at line 827 of file L1GlobalCaloTrigger.cc.
References mps_fire::i, dqmiolumiharvest::j, N_EM_LEAF_CARDS, N_JET_LEAF_CARDS, N_WHEEL_CARDS, L1GctJetLeafCard::nullJetFinder, theEmLeafCards, theEnergyFinalStage, theIsoElectronSorters, theIsoEmFinalStage, theJetFinalStage, theJetFinders, theJetLeafCards, theNonIsoElectronSorters, theNonIsoEmFinalStage, theWheelEnergyFpgas, and theWheelJetFpgas.
Referenced by getJetEtCalibLuts(), and L1GlobalCaloTrigger().
|
private |
Process a new bunch crossing.
Definition at line 260 of file L1GlobalCaloTrigger.cc.
References L1GctJetFinalStage::fetchInput(), L1GctElectronFinalSort::fetchInput(), L1GctGlobalEnergyAlgos::fetchInput(), mps_fire::i, N_EM_LEAF_CARDS, N_JET_LEAF_CARDS, N_WHEEL_CARDS, L1GctJetFinalStage::process(), L1GctElectronFinalSort::process(), L1GctGlobalEnergyAlgos::process(), theEmLeafCards, theEnergyFinalStage, theIsoEmFinalStage, theJetFinalStage, theJetLeafCards, theNonIsoEmFinalStage, theWheelEnergyFpgas, and theWheelJetFpgas.
Referenced by getJetEtCalibLuts(), and process().
|
private |
Partial reset for a new bunch crossing.
Definition at line 228 of file L1GlobalCaloTrigger.cc.
References mps_fire::i, N_EM_LEAF_CARDS, N_JET_LEAF_CARDS, N_WHEEL_CARDS, L1GctProcessor::setNextBx(), L1GctGlobalEnergyAlgos::setNextBx(), theEmLeafCards, theEnergyFinalStage, theIsoEmFinalStage, theJetFinalStage, theJetLeafCards, theNonIsoEmFinalStage, theWheelEnergyFpgas, and theWheelJetFpgas.
Referenced by getJetEtCalibLuts(), and process().
|
private |
Setup bunch crossing range (depending on input data)
Definition at line 171 of file L1GlobalCaloTrigger.cc.
References mps_fire::i, m_allInputEmCands, m_allInputRegions, m_bxRangeAuto, m_bxStart, m_numOfBx, SiStripPI::max, min(), N_EM_LEAF_CARDS, N_JET_LEAF_CARDS, N_WHEEL_CARDS, L1GctProcessor::setBxRange(), L1GctGlobalEnergyAlgos::setBxRange(), theEmLeafCards, theEnergyFinalStage, theIsoEmFinalStage, theJetFinalStage, theJetLeafCards, theNonIsoEmFinalStage, theWheelEnergyFpgas, and theWheelJetFpgas.
Referenced by getJetEtCalibLuts(), and process().
void L1GlobalCaloTrigger::fillEmCands | ( | const std::vector< L1CaloEmCand > & | rgn | ) |
set electrons from the RCT at the input to be processed
Definition at line 453 of file L1GlobalCaloTrigger.cc.
References m_allInputEmCands.
Referenced by getJetEtCalibLuts(), getTotalBx(), process(), and L1GctEmulator::produce().
|
private |
Fill input data for a new bunch crossing.
Private method to send one bunch crossing's worth of electrons to the processors.
Definition at line 468 of file L1GlobalCaloTrigger.cc.
References l1GtPatternGenerator_cfi::bx, m_allInputEmCands, setIsoEm(), and setNonIsoEm().
void L1GlobalCaloTrigger::fillRegions | ( | const std::vector< L1CaloRegion > & | rgn | ) |
================================================================================================= Input data set methods
Use the following two methods for full emulator operation set jet regions from the RCT at the input to be processed
Definition at line 445 of file L1GlobalCaloTrigger.cc.
References m_allInputRegions.
Referenced by getJetEtCalibLuts(), getTotalBx(), process(), and L1GctEmulator::produce().
|
private |
Private method to send one bunch crossing's worth of regions to the processors.
Definition at line 461 of file L1GlobalCaloTrigger.cc.
References l1GtPatternGenerator_cfi::bx, m_allInputRegions, and setRegion().
L1GctJetCandCollection L1GlobalCaloTrigger::getCentralJets | ( | ) | const |
central jet outputs to GT
Definition at line 595 of file L1GlobalCaloTrigger.cc.
References L1GctJetFinalStage::getCentralJets(), and theJetFinalStage.
Referenced by getTotalBx(), and L1GctEmulator::produce().
|
inline |
get the Jet Leaf cards
Definition at line 187 of file L1GlobalCaloTrigger.h.
References theEmLeafCards.
|
inline |
get the energy final stage
Definition at line 199 of file L1GlobalCaloTrigger.h.
References getHfSumProcessor(), and theEnergyFinalStage.
Referenced by L1GctPrintLuts::analyze().
L1GctEtHadCollection L1GlobalCaloTrigger::getEtHadCollection | ( | ) | const |
Total hadronic Et output to GT.
Definition at line 628 of file L1GlobalCaloTrigger.cc.
References l1GtPatternGenerator_cfi::bx, L1GctGlobalEnergyAlgos::getEtHadColl(), mps_fire::i, m_bxStart, m_numOfBx, mps_fire::result, groupFilesInBlocks::temp, and theEnergyFinalStage.
Referenced by getTotalBx(), and L1GctEmulator::produce().
L1GctEtMissCollection L1GlobalCaloTrigger::getEtMissCollection | ( | ) | const |
Etmiss output to GT.
Definition at line 639 of file L1GlobalCaloTrigger.cc.
References l1GtPatternGenerator_cfi::bx, L1GctGlobalEnergyAlgos::getEtMissColl(), L1GctGlobalEnergyAlgos::getEtMissPhiColl(), mps_fire::i, m_bxStart, m_numOfBx, mps_fire::result, groupFilesInBlocks::temp, and theEnergyFinalStage.
Referenced by getTotalBx(), and L1GctEmulator::produce().
L1GctEtTotalCollection L1GlobalCaloTrigger::getEtSumCollection | ( | ) | const |
Total Et output to GT.
Definition at line 617 of file L1GlobalCaloTrigger.cc.
References l1GtPatternGenerator_cfi::bx, L1GctGlobalEnergyAlgos::getEtSumColl(), mps_fire::i, m_bxStart, m_numOfBx, mps_fire::result, groupFilesInBlocks::temp, and theEnergyFinalStage.
Referenced by getTotalBx(), and L1GctEmulator::produce().
|
inline |
L1GctJetCandCollection L1GlobalCaloTrigger::getForwardJets | ( | ) | const |
forward jet outputs to GT
Definition at line 598 of file L1GlobalCaloTrigger.cc.
References L1GctJetFinalStage::getForwardJets(), and theJetFinalStage.
Referenced by getTotalBx(), and L1GctEmulator::produce().
L1GctHFBitCountsCollection L1GlobalCaloTrigger::getHFBitCountsCollection | ( | ) | const |
Definition at line 715 of file L1GlobalCaloTrigger.cc.
References L1GctHfEtSumsLut::bitCountNegEtaRing1, L1GctHfEtSumsLut::bitCountNegEtaRing2, L1GctHfEtSumsLut::bitCountPosEtaRing1, L1GctHfEtSumsLut::bitCountPosEtaRing2, l1GtPatternGenerator_cfi::bx, L1GctHFBitCounts::fromGctEmulator(), getHfSumProcessor(), mps_fire::i, m_bxStart, m_numOfBx, mps_fire::result, and groupFilesInBlocks::temp.
Referenced by getTotalBx(), and L1GctEmulator::produce().
L1GctHFRingEtSumsCollection L1GlobalCaloTrigger::getHFRingEtSumsCollection | ( | ) | const |
Definition at line 733 of file L1GlobalCaloTrigger.cc.
References l1GtPatternGenerator_cfi::bx, L1GctHfEtSumsLut::etSumNegEtaRing1, L1GctHfEtSumsLut::etSumNegEtaRing2, L1GctHfEtSumsLut::etSumPosEtaRing1, L1GctHfEtSumsLut::etSumPosEtaRing2, L1GctHFRingEtSums::fromGctEmulator(), getHfSumProcessor(), mps_fire::i, m_bxStart, m_numOfBx, mps_fire::result, and groupFilesInBlocks::temp.
Referenced by getTotalBx(), and L1GctEmulator::produce().
L1GctGlobalHfSumAlgos * L1GlobalCaloTrigger::getHfSumProcessor | ( | ) | const |
provide access to hf sum processor
Definition at line 412 of file L1GlobalCaloTrigger.cc.
References L1GctGlobalEnergyAlgos::getHfSumProcessor(), mps_fire::result, and theEnergyFinalStage.
Referenced by getEnergyFinalStage(), getHFBitCountsCollection(), getHFRingEtSumsCollection(), and setupHfSumLuts().
L1GctHtMissCollection L1GlobalCaloTrigger::getHtMissCollection | ( | ) | const |
Htmiss output to GT.
Definition at line 652 of file L1GlobalCaloTrigger.cc.
References l1GtPatternGenerator_cfi::bx, L1GctGlobalEnergyAlgos::getHtMissColl(), L1GctGlobalEnergyAlgos::getHtMissPhiColl(), mps_fire::i, m_bxStart, m_numOfBx, mps_fire::result, groupFilesInBlocks::temp, and theEnergyFinalStage.
Referenced by getTotalBx(), and L1GctEmulator::produce().
L1GctInternEtSumCollection L1GlobalCaloTrigger::getInternalEtSums | ( | ) | const |
Et sums and components in internal format.
Definition at line 665 of file L1GlobalCaloTrigger.cc.
References mps_fire::i, N_JET_LEAF_CARDS, N_WHEEL_CARDS, theJetFinders, theJetLeafCards, and theWheelEnergyFpgas.
Referenced by getTotalBx(), and L1GctEmulator::produce().
L1GctInternHtMissCollection L1GlobalCaloTrigger::getInternalHtMiss | ( | ) | const |
Definition at line 690 of file L1GlobalCaloTrigger.cc.
References mps_fire::i, N_JET_LEAF_CARDS, N_WHEEL_CARDS, theJetFinders, theJetLeafCards, and theWheelJetFpgas.
Referenced by getTotalBx(), and L1GctEmulator::produce().
L1GctInternJetDataCollection L1GlobalCaloTrigger::getInternalJets | ( | ) | const |
all jets from jetfinders in raw format
Definition at line 604 of file L1GlobalCaloTrigger.cc.
References reco::JetExtendedAssociation::allJets(), and theJetFinders.
Referenced by getTotalBx(), and L1GctEmulator::produce().
L1GctEmCandCollection L1GlobalCaloTrigger::getIsoElectrons | ( | ) | const |
================================================================================================= Output data get methods
iso electron outputs to GT
================================================================================================= Output data get methods
Definition at line 587 of file L1GlobalCaloTrigger.cc.
References L1GctElectronFinalSort::getOutputCands(), and theIsoEmFinalStage.
Referenced by getTotalBx(), and L1GctEmulator::produce().
|
inline |
get the electron final stage sorters
Definition at line 205 of file L1GlobalCaloTrigger.h.
References theIsoEmFinalStage.
|
inline |
get the Jet Et calibration LUT
Definition at line 212 of file L1GlobalCaloTrigger.h.
References build(), l1GtPatternGenerator_cfi::bx, bxProcess(), bxReset(), bxSetup(), fillEmCands(), fillRegions(), m_jetEtCalLuts, print(), setTerse(), setupOk(), setVerbose(), sorterNo(), and sortInputData().
|
inline |
get the jet final stage
Definition at line 196 of file L1GlobalCaloTrigger.h.
References theJetFinalStage.
|
inline |
get the jetFinder parameters
Definition at line 209 of file L1GlobalCaloTrigger.h.
References m_jetFinderParams.
|
inline |
================================================================================================= Access to GCT component processors
get the Jet Leaf cards
Definition at line 184 of file L1GlobalCaloTrigger.h.
References theJetLeafCards.
|
inline |
L1GctEmCandCollection L1GlobalCaloTrigger::getNonIsoElectrons | ( | ) | const |
non-iso electron outputs to GT
Definition at line 590 of file L1GlobalCaloTrigger.cc.
References L1GctElectronFinalSort::getOutputCands(), and theNonIsoEmFinalStage.
Referenced by getTotalBx(), and L1GctEmulator::produce().
|
inline |
Definition at line 206 of file L1GlobalCaloTrigger.h.
References theNonIsoEmFinalStage.
L1GctJetCandCollection L1GlobalCaloTrigger::getTauJets | ( | ) | const |
tau jet outputs to GT
Definition at line 601 of file L1GlobalCaloTrigger.cc.
References L1GctJetFinalStage::getTauJets(), and theJetFinalStage.
Referenced by getTotalBx(), and L1GctEmulator::produce().
|
inline |
Definition at line 110 of file L1GlobalCaloTrigger.h.
References EgHLTOffHistBins_cfi::et, fillEmCands(), fillRegions(), getCentralJets(), getEtHadCollection(), getEtMissCollection(), getEtSumCollection(), getForwardJets(), getHFBitCountsCollection(), getHFRingEtSumsCollection(), getHtMissCollection(), getInternalEtSums(), getInternalHtMiss(), getInternalJets(), getIsoElectrons(), getNonIsoElectrons(), getTauJets(), LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, m_numOfBx, HLT_2018_cff::region, setIsoEm(), setNonIsoEm(), and setRegion().
|
inline |
get the Wheel Energy Fpgas
Definition at line 193 of file L1GlobalCaloTrigger.h.
References theWheelEnergyFpgas.
|
inline |
get the Wheel Jet FPGAs
Definition at line 190 of file L1GlobalCaloTrigger.h.
References theWheelJetFpgas.
void L1GlobalCaloTrigger::print | ( | void | ) |
================================================================================================= Print method
print setup info
================================================================================================= Print method
Definition at line 529 of file L1GlobalCaloTrigger.cc.
References mps_fire::i, theEmLeafCards, theJetLeafCards, theWheelEnergyFpgas, and theWheelJetFpgas.
Referenced by getJetEtCalibLuts(), and L1GctEmulator::L1GctEmulator().
void L1GlobalCaloTrigger::process | ( | ) |
process an event
Sort the input data by bunch crossing number
Definition at line 136 of file L1GlobalCaloTrigger.cc.
References l1GtPatternGenerator_cfi::bx, bxProcess(), bxReset(), bxSetup(), fillEmCands(), fillRegions(), mps_fire::i, m_allInputEmCands, m_allInputRegions, m_bxStart, m_numOfBx, setupOk(), and sortInputData().
Referenced by L1GctEmulator::produce().
void L1GlobalCaloTrigger::reset | ( | void | ) |
Reset internal buffers.
=================================================================================================
Methods to reset all processors and process an event (consisting of multiple bunch crossings)
Definition at line 91 of file L1GlobalCaloTrigger.cc.
References mps_fire::i, m_allInputEmCands, m_allInputRegions, m_bxRangeAuto, m_bxStart, m_numOfBx, N_EM_LEAF_CARDS, N_JET_LEAF_CARDS, N_WHEEL_CARDS, L1GctProcessor::reset(), L1GctGlobalEnergyAlgos::reset(), theEmLeafCards, theEnergyFinalStage, theIsoEmFinalStage, theJetFinalStage, theJetFinders, theJetLeafCards, theNonIsoEmFinalStage, theWheelEnergyFpgas, and theWheelJetFpgas.
Referenced by L1GctEmulator::produce().
void L1GlobalCaloTrigger::setBxRange | ( | const int | firstBx, |
const int | lastBx | ||
) |
================================================================================================= Multiple bunch operation
set parameters for multiple bunch operation process crossings from (firstBx) to (lastBx)
setup the bunch crossing range to be processed process crossings from (firstBx) to (lastBx)
Definition at line 422 of file L1GlobalCaloTrigger.cc.
References m_bxRangeAuto, m_bxStart, and m_numOfBx.
Referenced by L1GctEmulator::L1GctEmulator().
void L1GlobalCaloTrigger::setBxRangeAutomatic | ( | ) |
process all crossings present in the input (and only those crossings)
Definition at line 434 of file L1GlobalCaloTrigger.cc.
References m_bxRangeAuto, m_bxStart, and m_numOfBx.
void L1GlobalCaloTrigger::setBxRangeSymmetric | ( | const int | numOfBx | ) |
process crossings from (-numOfBx) to (numOfBx)
Definition at line 428 of file L1GlobalCaloTrigger.cc.
References m_bxRangeAuto, m_bxStart, and m_numOfBx.
void L1GlobalCaloTrigger::setChannelMask | ( | const L1GctChannelMask *const | mask | ) |
setup the input channel mask
Definition at line 359 of file L1GlobalCaloTrigger.cc.
References mps_fire::i, m_inputChannelMask, N_JET_LEAF_CARDS, and theJetLeafCards.
Referenced by L1GctEmulator::configureGct().
void L1GlobalCaloTrigger::setHtMissScale | ( | const L1CaloEtScale *const | scale | ) |
setup scale for missing Ht
Definition at line 345 of file L1GlobalCaloTrigger.cc.
References L1GctGlobalEnergyAlgos::setHtMissScale(), and theEnergyFinalStage.
Referenced by L1GctEmulator::configureGct(), and L1GctPrintLuts::configureGct().
void L1GlobalCaloTrigger::setIsoEm | ( | const L1CaloEmCand & | em | ) |
set an isolated EM candidate to be processed
Set an isolated EM candidate to be processed Called from fillEmCands() above - also available to be called directly (but the "user" has to take care of any multiple bunch crossing issues)
Definition at line 513 of file L1GlobalCaloTrigger.cc.
References L1GctChannelMask::emCrateMask(), m_inputChannelMask, L1CaloEmCand::rctCrate(), sorterNo(), and theIsoElectronSorters.
Referenced by fillEmCands(), and getTotalBx().
void L1GlobalCaloTrigger::setJetEtCalibrationLuts | ( | const lutPtrVector & | jfluts | ) |
setup the Jet Calibration Luts
Definition at line 324 of file L1GlobalCaloTrigger.cc.
References mps_fire::i, m_jetEtCalLuts, N_JET_LEAF_CARDS, and theJetLeafCards.
Referenced by L1GctEmulator::configureGct(), and L1GctPrintLuts::configureGct().
void L1GlobalCaloTrigger::setJetFinderParams | ( | const L1GctJetFinderParams *const | jfpars | ) |
================================================================================================= Configuration options for the GCT
Setup the jet finder parameters
================================================================================================= Configuration options for the GCT
setup the Jet Finder parameters
Definition at line 308 of file L1GlobalCaloTrigger.cc.
References L1GctJetFinderParams::getCenForJetEtaBoundary(), L1GctJetFinderParams::getCenJetEtSeedGct(), L1GctJetFinderParams::getTauJetEtSeedGct(), mps_fire::i, m_jetFinderParams, N_JET_LEAF_CARDS, L1GctGlobalEnergyAlgos::setJetFinderParams(), theEnergyFinalStage, and theJetLeafCards.
Referenced by L1GctEmulator::configureGct(), and L1GctPrintLuts::configureGct().
void L1GlobalCaloTrigger::setNonIsoEm | ( | const L1CaloEmCand & | em | ) |
set a non-isolated EM candidate to be processed
Set a non-isolated EM candidate to be processed Called from fillEmCands() above - also available to be called directly (but the "user" has to take care of any multiple bunch crossing issues)
Definition at line 521 of file L1GlobalCaloTrigger.cc.
References L1GctChannelMask::emCrateMask(), m_inputChannelMask, L1CaloEmCand::rctCrate(), sorterNo(), and theNonIsoElectronSorters.
Referenced by fillEmCands(), and getTotalBx().
void L1GlobalCaloTrigger::setRegion | ( | const L1CaloRegion & | region | ) |
Other methods for debugging set a jet region at the input to be processed
Set a jet region at the input to be processed Called from fillRegions() above - also available to be called directly (but the "user" has to take care of any multiple bunch crossing issues)
Definition at line 482 of file L1GlobalCaloTrigger.cc.
References L1CaloRegion::gctEta(), L1CaloRegion::gctPhi(), m_inputChannelMask, L1CaloRegionDetId::N_PHI, L1CaloRegion::rctCrate(), L1GctChannelMask::regionMask(), and theJetFinders.
Referenced by fillRegions(), getTotalBx(), and setRegion().
void L1GlobalCaloTrigger::setRegion | ( | const unsigned | et, |
const unsigned | ieta, | ||
const unsigned | iphi, | ||
const bool | overFlow = false , |
||
const bool | fineGrain = true |
||
) |
construct a jet region and set it at the input to be processed
Construct a jet region and set it at the input to be processed. For testing/debugging only.
Definition at line 503 of file L1GlobalCaloTrigger.cc.
References setRegion(), and groupFilesInBlocks::temp.
void L1GlobalCaloTrigger::setTerse | ( | ) |
Definition at line 788 of file L1GlobalCaloTrigger.cc.
References mps_fire::i, N_EM_LEAF_CARDS, N_JET_LEAF_CARDS, N_WHEEL_CARDS, L1GctProcessor::setTerse(), theEmLeafCards, theEnergyFinalStage, theIsoEmFinalStage, theJetFinalStage, theJetFinders, theJetLeafCards, theNonIsoEmFinalStage, theWheelEnergyFpgas, and theWheelJetFpgas.
Referenced by getJetEtCalibLuts().
void L1GlobalCaloTrigger::setupHfSumLuts | ( | const L1CaloEtScale *const | scale | ) |
setup Hf sum LUTs
Definition at line 352 of file L1GlobalCaloTrigger.cc.
References getHfSumProcessor(), and L1GctGlobalHfSumAlgos::setupLuts().
Referenced by L1GctEmulator::configureGct(), and L1GctPrintLuts::configureGct().
|
private |
check we have done all the setup
Definition at line 370 of file L1GlobalCaloTrigger.cc.
References mps_fire::i, m_inputChannelMask, N_EM_LEAF_CARDS, N_JET_LEAF_CARDS, N_WHEEL_CARDS, mps_fire::result, L1GctJetFinalStage::setupOk(), L1GctElectronFinalSort::setupOk(), L1GctGlobalEnergyAlgos::setupOk(), theEmLeafCards, theEnergyFinalStage, theIsoEmFinalStage, theJetFinalStage, theJetFinders, theJetLeafCards, theNonIsoEmFinalStage, theWheelEnergyFpgas, and theWheelJetFpgas.
Referenced by getJetEtCalibLuts(), and process().
void L1GlobalCaloTrigger::setupTauAlgo | ( | const bool | useImprovedAlgo, |
const bool | ignoreVetoBitsForIsolation | ||
) |
setup the tau algorithm parameters
Setup the tau algorithm parameters.
Definition at line 335 of file L1GlobalCaloTrigger.cc.
References mps_fire::i, N_JET_LEAF_CARDS, and theJetLeafCards.
Referenced by L1GctEmulator::L1GctEmulator().
void L1GlobalCaloTrigger::setVerbose | ( | ) |
control output messages
Definition at line 752 of file L1GlobalCaloTrigger.cc.
References mps_fire::i, N_EM_LEAF_CARDS, N_JET_LEAF_CARDS, N_WHEEL_CARDS, L1GctProcessor::setVerbose(), theEmLeafCards, theEnergyFinalStage, theIsoEmFinalStage, theJetFinalStage, theJetFinders, theJetLeafCards, theNonIsoEmFinalStage, theWheelEnergyFpgas, and theWheelJetFpgas.
Referenced by getJetEtCalibLuts().
|
private |
ordering of the electron sorters to give the correct priority to the candidates in the final sort
ordering of the electron sorters to give the correct priority to the candidates in the final sort The priority ordering is: crates 4 - 8 : priority 0 (highest) crates 0 - 3 : priority 1 crates 13 -17 : priority 2 crates 9 -12 : priority 3 (lowest)
Definition at line 912 of file L1GlobalCaloTrigger.cc.
References L1CaloEmCand::rctCrate(), and mps_fire::result.
Referenced by getJetEtCalibLuts(), setIsoEm(), and setNonIsoEm().
|
private |
Sort the input data by bunch crossing number.
Steps in the processing treating input arriving over several bunch crossings Sort the input data by bunch crossing number
Definition at line 165 of file L1GlobalCaloTrigger.cc.
References emcBxComparator, m_allInputEmCands, m_allInputRegions, and rgnBxComparator.
Referenced by getJetEtCalibLuts(), and process().
|
private |
Definition at line 255 of file L1GlobalCaloTrigger.h.
Referenced by sortInputData().
|
private |
Local copies of input data, sorted by bunch crossing then sent to the processors one bunch crossing at a time
Definition at line 306 of file L1GlobalCaloTrigger.h.
Referenced by bxSetup(), fillEmCands(), process(), reset(), and sortInputData().
|
private |
Definition at line 307 of file L1GlobalCaloTrigger.h.
Referenced by bxSetup(), fillRegions(), process(), reset(), and sortInputData().
|
private |
Multiple bunch crossing operation.
Definition at line 300 of file L1GlobalCaloTrigger.h.
Referenced by bxSetup(), reset(), setBxRange(), setBxRangeAutomatic(), and setBxRangeSymmetric().
|
private |
Definition at line 301 of file L1GlobalCaloTrigger.h.
Referenced by bxSetup(), getEtHadCollection(), getEtMissCollection(), getEtSumCollection(), getFirstBx(), getHFBitCountsCollection(), getHFRingEtSumsCollection(), getHtMissCollection(), getLastBx(), process(), reset(), setBxRange(), setBxRangeAutomatic(), and setBxRangeSymmetric().
|
private |
Input channel mask.
Definition at line 297 of file L1GlobalCaloTrigger.h.
Referenced by setChannelMask(), setIsoEm(), setNonIsoEm(), setRegion(), and setupOk().
|
private |
Jet Et calibration LUT.
Definition at line 294 of file L1GlobalCaloTrigger.h.
Referenced by getJetEtCalibLuts(), and setJetEtCalibrationLuts().
|
private |
Jetfinder parameters.
Definition at line 291 of file L1GlobalCaloTrigger.h.
Referenced by getJetFinderParams(), and setJetFinderParams().
|
private |
Definition at line 302 of file L1GlobalCaloTrigger.h.
Referenced by bxSetup(), getEtHadCollection(), getEtMissCollection(), getEtSumCollection(), getHFBitCountsCollection(), getHFRingEtSumsCollection(), getHtMissCollection(), getLastBx(), getTotalBx(), process(), reset(), setBxRange(), setBxRangeAutomatic(), and setBxRangeSymmetric().
|
static |
Number of Leaf Cards configured for EM processing.
Definition at line 49 of file L1GlobalCaloTrigger.h.
Referenced by build(), bxProcess(), bxReset(), bxSetup(), reset(), setTerse(), setupOk(), and setVerbose().
|
static |
Number of Leaf Cards configured for jet processing.
Definition at line 47 of file L1GlobalCaloTrigger.h.
Referenced by build(), bxProcess(), bxReset(), bxSetup(), getInternalEtSums(), getInternalHtMiss(), reset(), setChannelMask(), setJetEtCalibrationLuts(), setJetFinderParams(), setTerse(), setupOk(), setupTauAlgo(), and setVerbose().
|
static |
Number of Wheel Cards.
Definition at line 51 of file L1GlobalCaloTrigger.h.
Referenced by build(), bxProcess(), bxReset(), bxSetup(), getInternalEtSums(), getInternalHtMiss(), reset(), setTerse(), setupOk(), and setVerbose().
|
private |
Definition at line 256 of file L1GlobalCaloTrigger.h.
Referenced by sortInputData().
|
private |
pointers to the EM Leaf cards
Definition at line 266 of file L1GlobalCaloTrigger.h.
Referenced by build(), bxProcess(), bxReset(), bxSetup(), getEmLeafCards(), print(), reset(), setTerse(), setupOk(), setVerbose(), and ~L1GlobalCaloTrigger().
|
private |
energy final stage algos
Definition at line 282 of file L1GlobalCaloTrigger.h.
Referenced by build(), bxProcess(), bxReset(), bxSetup(), getEnergyFinalStage(), getEtHadCollection(), getEtMissCollection(), getEtSumCollection(), getHfSumProcessor(), getHtMissCollection(), reset(), setHtMissScale(), setJetFinderParams(), setTerse(), setupOk(), setVerbose(), and ~L1GlobalCaloTrigger().
|
private |
pointers to the electron sorters
Definition at line 269 of file L1GlobalCaloTrigger.h.
Referenced by build(), and setIsoEm().
|
private |
iso electron final stage sorter
Definition at line 285 of file L1GlobalCaloTrigger.h.
Referenced by build(), bxProcess(), bxReset(), bxSetup(), getIsoElectrons(), getIsoEmFinalStage(), reset(), setTerse(), setupOk(), setVerbose(), and ~L1GlobalCaloTrigger().
|
private |
jet final stage algo
Definition at line 279 of file L1GlobalCaloTrigger.h.
Referenced by build(), bxProcess(), bxReset(), bxSetup(), getCentralJets(), getForwardJets(), getJetFinalStage(), getTauJets(), reset(), setTerse(), setupOk(), setVerbose(), and ~L1GlobalCaloTrigger().
|
private |
pointers to the Jet Finders
Definition at line 263 of file L1GlobalCaloTrigger.h.
Referenced by build(), getInternalEtSums(), getInternalHtMiss(), getInternalJets(), reset(), setRegion(), setTerse(), setupOk(), and setVerbose().
|
private |
pointers to the Jet Leaf cards
Definition at line 260 of file L1GlobalCaloTrigger.h.
Referenced by build(), bxProcess(), bxReset(), bxSetup(), getInternalEtSums(), getInternalHtMiss(), getJetLeafCards(), print(), reset(), setChannelMask(), setJetEtCalibrationLuts(), setJetFinderParams(), setTerse(), setupOk(), setupTauAlgo(), setVerbose(), and ~L1GlobalCaloTrigger().
|
private |
Definition at line 270 of file L1GlobalCaloTrigger.h.
Referenced by build(), and setNonIsoEm().
|
private |
non-iso electron final stage sorter
Definition at line 288 of file L1GlobalCaloTrigger.h.
Referenced by build(), bxProcess(), bxReset(), bxSetup(), getNonIsoElectrons(), getNonIsoEmFinalStage(), reset(), setTerse(), setupOk(), setVerbose(), and ~L1GlobalCaloTrigger().
|
private |
Wheel Card Energy Fpgas.
Definition at line 276 of file L1GlobalCaloTrigger.h.
Referenced by build(), bxProcess(), bxReset(), bxSetup(), getInternalEtSums(), getWheelEnergyFpgas(), print(), reset(), setTerse(), setupOk(), setVerbose(), and ~L1GlobalCaloTrigger().
|
private |
Wheel Card Jet Fpgas.
Definition at line 273 of file L1GlobalCaloTrigger.h.
Referenced by build(), bxProcess(), bxReset(), bxSetup(), getInternalHtMiss(), getWheelJetFpgas(), print(), reset(), setTerse(), setupOk(), setVerbose(), and ~L1GlobalCaloTrigger().