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 GMTInternalMuon &)
 
 GMTInternalMuon (const RegionalMuonCand &, int, int)
 
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 hwEta () const
 
const int hwGlobalPhi () const
 
const int hwHF () const
 
const int hwIsoSum () const
 
const int hwLocalPhi () const
 
const int hwPt () 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.

20  : m_regional(regional),
21  m_hwRank(0),
22  m_hwCancelBit(0),
23  m_hwIsoSum(0),
24  m_hwDeltaEta(0),
25  m_hwDeltaPhi(0),
26  m_hwAbsIso(-1),
27  m_hwRelIso(-1),
28  m_hwGlobalPhi(globalPhi),

◆ 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) {}

◆ ~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.

36 { return m_hwAbsIso; };

References m_hwAbsIso.

◆ hwCaloEta()

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

Definition at line 38 of file GMTInternalMuon.h.

38 { return m_hwCaloIndex.second; };

References m_hwCaloIndex.

◆ hwCaloPhi()

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

Definition at line 39 of file GMTInternalMuon.h.

39 { return m_hwCaloIndex.first; };

References m_hwCaloIndex.

◆ hwCancelBit()

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

Definition at line 30 of file GMTInternalMuon.h.

30 { return m_hwCancelBit; };

References m_hwCancelBit.

◆ hwDEta()

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

Definition at line 34 of file GMTInternalMuon.h.

34 { return m_hwDeltaEta; };

References m_hwDeltaEta.

◆ hwDPhi()

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

Definition at line 35 of file GMTInternalMuon.h.

35 { return m_hwDeltaPhi; };

References m_hwDeltaPhi.

◆ hwEta()

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

Definition at line 47 of file GMTInternalMuon.h.

47 { return m_regional.hwEta(); };

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

◆ hwGlobalPhi()

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

Definition at line 40 of file GMTInternalMuon.h.

40 { return m_hwGlobalPhi; }

References m_hwGlobalPhi.

◆ hwHF()

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

Definition at line 51 of file GMTInternalMuon.h.

51 { return m_regional.hwHF(); };

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

◆ hwIsoSum()

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

Definition at line 33 of file GMTInternalMuon.h.

33 { return m_hwIsoSum; };

References m_hwIsoSum.

◆ hwLocalPhi()

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

Definition at line 46 of file GMTInternalMuon.h.

46 { return m_regional.hwPhi(); };

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

◆ hwPt()

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

Definition at line 45 of file GMTInternalMuon.h.

45 { return m_regional.hwPt(); };

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

◆ hwQual()

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

Definition at line 50 of file GMTInternalMuon.h.

50 { return m_regional.hwQual(); };

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

◆ hwRank()

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

Definition at line 31 of file GMTInternalMuon.h.

31 { return m_hwRank; };

References m_hwRank.

◆ hwRelIso()

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

Definition at line 37 of file GMTInternalMuon.h.

37 { return m_hwRelIso; };

References m_hwRelIso.

◆ hwSign()

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

Definition at line 48 of file GMTInternalMuon.h.

48 { return m_regional.hwSign(); };

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

◆ hwSignValid()

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

Definition at line 49 of file GMTInternalMuon.h.

49 { return m_regional.hwSignValid(); };

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

◆ hwWins()

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

Definition at line 32 of file GMTInternalMuon.h.

32 { return m_hwWins; };

References m_hwWins.

◆ increaseWins()

void l1t::GMTInternalMuon::increaseWins ( )
inline

Definition at line 21 of file GMTInternalMuon.h.

21 { m_hwWins++; };

References m_hwWins.

◆ link()

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

Definition at line 54 of file GMTInternalMuon.h.

54 { return m_regional.link(); }

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

◆ origin()

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

Definition at line 43 of file GMTInternalMuon.h.

43 { return m_regional; };

References m_regional.

◆ processor()

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

Definition at line 52 of file GMTInternalMuon.h.

52 { return m_regional.processor(); };

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

◆ setExtrapolation()

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

Definition at line 31 of file GMTInternalMuon.cc.

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

References m_hwDeltaEta, and m_hwDeltaPhi.

◆ setHwAbsIso()

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

Definition at line 23 of file GMTInternalMuon.h.

23 { m_hwAbsIso = iso; };

References m_hwAbsIso.

◆ setHwCaloEta()

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

Definition at line 26 of file GMTInternalMuon.h.

26 { m_hwCaloIndex.second = idx; };

References training_settings::idx, and m_hwCaloIndex.

◆ setHwCaloPhi()

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

Definition at line 27 of file GMTInternalMuon.h.

27 { m_hwCaloIndex.first = idx; };

References training_settings::idx, and m_hwCaloIndex.

◆ setHwCancelBit()

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

Definition at line 18 of file GMTInternalMuon.h.

18 { m_hwCancelBit = bit; };

References m_hwCancelBit.

◆ setHwIsoSum()

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

Definition at line 22 of file GMTInternalMuon.h.

22 { m_hwIsoSum = isosum; };

References m_hwIsoSum.

◆ setHwRank()

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

Definition at line 19 of file GMTInternalMuon.h.

19 { m_hwRank = bits; };

References bits, and m_hwRank.

◆ setHwRelIso()

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

Definition at line 24 of file GMTInternalMuon.h.

24 { m_hwRelIso = iso; };

References m_hwRelIso.

◆ setHwWins()

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

Definition at line 20 of file GMTInternalMuon.h.

20 { m_hwWins = wins; };

References m_hwWins.

◆ setTfMuonIndex()

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

Definition at line 28 of file GMTInternalMuon.h.

28 { m_tfMuonIndex = idx; };

References training_settings::idx, and m_tfMuonIndex.

◆ tfMuonIndex()

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

Definition at line 41 of file GMTInternalMuon.h.

41 { return m_tfMuonIndex; }

References m_tfMuonIndex.

◆ trackFinderType()

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

Definition at line 53 of file GMTInternalMuon.h.

53 { return m_regional.trackFinderType(); };

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

Member Data Documentation

◆ m_hwAbsIso

int l1t::GMTInternalMuon::m_hwAbsIso
private

Definition at line 64 of file GMTInternalMuon.h.

Referenced by hwAbsIso(), and setHwAbsIso().

◆ m_hwCaloIndex

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

Definition at line 68 of file GMTInternalMuon.h.

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

◆ m_hwCancelBit

int l1t::GMTInternalMuon::m_hwCancelBit
private

Definition at line 59 of file GMTInternalMuon.h.

Referenced by hwCancelBit(), and setHwCancelBit().

◆ m_hwDeltaEta

int l1t::GMTInternalMuon::m_hwDeltaEta
private

Definition at line 62 of file GMTInternalMuon.h.

Referenced by hwDEta(), and setExtrapolation().

◆ m_hwDeltaPhi

int l1t::GMTInternalMuon::m_hwDeltaPhi
private

Definition at line 63 of file GMTInternalMuon.h.

Referenced by hwDPhi(), and setExtrapolation().

◆ m_hwGlobalPhi

int l1t::GMTInternalMuon::m_hwGlobalPhi
private

Definition at line 66 of file GMTInternalMuon.h.

Referenced by hwGlobalPhi().

◆ m_hwIsoSum

int l1t::GMTInternalMuon::m_hwIsoSum
private

Definition at line 61 of file GMTInternalMuon.h.

Referenced by hwIsoSum(), and setHwIsoSum().

◆ m_hwRank

int l1t::GMTInternalMuon::m_hwRank
private

Definition at line 58 of file GMTInternalMuon.h.

Referenced by hwRank(), and setHwRank().

◆ m_hwRelIso

int l1t::GMTInternalMuon::m_hwRelIso
private

Definition at line 65 of file GMTInternalMuon.h.

Referenced by hwRelIso(), and setHwRelIso().

◆ m_hwWins

int l1t::GMTInternalMuon::m_hwWins
private

Definition at line 60 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 67 of file GMTInternalMuon.h.

Referenced by setTfMuonIndex(), and tfMuonIndex().

l1t::GMTInternalMuon::m_hwRank
int m_hwRank
Definition: GMTInternalMuon.h:58
l1t::RegionalMuonCand::processor
const int processor() const
Get processor ID on which the candidate was found (0..5 for OMTF/EMTF; 0..11 for BMTF)
Definition: RegionalMuonCand.h:179
l1t::RegionalMuonCand::link
const int link() const
Get link on which the MicroGMT receives the candidate.
Definition: RegionalMuonCand.h:177
l1t::GMTInternalMuon::m_hwCancelBit
int m_hwCancelBit
Definition: GMTInternalMuon.h:59
l1t::RegionalMuonCand::hwPhi
const int hwPhi() const
Get compressed local phi (returned int * 2*pi/576 = local phi in rad)
Definition: RegionalMuonCand.h:167
l1t::GMTInternalMuon::m_hwCaloIndex
std::pair< int, int > m_hwCaloIndex
Definition: GMTInternalMuon.h:68
l1t::GMTInternalMuon::m_hwGlobalPhi
int m_hwGlobalPhi
Definition: GMTInternalMuon.h:66
l1t::RegionalMuonCand::hwHF
const int hwHF() const
Get HF (halo / fine eta) bit (EMTF: halo -> 1; BMTF: fine eta -> 1)
Definition: RegionalMuonCand.h:183
l1t::GMTInternalMuon::m_hwWins
int m_hwWins
Definition: GMTInternalMuon.h:60
training_settings.idx
idx
Definition: training_settings.py:16
l1t::RegionalMuonCand::hwQual
const int hwQual() const
Get quality code.
Definition: RegionalMuonCand.h:175
l1t::RegionalMuonCand::hwEta
const int hwEta() const
Get compressed eta (returned int * 0.010875 = eta)
Definition: RegionalMuonCand.h:169
l1t::GMTInternalMuon::m_hwAbsIso
int m_hwAbsIso
Definition: GMTInternalMuon.h:64
l1t::RegionalMuonCand::hwPt
const int hwPt() const
Get compressed pT (returned int * 0.5 = pT (GeV))
Definition: RegionalMuonCand.h:161
l1t::GMTInternalMuon::m_regional
const RegionalMuonCand & m_regional
Definition: GMTInternalMuon.h:57
l1t::RegionalMuonCand::trackFinderType
const tftype trackFinderType() const
Get track-finder which found the muon (bmtf, emtf_pos/emtf_neg or omtf_pos/omtf_neg)
Definition: RegionalMuonCand.h:181
trackingPlots.other
other
Definition: trackingPlots.py:1465
l1t::GMTInternalMuon::tfMuonIndex
const int tfMuonIndex() const
Definition: GMTInternalMuon.h:41
l1t::GMTInternalMuon::m_tfMuonIndex
int m_tfMuonIndex
Definition: GMTInternalMuon.h:67
l1t::GMTInternalMuon::m_hwRelIso
int m_hwRelIso
Definition: GMTInternalMuon.h:65
l1t::GMTInternalMuon::m_hwDeltaPhi
int m_hwDeltaPhi
Definition: GMTInternalMuon.h:63
bits
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
Definition: EventSelector-behavior.doc:35
l1t::RegionalMuonCand::hwSign
const int hwSign() const
Get charge sign bit (charge = (-1)^(sign))
Definition: RegionalMuonCand.h:171
l1t::RegionalMuonCand::hwSignValid
const int hwSignValid() const
Get charge sign valid bit (0 - not valid (high pT muon); 1 - valid)
Definition: RegionalMuonCand.h:173
l1t::GMTInternalMuon::m_hwDeltaEta
int m_hwDeltaEta
Definition: GMTInternalMuon.h:62
l1t::GMTInternalMuon::m_hwIsoSum
int m_hwIsoSum
Definition: GMTInternalMuon.h:61