CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
l1t::GMTInternalMuon Class Reference

#include <GMTInternalMuon.h>

Public Member Functions

 GMTInternalMuon (const RegionalMuonCand &, int, int)
 
 GMTInternalMuon (const GMTInternalMuon &)
 
const int hwAbsIso () const
 
const int hwCaloEta () const
 
const int hwCaloPhi () const
 
const int hwCancelBit () const
 
const int hwDEta () const
 
const int hwDPhi () const
 
const int hwDXY () const
 
const int hwEta () const
 
const int hwGlobalPhi () const
 
const int hwHF () const
 
const int hwIsoSum () const
 
const int hwLocalPhi () const
 
const int hwPt () const
 
const int hwPtUnconstrained () const
 
const int hwQual () const
 
const int hwRank () const
 
const int hwRelIso () const
 
const int hwSign () const
 
const int hwSignValid () const
 
const int hwWins () const
 
void increaseWins ()
 
const int link () const
 
const RegionalMuonCandorigin () const
 
const int processor () const
 
void setExtrapolation (int deta, int dphi)
 
void setHwAbsIso (int iso)
 
void setHwCaloEta (int idx)
 
void setHwCaloPhi (int idx)
 
void setHwCancelBit (int bit)
 
void setHwIsoSum (int isosum)
 
void setHwRank (int bits)
 
void setHwRelIso (int iso)
 
void setHwWins (int wins)
 
void setTfMuonIndex (int idx)
 
const int tfMuonIndex () const
 
const tftype trackFinderType () const
 
virtual ~GMTInternalMuon ()
 

Private Attributes

int m_hwAbsIso
 
std::pair< int, int > m_hwCaloIndex
 
int m_hwCancelBit
 
int m_hwDeltaEta
 
int m_hwDeltaPhi
 
int m_hwGlobalPhi
 
int m_hwIsoSum
 
int m_hwRank
 
int m_hwRelIso
 
int m_hwWins
 
const RegionalMuonCandm_regional
 
int m_tfMuonIndex
 

Detailed Description

Definition at line 10 of file GMTInternalMuon.h.

Constructor & Destructor Documentation

◆ GMTInternalMuon() [1/2]

l1t::GMTInternalMuon::GMTInternalMuon ( const RegionalMuonCand regional,
int  globalPhi,
int  tfMuonIndex 
)
explicit

Definition at line 19 of file GMTInternalMuon.cc.

◆ GMTInternalMuon() [2/2]

l1t::GMTInternalMuon::GMTInternalMuon ( const GMTInternalMuon other)

Definition at line 6 of file GMTInternalMuon.cc.

7  : m_regional(other.m_regional),
8  m_hwRank(other.m_hwRank),
9  m_hwCancelBit(other.m_hwCancelBit),
10  m_hwIsoSum(other.m_hwIsoSum),
11  m_hwDeltaEta(other.m_hwDeltaEta),
12  m_hwDeltaPhi(other.m_hwDeltaPhi),
13  m_hwAbsIso(other.m_hwAbsIso),
14  m_hwRelIso(other.m_hwRelIso),
15  m_hwGlobalPhi(other.m_hwGlobalPhi),
16  m_tfMuonIndex(other.m_tfMuonIndex),
17  m_hwCaloIndex(other.m_hwCaloIndex) {}
std::pair< int, int > m_hwCaloIndex
const RegionalMuonCand & m_regional

◆ ~GMTInternalMuon()

virtual l1t::GMTInternalMuon::~GMTInternalMuon ( )
inlinevirtual

Definition at line 16 of file GMTInternalMuon.h.

16 {};

Member Function Documentation

◆ hwAbsIso()

const int l1t::GMTInternalMuon::hwAbsIso ( ) const
inline

Definition at line 36 of file GMTInternalMuon.h.

References m_hwAbsIso.

36 { return m_hwAbsIso; };

◆ hwCaloEta()

const int l1t::GMTInternalMuon::hwCaloEta ( ) const
inline

Definition at line 38 of file GMTInternalMuon.h.

References m_hwCaloIndex.

38 { return m_hwCaloIndex.second; };
std::pair< int, int > m_hwCaloIndex

◆ hwCaloPhi()

const int l1t::GMTInternalMuon::hwCaloPhi ( ) const
inline

Definition at line 39 of file GMTInternalMuon.h.

References m_hwCaloIndex.

39 { return m_hwCaloIndex.first; };
std::pair< int, int > m_hwCaloIndex

◆ hwCancelBit()

const int l1t::GMTInternalMuon::hwCancelBit ( ) const
inline

Definition at line 30 of file GMTInternalMuon.h.

References m_hwCancelBit.

30 { return m_hwCancelBit; };

◆ hwDEta()

const int l1t::GMTInternalMuon::hwDEta ( ) const
inline

Definition at line 34 of file GMTInternalMuon.h.

References m_hwDeltaEta.

34 { return m_hwDeltaEta; };

◆ hwDPhi()

const int l1t::GMTInternalMuon::hwDPhi ( ) const
inline

Definition at line 35 of file GMTInternalMuon.h.

References m_hwDeltaPhi.

35 { return m_hwDeltaPhi; };

◆ hwDXY()

const int l1t::GMTInternalMuon::hwDXY ( ) const
inline

Definition at line 47 of file GMTInternalMuon.h.

References l1t::RegionalMuonCand::hwDXY(), and m_regional.

47 { return m_regional.hwDXY(); };
const int hwDXY() const
Get compressed impact parameter (4 bits)
const RegionalMuonCand & m_regional

◆ hwEta()

const int l1t::GMTInternalMuon::hwEta ( ) const
inline

Definition at line 49 of file GMTInternalMuon.h.

References l1t::RegionalMuonCand::hwEta(), and m_regional.

49 { return m_regional.hwEta(); };
const int hwEta() const
Get compressed eta (returned int * 0.010875 = eta)
const RegionalMuonCand & m_regional

◆ hwGlobalPhi()

const int l1t::GMTInternalMuon::hwGlobalPhi ( ) const
inline

Definition at line 40 of file GMTInternalMuon.h.

References m_hwGlobalPhi.

40 { return m_hwGlobalPhi; }

◆ hwHF()

const int l1t::GMTInternalMuon::hwHF ( ) const
inline

Definition at line 53 of file GMTInternalMuon.h.

References l1t::RegionalMuonCand::hwHF(), and m_regional.

53 { return m_regional.hwHF(); };
const int hwHF() const
Get HF (halo / fine eta) bit (EMTF: halo -> 1; BMTF: fine eta -> 1)
const RegionalMuonCand & m_regional

◆ hwIsoSum()

const int l1t::GMTInternalMuon::hwIsoSum ( ) const
inline

Definition at line 33 of file GMTInternalMuon.h.

References m_hwIsoSum.

33 { return m_hwIsoSum; };

◆ hwLocalPhi()

const int l1t::GMTInternalMuon::hwLocalPhi ( ) const
inline

Definition at line 48 of file GMTInternalMuon.h.

References l1t::RegionalMuonCand::hwPhi(), and m_regional.

48 { return m_regional.hwPhi(); };
const int hwPhi() const
Get compressed local phi (returned int * 2*pi/576 = local phi in rad)
const RegionalMuonCand & m_regional

◆ hwPt()

const int l1t::GMTInternalMuon::hwPt ( ) const
inline

Definition at line 45 of file GMTInternalMuon.h.

References l1t::RegionalMuonCand::hwPt(), and m_regional.

45 { return m_regional.hwPt(); };
const int hwPt() const
Get compressed pT (returned int * 0.5 = pT (GeV))
const RegionalMuonCand & m_regional

◆ hwPtUnconstrained()

const int l1t::GMTInternalMuon::hwPtUnconstrained ( ) const
inline

Definition at line 46 of file GMTInternalMuon.h.

References l1t::RegionalMuonCand::hwPtUnconstrained(), and m_regional.

46 { return m_regional.hwPtUnconstrained(); };
const int hwPtUnconstrained() const
Get second compressed pT (returned int * 1.0 = pT (GeV))
const RegionalMuonCand & m_regional

◆ hwQual()

const int l1t::GMTInternalMuon::hwQual ( ) const
inline

Definition at line 52 of file GMTInternalMuon.h.

References l1t::RegionalMuonCand::hwQual(), and m_regional.

52 { return m_regional.hwQual(); };
const int hwQual() const
Get quality code.
const RegionalMuonCand & m_regional

◆ hwRank()

const int l1t::GMTInternalMuon::hwRank ( ) const
inline

Definition at line 31 of file GMTInternalMuon.h.

References m_hwRank.

31 { return m_hwRank; };

◆ hwRelIso()

const int l1t::GMTInternalMuon::hwRelIso ( ) const
inline

Definition at line 37 of file GMTInternalMuon.h.

References m_hwRelIso.

37 { return m_hwRelIso; };

◆ hwSign()

const int l1t::GMTInternalMuon::hwSign ( ) const
inline

Definition at line 50 of file GMTInternalMuon.h.

References l1t::RegionalMuonCand::hwSign(), and m_regional.

50 { return m_regional.hwSign(); };
const int hwSign() const
Get charge sign bit (charge = (-1)^(sign))
const RegionalMuonCand & m_regional

◆ hwSignValid()

const int l1t::GMTInternalMuon::hwSignValid ( ) const
inline

Definition at line 51 of file GMTInternalMuon.h.

References l1t::RegionalMuonCand::hwSignValid(), and m_regional.

51 { return m_regional.hwSignValid(); };
const int hwSignValid() const
Get charge sign valid bit (0 - not valid (high pT muon); 1 - valid)
const RegionalMuonCand & m_regional

◆ hwWins()

const int l1t::GMTInternalMuon::hwWins ( ) const
inline

Definition at line 32 of file GMTInternalMuon.h.

References m_hwWins.

32 { return m_hwWins; };

◆ increaseWins()

void l1t::GMTInternalMuon::increaseWins ( )
inline

Definition at line 21 of file GMTInternalMuon.h.

References m_hwWins.

◆ link()

const int l1t::GMTInternalMuon::link ( void  ) const
inline

Definition at line 56 of file GMTInternalMuon.h.

References l1t::RegionalMuonCand::link(), and m_regional.

56 { return m_regional.link(); }
const int link() const
Get link on which the MicroGMT receives the candidate.
const RegionalMuonCand & m_regional

◆ origin()

const RegionalMuonCand& l1t::GMTInternalMuon::origin ( ) const
inline

Definition at line 43 of file GMTInternalMuon.h.

References m_regional.

43 { return m_regional; };
const RegionalMuonCand & m_regional

◆ processor()

const int l1t::GMTInternalMuon::processor ( ) const
inline

Definition at line 54 of file GMTInternalMuon.h.

References m_regional, and l1t::RegionalMuonCand::processor().

54 { return m_regional.processor(); };
const int processor() const
Get processor ID on which the candidate was found (0..5 for OMTF/EMTF; 0..11 for BMTF) ...
const RegionalMuonCand & m_regional

◆ setExtrapolation()

void l1t::GMTInternalMuon::setExtrapolation ( int  deta,
int  dphi 
)

Definition at line 31 of file GMTInternalMuon.cc.

References m_hwDeltaEta, and m_hwDeltaPhi.

31  {
32  m_hwDeltaEta = deta;
33  m_hwDeltaPhi = dphi;
34  }

◆ setHwAbsIso()

void l1t::GMTInternalMuon::setHwAbsIso ( int  iso)
inline

Definition at line 23 of file GMTInternalMuon.h.

References m_hwAbsIso.

23 { m_hwAbsIso = iso; };

◆ setHwCaloEta()

void l1t::GMTInternalMuon::setHwCaloEta ( int  idx)
inline

Definition at line 26 of file GMTInternalMuon.h.

References heavyIonCSV_trainingSettings::idx, and m_hwCaloIndex.

◆ setHwCaloPhi()

void l1t::GMTInternalMuon::setHwCaloPhi ( int  idx)
inline

◆ setHwCancelBit()

void l1t::GMTInternalMuon::setHwCancelBit ( int  bit)
inline

◆ setHwIsoSum()

void l1t::GMTInternalMuon::setHwIsoSum ( int  isosum)
inline

Definition at line 22 of file GMTInternalMuon.h.

References m_hwIsoSum.

22 { m_hwIsoSum = isosum; };

◆ setHwRank()

void l1t::GMTInternalMuon::setHwRank ( int  bits)
inline

Definition at line 19 of file GMTInternalMuon.h.

References gpuClustering::pixelStatus::bits, and m_hwRank.

19 { m_hwRank = bits; };
constexpr uint32_t bits
Definition: gpuClustering.h:23

◆ setHwRelIso()

void l1t::GMTInternalMuon::setHwRelIso ( int  iso)
inline

Definition at line 24 of file GMTInternalMuon.h.

References m_hwRelIso.

24 { m_hwRelIso = iso; };

◆ setHwWins()

void l1t::GMTInternalMuon::setHwWins ( int  wins)
inline

Definition at line 20 of file GMTInternalMuon.h.

References m_hwWins.

20 { m_hwWins = wins; };

◆ setTfMuonIndex()

void l1t::GMTInternalMuon::setTfMuonIndex ( int  idx)
inline

◆ tfMuonIndex()

const int l1t::GMTInternalMuon::tfMuonIndex ( ) const
inline

Definition at line 41 of file GMTInternalMuon.h.

References m_tfMuonIndex.

41 { return m_tfMuonIndex; }

◆ trackFinderType()

const tftype l1t::GMTInternalMuon::trackFinderType ( ) const
inline

Definition at line 55 of file GMTInternalMuon.h.

References m_regional, and l1t::RegionalMuonCand::trackFinderType().

55 { return m_regional.trackFinderType(); };
const tftype trackFinderType() const
Get track-finder which found the muon (bmtf, emtf_pos/emtf_neg or omtf_pos/omtf_neg) ...
const RegionalMuonCand & m_regional

Member Data Documentation

◆ m_hwAbsIso

int l1t::GMTInternalMuon::m_hwAbsIso
private

Definition at line 66 of file GMTInternalMuon.h.

Referenced by hwAbsIso(), and setHwAbsIso().

◆ m_hwCaloIndex

std::pair<int, int> l1t::GMTInternalMuon::m_hwCaloIndex
private

Definition at line 70 of file GMTInternalMuon.h.

Referenced by hwCaloEta(), hwCaloPhi(), setHwCaloEta(), and setHwCaloPhi().

◆ m_hwCancelBit

int l1t::GMTInternalMuon::m_hwCancelBit
private

Definition at line 61 of file GMTInternalMuon.h.

Referenced by hwCancelBit(), and setHwCancelBit().

◆ m_hwDeltaEta

int l1t::GMTInternalMuon::m_hwDeltaEta
private

Definition at line 64 of file GMTInternalMuon.h.

Referenced by hwDEta(), and setExtrapolation().

◆ m_hwDeltaPhi

int l1t::GMTInternalMuon::m_hwDeltaPhi
private

Definition at line 65 of file GMTInternalMuon.h.

Referenced by hwDPhi(), and setExtrapolation().

◆ m_hwGlobalPhi

int l1t::GMTInternalMuon::m_hwGlobalPhi
private

Definition at line 68 of file GMTInternalMuon.h.

Referenced by hwGlobalPhi().

◆ m_hwIsoSum

int l1t::GMTInternalMuon::m_hwIsoSum
private

Definition at line 63 of file GMTInternalMuon.h.

Referenced by hwIsoSum(), and setHwIsoSum().

◆ m_hwRank

int l1t::GMTInternalMuon::m_hwRank
private

Definition at line 60 of file GMTInternalMuon.h.

Referenced by hwRank(), and setHwRank().

◆ m_hwRelIso

int l1t::GMTInternalMuon::m_hwRelIso
private

Definition at line 67 of file GMTInternalMuon.h.

Referenced by hwRelIso(), and setHwRelIso().

◆ m_hwWins

int l1t::GMTInternalMuon::m_hwWins
private

Definition at line 62 of file GMTInternalMuon.h.

Referenced by hwWins(), increaseWins(), and setHwWins().

◆ m_regional

const RegionalMuonCand& l1t::GMTInternalMuon::m_regional
private

◆ m_tfMuonIndex

int l1t::GMTInternalMuon::m_tfMuonIndex
private

Definition at line 69 of file GMTInternalMuon.h.

Referenced by setTfMuonIndex(), and tfMuonIndex().