File indexing completed on 2024-04-06 12:20:48
0001 #include "L1Trigger/L1TMuon/interface/GMTInternalMuon.h"
0002 #include "L1Trigger/L1TMuon/interface/MicroGMTConfiguration.h"
0003
0004 namespace l1t {
0005
0006 GMTInternalMuon::GMTInternalMuon(const GMTInternalMuon& other)
0007 : m_regional(other.m_regional),
0008 m_hwRank(other.m_hwRank),
0009 m_hwCancelBit(other.m_hwCancelBit),
0010 m_hwIsoSum(other.m_hwIsoSum),
0011 m_hwDeltaEta(other.m_hwDeltaEta),
0012 m_hwDeltaPhi(other.m_hwDeltaPhi),
0013 m_hwAbsIso(other.m_hwAbsIso),
0014 m_hwRelIso(other.m_hwRelIso),
0015 m_hwGlobalPhi(other.m_hwGlobalPhi),
0016 m_tfMuonIndex(other.m_tfMuonIndex),
0017 m_hwCaloIndex(other.m_hwCaloIndex) {}
0018
0019 GMTInternalMuon::GMTInternalMuon(const RegionalMuonCand& regional, int globalPhi, int tfMuonIndex)
0020 : m_regional(regional),
0021 m_hwRank(0),
0022 m_hwCancelBit(0),
0023 m_hwIsoSum(0),
0024 m_hwDeltaEta(0),
0025 m_hwDeltaPhi(0),
0026 m_hwAbsIso(-1),
0027 m_hwRelIso(-1),
0028 m_hwGlobalPhi(globalPhi),
0029 m_tfMuonIndex(tfMuonIndex) {}
0030
0031 void GMTInternalMuon::setExtrapolation(int deta, int dphi) {
0032 m_hwDeltaEta = deta;
0033 m_hwDeltaPhi = dphi;
0034 }
0035
0036 }