#include <MicroGMTIsolationUnit.h>
Public Member Functions | |
void | calculate5by1Sums (const MicroGMTConfiguration::CaloInputCollection &, int bx) |
int | calculate5by5Sum (unsigned index) const |
void | extrapolateMuons (MicroGMTConfiguration::InterMuonList &) const |
int | getCaloIndex (MicroGMTConfiguration::InterMuon &) const |
void | initialise (L1TMuonGlobalParamsHelper *) |
Initialisation from ES record. More... | |
void | isolate (MicroGMTConfiguration::InterMuonList &) const |
void | isolatePreSummed (MicroGMTConfiguration::InterMuonList &muons) const |
MicroGMTIsolationUnit () | |
void | setTowerSums (const MicroGMTConfiguration::CaloInputCollection &inputs, int bx) |
virtual | ~MicroGMTIsolationUnit () |
Definition at line 14 of file MicroGMTIsolationUnit.h.
l1t::MicroGMTIsolationUnit::MicroGMTIsolationUnit | ( | ) |
Definition at line 9 of file MicroGMTIsolationUnit.cc.
|
virtual |
Definition at line 13 of file MicroGMTIsolationUnit.cc.
void l1t::MicroGMTIsolationUnit::calculate5by1Sums | ( | const MicroGMTConfiguration::CaloInputCollection & | inputs, |
int | bx | ||
) |
Definition at line 107 of file MicroGMTIsolationUnit.cc.
References BXVector< T >::at(), m_5by1TowerSums, m_caloInputsToDisable, m_initialSums, m_maskedCaloInputs, and BXVector< T >::size().
int l1t::MicroGMTIsolationUnit::calculate5by5Sum | ( | unsigned | index | ) | const |
Definition at line 150 of file MicroGMTIsolationUnit.cc.
References m_5by1TowerSums, and min().
Referenced by isolate().
void l1t::MicroGMTIsolationUnit::extrapolateMuons | ( | MicroGMTConfiguration::InterMuonList & | inputmuons | ) | const |
Definition at line 66 of file MicroGMTIsolationUnit.cc.
References funct::abs(), spr::deltaEta, hiPixelPairStep_cff::deltaPhi, m_etaExtrapolationLUTs, m_fwVersion, m_phiExtrapolationLUTs, RPCpg::mu, and Validation_hcalonly_cfi::sign.
Referenced by L1TMuonProducer::produce().
int l1t::MicroGMTIsolationUnit::getCaloIndex | ( | MicroGMTConfiguration::InterMuon & | mu | ) | const |
Definition at line 47 of file MicroGMTIsolationUnit.cc.
References PVValHelper::eta, l1t::MicroGMTConfiguration::getTwosComp(), l1t::GMTInternalMuon::hwDEta(), l1t::GMTInternalMuon::hwDPhi(), l1t::GMTInternalMuon::hwEta(), l1t::GMTInternalMuon::hwGlobalPhi(), m_IdxSelMemEta, m_IdxSelMemPhi, l1t::GMTInternalMuon::setHwCaloEta(), and l1t::GMTInternalMuon::setHwCaloPhi().
Referenced by isolate(), and isolatePreSummed().
void l1t::MicroGMTIsolationUnit::initialise | ( | L1TMuonGlobalParamsHelper * | microGMTParamsHelper | ) |
Initialisation from ES record.
Definition at line 18 of file MicroGMTIsolationUnit.cc.
References L1TMuonGlobalParamsHelper::absIsoCheckMemLUT(), L1TMuonGlobalParamsHelper::bEtaExtrapolationLUT(), l1t::bmtf, L1TMuonGlobalParamsHelper::bPhiExtrapolationLUT(), L1TMuonGlobalParamsHelper::caloInputsToDisable(), l1t::MicroGMTExtrapolationLUTFactory::create(), l1t::MicroGMTCaloIndexSelectionLUTFactory::create(), l1t::MicroGMTAbsoluteIsolationCheckLUTFactory::create(), l1t::MicroGMTRelativeIsolationCheckLUTFactory::create(), l1t::emtf_neg, l1t::emtf_pos, l1t::MicroGMTConfiguration::ETA, l1t::MicroGMTConfiguration::ETA_OUT, L1TMuonGlobalParamsHelper::fEtaExtrapolationLUT(), L1TMuonGlobalParamsHelper::fPhiExtrapolationLUT(), L1TMuonGlobalParamsHelper::fwVersion(), L1TMuonGlobalParamsHelper::idxSelMemEtaLUT(), L1TMuonGlobalParamsHelper::idxSelMemPhiLUT(), m_AbsIsoCheckMem, m_BEtaExtrapolation, m_BPhiExtrapolation, m_caloInputsToDisable, m_etaExtrapolationLUTs, m_FEtaExtrapolation, m_FPhiExtrapolation, m_fwVersion, m_IdxSelMemEta, m_IdxSelMemPhi, m_maskedCaloInputs, m_OEtaExtrapolation, m_OPhiExtrapolation, m_phiExtrapolationLUTs, m_RelIsoCheckMem, L1TMuonGlobalParamsHelper::maskedCaloInputs(), L1TMuonGlobalParamsHelper::oEtaExtrapolationLUT(), l1t::omtf_neg, l1t::omtf_pos, L1TMuonGlobalParamsHelper::oPhiExtrapolationLUT(), l1t::MicroGMTConfiguration::PHI, l1t::MicroGMTConfiguration::PHI_OUT, and L1TMuonGlobalParamsHelper::relIsoCheckMemLUT().
Referenced by L1TMuonProducer::beginRun().
void l1t::MicroGMTIsolationUnit::isolate | ( | MicroGMTConfiguration::InterMuonList & | muons | ) | const |
Definition at line 171 of file MicroGMTIsolationUnit.cc.
References objects.autophobj::absIso, calculate5by5Sum(), CastorDataFrameFilter_impl::energySum(), getCaloIndex(), m_AbsIsoCheckMem, m_RelIsoCheckMem, RPCpg::mu, and objects.autophobj::relIso.
void l1t::MicroGMTIsolationUnit::isolatePreSummed | ( | MicroGMTConfiguration::InterMuonList & | muons | ) | const |
Definition at line 203 of file MicroGMTIsolationUnit.cc.
References objects.autophobj::absIso, CastorDataFrameFilter_impl::energySum(), getCaloIndex(), m_AbsIsoCheckMem, m_RelIsoCheckMem, m_towerEnergies, RPCpg::mu, and objects.autophobj::relIso.
Referenced by L1TMuonProducer::produce().
void l1t::MicroGMTIsolationUnit::setTowerSums | ( | const MicroGMTConfiguration::CaloInputCollection & | inputs, |
int | bx | ||
) |
Definition at line 186 of file MicroGMTIsolationUnit.cc.
References BXVector< T >::begin(), BXVector< T >::end(), BXVector< T >::getFirstBX(), BXVector< T >::getLastBX(), input, m_caloInputsToDisable, m_initialSums, m_maskedCaloInputs, m_towerEnergies, and BXVector< T >::size().
Referenced by L1TMuonProducer::produce().
|
private |
Definition at line 59 of file MicroGMTIsolationUnit.h.
Referenced by calculate5by1Sums(), and calculate5by5Sum().
|
private |
Definition at line 54 of file MicroGMTIsolationUnit.h.
Referenced by initialise(), isolate(), and isolatePreSummed().
|
private |
Definition at line 40 of file MicroGMTIsolationUnit.h.
Referenced by initialise().
|
private |
Definition at line 41 of file MicroGMTIsolationUnit.h.
Referenced by initialise().
|
private |
Definition at line 56 of file MicroGMTIsolationUnit.h.
Referenced by calculate5by1Sums(), initialise(), and setTowerSums().
|
private |
Definition at line 48 of file MicroGMTIsolationUnit.h.
Referenced by extrapolateMuons(), and initialise().
|
private |
Definition at line 44 of file MicroGMTIsolationUnit.h.
Referenced by initialise().
|
private |
Definition at line 45 of file MicroGMTIsolationUnit.h.
Referenced by initialise().
|
private |
Definition at line 38 of file MicroGMTIsolationUnit.h.
Referenced by extrapolateMuons(), and initialise().
|
private |
Definition at line 50 of file MicroGMTIsolationUnit.h.
Referenced by getCaloIndex(), and initialise().
|
private |
Definition at line 51 of file MicroGMTIsolationUnit.h.
Referenced by getCaloIndex(), and initialise().
|
private |
Definition at line 61 of file MicroGMTIsolationUnit.h.
Referenced by calculate5by1Sums(), and setTowerSums().
|
private |
Definition at line 57 of file MicroGMTIsolationUnit.h.
Referenced by calculate5by1Sums(), initialise(), and setTowerSums().
|
private |
Definition at line 42 of file MicroGMTIsolationUnit.h.
Referenced by initialise().
|
private |
Definition at line 43 of file MicroGMTIsolationUnit.h.
Referenced by initialise().
|
private |
Definition at line 47 of file MicroGMTIsolationUnit.h.
Referenced by extrapolateMuons(), and initialise().
|
private |
Definition at line 53 of file MicroGMTIsolationUnit.h.
Referenced by initialise(), isolate(), and isolatePreSummed().
|
private |
Definition at line 60 of file MicroGMTIsolationUnit.h.
Referenced by isolatePreSummed(), and setTowerSums().