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 46 of file L1GlobalCaloTrigger.h.
Definition at line 57 of file L1GlobalCaloTrigger.h.
Definition at line 59 of file L1GlobalCaloTrigger.h.
Definition at line 58 of file L1GlobalCaloTrigger.h.
typedefs for energy values in fixed numbers of bits
Definition at line 56 of file L1GlobalCaloTrigger.h.
Definition at line 61 of file L1GlobalCaloTrigger.h.
Definition at line 62 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 i, theEmLeafCards, theEnergyFinalStage, theIsoEmFinalStage, theJetFinalStage, theJetLeafCards, theNonIsoEmFinalStage, theWheelEnergyFpgas, and theWheelJetFpgas.
|
private |
instantiate the hardware & algo objects and wire up the system
Definition at line 839 of file L1GlobalCaloTrigger.cc.
References i, 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 L1GlobalCaloTrigger().
|
private |
Process a new bunch crossing.
Definition at line 253 of file L1GlobalCaloTrigger.cc.
References L1GctJetFinalStage::fetchInput(), L1GctElectronFinalSort::fetchInput(), L1GctGlobalEnergyAlgos::fetchInput(), 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 process().
|
private |
Partial reset for a new bunch crossing.
Definition at line 220 of file L1GlobalCaloTrigger.cc.
References 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 process().
|
private |
Setup bunch crossing range (depending on input data)
Definition at line 165 of file L1GlobalCaloTrigger.cc.
References i, m_allInputEmCands, m_allInputRegions, m_bxRangeAuto, m_bxStart, m_numOfBx, bookConverter::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 process().
void L1GlobalCaloTrigger::fillEmCands | ( | const std::vector< L1CaloEmCand > & | rgn | ) |
set electrons from the RCT at the input to be processed
Definition at line 444 of file L1GlobalCaloTrigger.cc.
References m_allInputEmCands.
Referenced by 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 460 of file L1GlobalCaloTrigger.cc.
References 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 435 of file L1GlobalCaloTrigger.cc.
References m_allInputRegions.
Referenced by process(), and L1GctEmulator::produce().
|
private |
Private method to send one bunch crossing's worth of regions to the processors.
Definition at line 453 of file L1GlobalCaloTrigger.cc.
References 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 L1GctEmulator::produce().
|
inline |
get the Jet Leaf cards
Definition at line 185 of file L1GlobalCaloTrigger.h.
References theEmLeafCards.
|
inline |
get the energy final stage
Definition at line 197 of file L1GlobalCaloTrigger.h.
References theEnergyFinalStage.
Referenced by L1GctPrintLuts::analyze().
L1GctEtHadCollection L1GlobalCaloTrigger::getEtHadCollection | ( | ) | const |
Total hadronic Et output to GT.
Definition at line 635 of file L1GlobalCaloTrigger.cc.
References L1GctGlobalEnergyAlgos::getEtHadColl(), i, m_bxStart, m_numOfBx, query::result, groupFilesInBlocks::temp, and theEnergyFinalStage.
Referenced by L1GctEmulator::produce().
L1GctEtMissCollection L1GlobalCaloTrigger::getEtMissCollection | ( | ) | const |
Etmiss output to GT.
Definition at line 647 of file L1GlobalCaloTrigger.cc.
References L1GctGlobalEnergyAlgos::getEtMissColl(), L1GctGlobalEnergyAlgos::getEtMissPhiColl(), i, m_bxStart, m_numOfBx, query::result, groupFilesInBlocks::temp, and theEnergyFinalStage.
Referenced by L1GctEmulator::produce().
L1GctEtTotalCollection L1GlobalCaloTrigger::getEtSumCollection | ( | ) | const |
Total Et output to GT.
Definition at line 623 of file L1GlobalCaloTrigger.cc.
References L1GctGlobalEnergyAlgos::getEtSumColl(), i, m_bxStart, m_numOfBx, query::result, groupFilesInBlocks::temp, and theEnergyFinalStage.
Referenced by L1GctEmulator::produce().
|
inline |
L1GctJetCandCollection L1GlobalCaloTrigger::getForwardJets | ( | ) | const |
forward jet outputs to GT
Definition at line 600 of file L1GlobalCaloTrigger.cc.
References L1GctJetFinalStage::getForwardJets(), and theJetFinalStage.
Referenced by L1GctEmulator::produce().
L1GctHFBitCountsCollection L1GlobalCaloTrigger::getHFBitCountsCollection | ( | ) | const |
Definition at line 726 of file L1GlobalCaloTrigger.cc.
References asciidump::at, L1GctHfEtSumsLut::bitCountNegEtaRing1, L1GctHfEtSumsLut::bitCountNegEtaRing2, L1GctHfEtSumsLut::bitCountPosEtaRing1, L1GctHfEtSumsLut::bitCountPosEtaRing2, L1GctHFBitCounts::fromGctEmulator(), getHfSumProcessor(), i, m_bxStart, m_numOfBx, query::result, and groupFilesInBlocks::temp.
Referenced by L1GctEmulator::produce().
L1GctHFRingEtSumsCollection L1GlobalCaloTrigger::getHFRingEtSumsCollection | ( | ) | const |
Definition at line 744 of file L1GlobalCaloTrigger.cc.
References asciidump::at, L1GctHfEtSumsLut::etSumNegEtaRing1, L1GctHfEtSumsLut::etSumNegEtaRing2, L1GctHfEtSumsLut::etSumPosEtaRing1, L1GctHfEtSumsLut::etSumPosEtaRing2, L1GctHFRingEtSums::fromGctEmulator(), getHfSumProcessor(), i, m_bxStart, m_numOfBx, query::result, and groupFilesInBlocks::temp.
Referenced by L1GctEmulator::produce().
L1GctGlobalHfSumAlgos * L1GlobalCaloTrigger::getHfSumProcessor | ( | ) | const |
provide access to hf sum processor
Definition at line 413 of file L1GlobalCaloTrigger.cc.
References L1GctGlobalEnergyAlgos::getHfSumProcessor(), query::result, and theEnergyFinalStage.
Referenced by getHFBitCountsCollection(), getHFRingEtSumsCollection(), and setupHfSumLuts().
L1GctHtMissCollection L1GlobalCaloTrigger::getHtMissCollection | ( | ) | const |
Htmiss output to GT.
Definition at line 660 of file L1GlobalCaloTrigger.cc.
References L1GctGlobalEnergyAlgos::getHtMissColl(), L1GctGlobalEnergyAlgos::getHtMissPhiColl(), i, m_bxStart, m_numOfBx, query::result, groupFilesInBlocks::temp, and theEnergyFinalStage.
Referenced by L1GctEmulator::produce().
L1GctInternEtSumCollection L1GlobalCaloTrigger::getInternalEtSums | ( | ) | const |
Et sums and components in internal format.
Definition at line 673 of file L1GlobalCaloTrigger.cc.
References i, N_JET_LEAF_CARDS, N_WHEEL_CARDS, theJetFinders, theJetLeafCards, and theWheelEnergyFpgas.
Referenced by L1GctEmulator::produce().
L1GctInternHtMissCollection L1GlobalCaloTrigger::getInternalHtMiss | ( | ) | const |
Definition at line 699 of file L1GlobalCaloTrigger.cc.
References i, N_JET_LEAF_CARDS, N_WHEEL_CARDS, theJetFinders, theJetLeafCards, and theWheelJetFpgas.
Referenced by L1GctEmulator::produce().
L1GctInternJetDataCollection L1GlobalCaloTrigger::getInternalJets | ( | ) | const |
all jets from jetfinders in raw format
Definition at line 610 of file L1GlobalCaloTrigger.cc.
References reco::JetExtendedAssociation::allJets(), and theJetFinders.
Referenced by L1GctEmulator::produce().
L1GctEmCandCollection L1GlobalCaloTrigger::getIsoElectrons | ( | ) | const |
================================================================================================= Output data get methods
iso electron outputs to GT
================================================================================================= Output data get methods
Definition at line 585 of file L1GlobalCaloTrigger.cc.
References L1GctElectronFinalSort::getOutputCands(), and theIsoEmFinalStage.
Referenced by L1GctEmulator::produce().
|
inline |
get the electron final stage sorters
Definition at line 203 of file L1GlobalCaloTrigger.h.
References theIsoEmFinalStage.
|
inline |
get the Jet Et calibration LUT
Definition at line 210 of file L1GlobalCaloTrigger.h.
References m_jetEtCalLuts.
|
inline |
get the jet final stage
Definition at line 194 of file L1GlobalCaloTrigger.h.
References theJetFinalStage.
|
inline |
get the jetFinder parameters
Definition at line 207 of file L1GlobalCaloTrigger.h.
References m_jetFinderParams.
|
inline |
================================================================================================= Access to GCT component processors
get the Jet Leaf cards
Definition at line 182 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 L1GctEmulator::produce().
|
inline |
Definition at line 204 of file L1GlobalCaloTrigger.h.
References theNonIsoEmFinalStage.
L1GctJetCandCollection L1GlobalCaloTrigger::getTauJets | ( | ) | const |
tau jet outputs to GT
Definition at line 605 of file L1GlobalCaloTrigger.cc.
References L1GctJetFinalStage::getTauJets(), and theJetFinalStage.
Referenced by L1GctEmulator::produce().
|
inline |
|
inline |
get the Wheel Energy Fpgas
Definition at line 191 of file L1GlobalCaloTrigger.h.
References theWheelEnergyFpgas.
|
inline |
get the Wheel Jet FPGAs
Definition at line 188 of file L1GlobalCaloTrigger.h.
References theWheelJetFpgas.
void L1GlobalCaloTrigger::print | ( | void | ) |
================================================================================================= Print method
print setup info
================================================================================================= Print method
Definition at line 525 of file L1GlobalCaloTrigger.cc.
References i, theEmLeafCards, theJetLeafCards, theWheelEnergyFpgas, and theWheelJetFpgas.
Referenced by L1GctEmulator::L1GctEmulator().
void L1GlobalCaloTrigger::process | ( | ) |
process an event
Sort the input data by bunch crossing number
Definition at line 128 of file L1GlobalCaloTrigger.cc.
References bxProcess(), bxReset(), bxSetup(), fillEmCands(), fillRegions(), i, m_allInputEmCands, m_allInputRegions, m_bxStart, m_numOfBx, setupOk(), and sortInputData().
Referenced by ConfigBuilder.ConfigBuilder::__init__(), ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::anyOf(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare(), ConfigBuilder.ConfigBuilder::prepare_ALCA(), ConfigBuilder.ConfigBuilder::prepare_DQM(), ConfigBuilder.ConfigBuilder::prepare_FASTSIM(), ConfigBuilder.ConfigBuilder::prepare_HARVESTING(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), L1GctEmulator::produce(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
void L1GlobalCaloTrigger::reset | ( | void | ) |
Reset internal buffers.
=================================================================================================
Methods to reset all processors and process an event (consisting of multiple bunch crossings)
Definition at line 81 of file L1GlobalCaloTrigger.cc.
References 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 424 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 428 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 426 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 360 of file L1GlobalCaloTrigger.cc.
References 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 346 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 507 of file L1GlobalCaloTrigger.cc.
References L1GctChannelMask::emCrateMask(), m_inputChannelMask, L1CaloEmCand::rctCrate(), sorterNo(), and theIsoElectronSorters.
Referenced by fillEmCands().
void L1GlobalCaloTrigger::setJetEtCalibrationLuts | ( | const lutPtrVector & | jfluts | ) |
setup the Jet Calibration Luts
Definition at line 323 of file L1GlobalCaloTrigger.cc.
References 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 304 of file L1GlobalCaloTrigger.cc.
References L1GctJetFinderParams::getCenForJetEtaBoundary(), L1GctJetFinderParams::getCenJetEtSeedGct(), L1GctJetFinderParams::getTauJetEtSeedGct(), 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 516 of file L1GlobalCaloTrigger.cc.
References L1GctChannelMask::emCrateMask(), m_inputChannelMask, L1CaloEmCand::rctCrate(), sorterNo(), and theNonIsoElectronSorters.
Referenced by fillEmCands().
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 474 of file L1GlobalCaloTrigger.cc.
References L1CaloRegion::gctEta(), L1CaloRegion::gctPhi(), m_inputChannelMask, L1CaloRegionDetId::N_PHI, L1CaloRegion::rctCrate(), L1GctChannelMask::regionMask(), and theJetFinders.
Referenced by fillRegions(), 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 496 of file L1GlobalCaloTrigger.cc.
References setRegion(), and groupFilesInBlocks::temp.
void L1GlobalCaloTrigger::setTerse | ( | ) |
Definition at line 800 of file L1GlobalCaloTrigger.cc.
References i, N_EM_LEAF_CARDS, N_JET_LEAF_CARDS, N_WHEEL_CARDS, L1GctProcessor::setTerse(), theEmLeafCards, theEnergyFinalStage, theIsoEmFinalStage, theJetFinalStage, theJetFinders, theJetLeafCards, theNonIsoEmFinalStage, theWheelEnergyFpgas, and theWheelJetFpgas.
void L1GlobalCaloTrigger::setupHfSumLuts | ( | const L1CaloEtScale *const | scale | ) |
setup Hf sum LUTs
Definition at line 353 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 371 of file L1GlobalCaloTrigger.cc.
References i, m_inputChannelMask, N_EM_LEAF_CARDS, N_JET_LEAF_CARDS, N_WHEEL_CARDS, query::result, L1GctJetFinalStage::setupOk(), L1GctElectronFinalSort::setupOk(), L1GctGlobalEnergyAlgos::setupOk(), theEmLeafCards, theEnergyFinalStage, theIsoEmFinalStage, theJetFinalStage, theJetFinders, theJetLeafCards, theNonIsoEmFinalStage, theWheelEnergyFpgas, and theWheelJetFpgas.
Referenced by 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 i, N_JET_LEAF_CARDS, and theJetLeafCards.
Referenced by L1GctEmulator::L1GctEmulator().
void L1GlobalCaloTrigger::setVerbose | ( | ) |
control output messages
Definition at line 764 of file L1GlobalCaloTrigger.cc.
References i, N_EM_LEAF_CARDS, N_JET_LEAF_CARDS, N_WHEEL_CARDS, L1GctProcessor::setVerbose(), theEmLeafCards, theEnergyFinalStage, theIsoEmFinalStage, theJetFinalStage, theJetFinders, theJetLeafCards, theNonIsoEmFinalStage, theWheelEnergyFpgas, and theWheelJetFpgas.
|
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 926 of file L1GlobalCaloTrigger.cc.
References L1CaloEmCand::rctCrate(), and query::result.
Referenced by 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 159 of file L1GlobalCaloTrigger.cc.
References emcBxComparator, m_allInputEmCands, m_allInputRegions, rgnBxComparator, and python.multivaluedict::sort().
Referenced by process().
|
private |
Definition at line 256 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 308 of file L1GlobalCaloTrigger.h.
Referenced by bxSetup(), fillEmCands(), process(), reset(), and sortInputData().
|
private |
Definition at line 309 of file L1GlobalCaloTrigger.h.
Referenced by bxSetup(), fillRegions(), process(), reset(), and sortInputData().
|
private |
Multiple bunch crossing operation.
Definition at line 302 of file L1GlobalCaloTrigger.h.
Referenced by bxSetup(), reset(), setBxRange(), setBxRangeAutomatic(), and setBxRangeSymmetric().
|
private |
Definition at line 303 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 299 of file L1GlobalCaloTrigger.h.
Referenced by setChannelMask(), setIsoEm(), setNonIsoEm(), setRegion(), and setupOk().
|
private |
Jet Et calibration LUT.
Definition at line 296 of file L1GlobalCaloTrigger.h.
Referenced by getJetEtCalibLuts(), and setJetEtCalibrationLuts().
|
private |
Jetfinder parameters.
Definition at line 293 of file L1GlobalCaloTrigger.h.
Referenced by getJetFinderParams(), and setJetFinderParams().
|
private |
Definition at line 304 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 51 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 49 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 53 of file L1GlobalCaloTrigger.h.
Referenced by build(), bxProcess(), bxReset(), bxSetup(), getInternalEtSums(), getInternalHtMiss(), reset(), setTerse(), setupOk(), and setVerbose().
|
private |
Definition at line 257 of file L1GlobalCaloTrigger.h.
Referenced by sortInputData().
|
private |
pointers to the EM Leaf cards
Definition at line 268 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 284 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 271 of file L1GlobalCaloTrigger.h.
Referenced by build(), and setIsoEm().
|
private |
iso electron final stage sorter
Definition at line 287 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 281 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 265 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 262 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 272 of file L1GlobalCaloTrigger.h.
Referenced by build(), and setNonIsoEm().
|
private |
non-iso electron final stage sorter
Definition at line 290 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 278 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 275 of file L1GlobalCaloTrigger.h.
Referenced by build(), bxProcess(), bxReset(), bxSetup(), getInternalHtMiss(), getWheelJetFpgas(), print(), reset(), setTerse(), setupOk(), setVerbose(), and ~L1GlobalCaloTrigger().