#include <MicroGMTCancelOutUnit.h>
Public Member Functions | |
void | initialise (L1TMuonGlobalParamsHelper *) |
Initialisation from ES record. More... | |
MicroGMTCancelOutUnit () | |
void | setCancelOutBits (GMTInternalWedges &, tftype, cancelmode) |
Cancel out between sectors/wedges in one track finder. More... | |
void | setCancelOutBitsOverlapBarrel (GMTInternalWedges &, GMTInternalWedges &, cancelmode) |
Cancel-out between overlap and barrel track finders. More... | |
void | setCancelOutBitsOverlapEndcap (GMTInternalWedges &, GMTInternalWedges &, cancelmode) |
Cancel-out between overlap and endcap track finders. More... | |
virtual | ~MicroGMTCancelOutUnit () |
Private Member Functions | |
void | getCoordinateCancelBits (std::vector< std::shared_ptr< GMTInternalMuon >> &, std::vector< std::shared_ptr< GMTInternalMuon >> &) |
Compares all muons from coll1 with all muons from coll2 and sets the cancel-bits based on eta/phi coordinates. More... | |
void | getTrackAddrCancelBits (cancelmode, std::vector< std::shared_ptr< GMTInternalMuon >> &, std::vector< std::shared_ptr< GMTInternalMuon >> &) |
Compares all muons from coll1 with all muons from coll2 and sets the cancel-bits based on track addresses. More... | |
void | getTrackAddrCancelBitsKfBMTF (std::vector< std::shared_ptr< GMTInternalMuon >> &, std::vector< std::shared_ptr< GMTInternalMuon >> &) |
Do the track address-based cancel-out for the BMTF algorithm using the Kalman Filter. More... | |
void | getTrackAddrCancelBitsOrigBMTF (std::vector< std::shared_ptr< GMTInternalMuon >> &, std::vector< std::shared_ptr< GMTInternalMuon >> &) |
Do the track address-based cancel-out for the original BMTF algorithm. More... | |
Private Attributes | |
std::shared_ptr< MicroGMTMatchQualLUT > | m_boNegMatchQualLUT |
std::shared_ptr< MicroGMTMatchQualLUT > | m_boPosMatchQualLUT |
std::shared_ptr< MicroGMTMatchQualLUT > | m_brlSingleMatchQualLUT |
std::shared_ptr< MicroGMTMatchQualLUT > | m_foNegMatchQualLUT |
std::shared_ptr< MicroGMTMatchQualLUT > | m_foPosMatchQualLUT |
std::shared_ptr< MicroGMTMatchQualLUT > | m_fwdNegSingleMatchQualLUT |
std::shared_ptr< MicroGMTMatchQualLUT > | m_fwdPosSingleMatchQualLUT |
std::map< int, std::shared_ptr< MicroGMTMatchQualLUT > > | m_lutDict |
std::shared_ptr< MicroGMTMatchQualLUT > | m_ovlNegSingleMatchQualLUT |
std::shared_ptr< MicroGMTMatchQualLUT > | m_ovlPosSingleMatchQualLUT |
Definition at line 13 of file MicroGMTCancelOutUnit.h.
l1t::MicroGMTCancelOutUnit::MicroGMTCancelOutUnit | ( | ) |
Definition at line 6 of file MicroGMTCancelOutUnit.cc.
|
virtual |
Definition at line 8 of file MicroGMTCancelOutUnit.cc.
|
private |
Compares all muons from coll1 with all muons from coll2 and sets the cancel-bits based on eta/phi coordinates.
Definition at line 137 of file MicroGMTCancelOutUnit.cc.
References funct::abs(), l1t::bmtf, HLT_2018_cff::dEta, HLT_2018_cff::dPhi, l1t::emtf_neg, l1t::emtf_pos, HLTMuonOfflineAnalyzer_cfi::etaFine, l1t::MicroGMTMatchQualLUT::getDeltaEtaWidth(), l1t::MicroGMTMatchQualLUT::getDeltaPhiWidth(), createfilelist::int, l1t::MicroGMTMatchQualLUT::lookup(), m_lutDict, and match().
Referenced by setCancelOutBits(), setCancelOutBitsOverlapBarrel(), and setCancelOutBitsOverlapEndcap().
|
private |
Compares all muons from coll1 with all muons from coll2 and sets the cancel-bits based on track addresses.
Definition at line 197 of file MicroGMTCancelOutUnit.cc.
References l1t::bmtf, l1t::emtf_neg, l1t::emtf_pos, getTrackAddrCancelBitsKfBMTF(), getTrackAddrCancelBitsOrigBMTF(), l1t::kftracks, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, and PDWG_EXOHSCP_cff::tracks.
Referenced by setCancelOutBits(), setCancelOutBitsOverlapBarrel(), and setCancelOutBitsOverlapEndcap().
|
private |
Do the track address-based cancel-out for the BMTF algorithm using the Kalman Filter.
Definition at line 350 of file MicroGMTCancelOutUnit.cc.
References mps_fire::i, testProducerWithPsetDescEmpty_cfi::x1, and testProducerWithPsetDescEmpty_cfi::x2.
Referenced by getTrackAddrCancelBits().
|
private |
Do the track address-based cancel-out for the original BMTF algorithm.
Definition at line 272 of file MicroGMTCancelOutUnit.cc.
References mps_fire::i, testProducerWithPsetDescEmpty_cfi::x1, and testProducerWithPsetDescEmpty_cfi::x2.
Referenced by getTrackAddrCancelBits().
void l1t::MicroGMTCancelOutUnit::initialise | ( | L1TMuonGlobalParamsHelper * | microGMTParamsHelper | ) |
Initialisation from ES record.
Definition at line 10 of file MicroGMTCancelOutUnit.cc.
References l1t::bmtf, L1TMuonGlobalParamsHelper::bONegMatchQualLUT(), L1TMuonGlobalParamsHelper::bOPosMatchQualLUT(), l1t::MicroGMTMatchQualLUTFactory::create(), l1t::emtf_emtf_neg, l1t::emtf_emtf_pos, l1t::emtf_neg, l1t::emtf_pos, L1TMuonGlobalParamsHelper::fONegMatchQualLUT(), L1TMuonGlobalParamsHelper::fOPosMatchQualLUT(), L1TMuonGlobalParamsHelper::fwdNegSingleMatchQualLUT(), L1TMuonGlobalParamsHelper::fwdPosSingleMatchQualLUT(), amcDumpToRaw_cfi::fwVersion, L1TMuonGlobalParamsHelper::fwVersion(), m_boNegMatchQualLUT, m_boPosMatchQualLUT, m_foNegMatchQualLUT, m_foPosMatchQualLUT, m_fwdNegSingleMatchQualLUT, m_fwdPosSingleMatchQualLUT, m_lutDict, m_ovlNegSingleMatchQualLUT, m_ovlPosSingleMatchQualLUT, l1t::omtf_bmtf_neg, l1t::omtf_bmtf_pos, l1t::omtf_emtf_neg, l1t::omtf_emtf_pos, l1t::omtf_neg, l1t::omtf_omtf_neg, l1t::omtf_omtf_pos, l1t::omtf_pos, L1TMuonGlobalParamsHelper::ovlNegSingleMatchQualLUT(), and L1TMuonGlobalParamsHelper::ovlPosSingleMatchQualLUT().
Referenced by L1TMuonProducer::beginRun().
void l1t::MicroGMTCancelOutUnit::setCancelOutBits | ( | GMTInternalWedges & | wedges, |
tftype | trackFinder, | ||
cancelmode | mode | ||
) |
Cancel out between sectors/wedges in one track finder.
Definition at line 39 of file MicroGMTCancelOutUnit.cc.
References l1t::bmtf, getCoordinateCancelBits(), getTrackAddrCancelBits(), ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, and amptDefaultParameters_cff::mu.
Referenced by L1TMuonProducer::produce().
void l1t::MicroGMTCancelOutUnit::setCancelOutBitsOverlapBarrel | ( | GMTInternalWedges & | omtfSectors, |
GMTInternalWedges & | bmtfWedges, | ||
cancelmode | mode | ||
) |
Cancel-out between overlap and barrel track finders.
Definition at line 68 of file MicroGMTCancelOutUnit.cc.
References getCoordinateCancelBits(), getTrackAddrCancelBits(), mps_fire::i, and ALCARECOPromptCalibProdSiPixelAli0T_cff::mode.
Referenced by L1TMuonProducer::produce().
void l1t::MicroGMTCancelOutUnit::setCancelOutBitsOverlapEndcap | ( | GMTInternalWedges & | omtfSectors, |
GMTInternalWedges & | emtfSectors, | ||
cancelmode | mode | ||
) |
Cancel-out between overlap and endcap track finders.
Definition at line 102 of file MicroGMTCancelOutUnit.cc.
References getCoordinateCancelBits(), getTrackAddrCancelBits(), mps_fire::i, and ALCARECOPromptCalibProdSiPixelAli0T_cff::mode.
Referenced by L1TMuonProducer::produce().
|
private |
Definition at line 45 of file MicroGMTCancelOutUnit.h.
Referenced by initialise().
|
private |
Definition at line 44 of file MicroGMTCancelOutUnit.h.
Referenced by initialise().
|
private |
Definition at line 48 of file MicroGMTCancelOutUnit.h.
|
private |
Definition at line 47 of file MicroGMTCancelOutUnit.h.
Referenced by initialise().
|
private |
Definition at line 46 of file MicroGMTCancelOutUnit.h.
Referenced by initialise().
|
private |
Definition at line 52 of file MicroGMTCancelOutUnit.h.
Referenced by initialise().
|
private |
Definition at line 51 of file MicroGMTCancelOutUnit.h.
Referenced by initialise().
|
private |
Definition at line 53 of file MicroGMTCancelOutUnit.h.
Referenced by getCoordinateCancelBits(), and initialise().
|
private |
Definition at line 50 of file MicroGMTCancelOutUnit.h.
Referenced by initialise().
|
private |
Definition at line 49 of file MicroGMTCancelOutUnit.h.
Referenced by initialise().