#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 () |
Private Attributes | |
std::vector< int > | m_5by1TowerSums |
std::shared_ptr < MicroGMTAbsoluteIsolationCheckLUT > | m_AbsIsoCheckMem |
std::shared_ptr < MicroGMTExtrapolationLUT > | m_BEtaExtrapolation |
std::shared_ptr < MicroGMTExtrapolationLUT > | m_BPhiExtrapolation |
std::map< tftype, std::shared_ptr < MicroGMTExtrapolationLUT > > | m_etaExtrapolationLUTs |
std::shared_ptr < MicroGMTExtrapolationLUT > | m_FEtaExtrapolation |
std::shared_ptr < MicroGMTExtrapolationLUT > | m_FPhiExtrapolation |
std::shared_ptr < MicroGMTCaloIndexSelectionLUT > | m_IdxSelMemEta |
std::shared_ptr < MicroGMTCaloIndexSelectionLUT > | m_IdxSelMemPhi |
bool | m_initialSums |
std::shared_ptr < MicroGMTExtrapolationLUT > | m_OEtaExtrapolation |
std::shared_ptr < MicroGMTExtrapolationLUT > | m_OPhiExtrapolation |
std::map< tftype, std::shared_ptr < MicroGMTExtrapolationLUT > > | m_phiExtrapolationLUTs |
std::shared_ptr < MicroGMTRelativeIsolationCheckLUT > | m_RelIsoCheckMem |
std::map< int, int > | m_towerEnergies |
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 87 of file MicroGMTIsolationUnit.cc.
References BXVector< T >::at(), and BXVector< T >::size().
int l1t::MicroGMTIsolationUnit::calculate5by5Sum | ( | unsigned | index | ) | const |
Definition at line 112 of file MicroGMTIsolationUnit.cc.
References min().
void l1t::MicroGMTIsolationUnit::extrapolateMuons | ( | MicroGMTConfiguration::InterMuonList & | inputmuons | ) | const |
Definition at line 63 of file MicroGMTIsolationUnit.cc.
References funct::abs(), spr::deltaEta, SiPixelRawToDigiRegional_cfi::deltaPhi, RPCpg::mu, and jetcorrextractor::sign().
Referenced by L1TMuonProducer::produce().
int l1t::MicroGMTIsolationUnit::getCaloIndex | ( | MicroGMTConfiguration::InterMuon & | mu | ) | const |
Definition at line 44 of file MicroGMTIsolationUnit.cc.
References eta, l1t::MicroGMTConfiguration::getTwosComp(), l1t::GMTInternalMuon::hwDEta(), l1t::GMTInternalMuon::hwDPhi(), l1t::GMTInternalMuon::hwEta(), l1t::GMTInternalMuon::hwGlobalPhi(), phi(), l1t::GMTInternalMuon::setHwCaloEta(), and l1t::GMTInternalMuon::setHwCaloPhi().
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(), 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(), stage2BMTFBufferRaw_cfi::fwVersion, L1TMuonGlobalParamsHelper::fwVersion(), L1TMuonGlobalParamsHelper::idxSelMemEtaLUT(), L1TMuonGlobalParamsHelper::idxSelMemPhiLUT(), 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 133 of file MicroGMTIsolationUnit.cc.
References CastorDataFrameFilter_impl::energySum(), RPCpg::mu, and objects.IsoTrackAnalyzer::relIso.
void l1t::MicroGMTIsolationUnit::isolatePreSummed | ( | MicroGMTConfiguration::InterMuonList & | muons | ) | const |
Definition at line 162 of file MicroGMTIsolationUnit.cc.
References CastorDataFrameFilter_impl::energySum(), RPCpg::mu, and objects.IsoTrackAnalyzer::relIso.
Referenced by L1TMuonProducer::produce().
void l1t::MicroGMTIsolationUnit::setTowerSums | ( | const MicroGMTConfiguration::CaloInputCollection & | inputs, |
int | bx | ||
) |
Definition at line 148 of file MicroGMTIsolationUnit.cc.
References BXVector< T >::begin(), BXVector< T >::end(), BXVector< T >::getFirstBX(), BXVector< T >::getLastBX(), input, and BXVector< T >::size().
Referenced by L1TMuonProducer::produce().
|
private |
Definition at line 54 of file MicroGMTIsolationUnit.h.
|
private |
Definition at line 52 of file MicroGMTIsolationUnit.h.
|
private |
Definition at line 38 of file MicroGMTIsolationUnit.h.
|
private |
Definition at line 39 of file MicroGMTIsolationUnit.h.
|
private |
Definition at line 46 of file MicroGMTIsolationUnit.h.
|
private |
Definition at line 42 of file MicroGMTIsolationUnit.h.
|
private |
Definition at line 43 of file MicroGMTIsolationUnit.h.
|
private |
Definition at line 48 of file MicroGMTIsolationUnit.h.
|
private |
Definition at line 49 of file MicroGMTIsolationUnit.h.
|
private |
Definition at line 56 of file MicroGMTIsolationUnit.h.
|
private |
Definition at line 40 of file MicroGMTIsolationUnit.h.
|
private |
Definition at line 41 of file MicroGMTIsolationUnit.h.
|
private |
Definition at line 45 of file MicroGMTIsolationUnit.h.
|
private |
Definition at line 51 of file MicroGMTIsolationUnit.h.
|
private |
Definition at line 55 of file MicroGMTIsolationUnit.h.