CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 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

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

Definition at line 7 of file GMTInternalMuon.cc.

7  :
8  m_regional(other.m_regional), m_hwRank(other.m_hwRank), m_hwCancelBit(other.m_hwCancelBit), m_hwIsoSum(other.m_hwIsoSum),
9  m_hwDeltaEta(other.m_hwDeltaEta), m_hwDeltaPhi(other.m_hwDeltaPhi), m_hwAbsIso(other.m_hwAbsIso), m_hwRelIso(other.m_hwRelIso),
10  m_hwGlobalPhi(other.m_hwGlobalPhi), m_tfMuonIndex(other.m_tfMuonIndex), m_hwCaloIndex(other.m_hwCaloIndex) {
11 
12 }
std::pair< int, int > m_hwCaloIndex
const RegionalMuonCand & m_regional
virtual l1t::GMTInternalMuon::~GMTInternalMuon ( )
inlinevirtual

Definition at line 16 of file GMTInternalMuon.h.

16 {};

Member Function Documentation

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

Definition at line 36 of file GMTInternalMuon.h.

References m_hwAbsIso.

36 { return m_hwAbsIso; };
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
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
const int l1t::GMTInternalMuon::hwCancelBit ( ) const
inline

Definition at line 30 of file GMTInternalMuon.h.

References m_hwCancelBit.

30 { return m_hwCancelBit; };
const int l1t::GMTInternalMuon::hwDEta ( ) const
inline

Definition at line 34 of file GMTInternalMuon.h.

References m_hwDeltaEta.

Referenced by l1t::MicroGMTIsolationUnit::getCaloIndex().

34 { return m_hwDeltaEta; };
const int l1t::GMTInternalMuon::hwDPhi ( ) const
inline

Definition at line 35 of file GMTInternalMuon.h.

References m_hwDeltaPhi.

Referenced by l1t::MicroGMTIsolationUnit::getCaloIndex().

35 { return m_hwDeltaPhi; };
const int l1t::GMTInternalMuon::hwEta ( ) const
inline

Definition at line 47 of file GMTInternalMuon.h.

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

Referenced by l1t::MicroGMTIsolationUnit::getCaloIndex().

47 { return m_regional.hwEta(); };
const int hwEta() const
Get compressed eta (returned int * 0.010875 = eta)
const RegionalMuonCand & m_regional
const int l1t::GMTInternalMuon::hwGlobalPhi ( ) const
inline

Definition at line 40 of file GMTInternalMuon.h.

References m_hwGlobalPhi.

Referenced by l1t::MicroGMTIsolationUnit::getCaloIndex().

40 { return m_hwGlobalPhi; }
const int l1t::GMTInternalMuon::hwHF ( ) const
inline

Definition at line 51 of file GMTInternalMuon.h.

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

51 { return m_regional.hwHF(); };
const int hwHF() const
Get HF (halo / fine eta) bit (EMTF: halo -&gt; 1; BMTF: fine eta -&gt; 1)
const RegionalMuonCand & m_regional
const int l1t::GMTInternalMuon::hwIsoSum ( ) const
inline

Definition at line 33 of file GMTInternalMuon.h.

References m_hwIsoSum.

33 { return m_hwIsoSum; };
const int l1t::GMTInternalMuon::hwLocalPhi ( ) const
inline

Definition at line 46 of file GMTInternalMuon.h.

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

46 { 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
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
const int l1t::GMTInternalMuon::hwQual ( ) const
inline

Definition at line 50 of file GMTInternalMuon.h.

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

50 { return m_regional.hwQual(); };
const int hwQual() const
Get quality code.
const RegionalMuonCand & m_regional
const int l1t::GMTInternalMuon::hwRank ( ) const
inline

Definition at line 31 of file GMTInternalMuon.h.

References m_hwRank.

31 { return m_hwRank; };
const int l1t::GMTInternalMuon::hwRelIso ( ) const
inline

Definition at line 37 of file GMTInternalMuon.h.

References m_hwRelIso.

37 { return m_hwRelIso; };
const int l1t::GMTInternalMuon::hwSign ( ) const
inline

Definition at line 48 of file GMTInternalMuon.h.

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

48 { return m_regional.hwSign(); };
const int hwSign() const
Get charge sign bit (charge = (-1)^(sign))
const RegionalMuonCand & m_regional
const int l1t::GMTInternalMuon::hwSignValid ( ) const
inline

Definition at line 49 of file GMTInternalMuon.h.

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

49 { 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
const int l1t::GMTInternalMuon::hwWins ( ) const
inline

Definition at line 32 of file GMTInternalMuon.h.

References m_hwWins.

32 { return m_hwWins; };
void l1t::GMTInternalMuon::increaseWins ( )
inline

Definition at line 21 of file GMTInternalMuon.h.

References m_hwWins.

21 { m_hwWins++; };
const int l1t::GMTInternalMuon::link ( void  ) const
inline

Definition at line 54 of file GMTInternalMuon.h.

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

54 { return m_regional.link(); }
const int link() const
Get link on which the MicroGMT receives the candidate.
const RegionalMuonCand & m_regional
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
const int l1t::GMTInternalMuon::processor ( ) const
inline

Definition at line 52 of file GMTInternalMuon.h.

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

52 { 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
void l1t::GMTInternalMuon::setExtrapolation ( int  deta,
int  dphi 
)

Definition at line 21 of file GMTInternalMuon.cc.

References m_hwDeltaEta, and m_hwDeltaPhi.

22 {
23  m_hwDeltaEta = deta;
24  m_hwDeltaPhi = dphi;
25 }
void l1t::GMTInternalMuon::setHwAbsIso ( int  iso)
inline

Definition at line 23 of file GMTInternalMuon.h.

References m_hwAbsIso.

23 { m_hwAbsIso = iso; };
void l1t::GMTInternalMuon::setHwCaloEta ( int  idx)
inline

Definition at line 26 of file GMTInternalMuon.h.

References customizeTrackingMonitorSeedNumber::idx, and m_hwCaloIndex.

Referenced by l1t::MicroGMTIsolationUnit::getCaloIndex().

26 { m_hwCaloIndex.second = idx; };
std::pair< int, int > m_hwCaloIndex
tuple idx
DEBUGGING if hasattr(process,&quot;trackMonIterativeTracking2012&quot;): print &quot;trackMonIterativeTracking2012 D...
void l1t::GMTInternalMuon::setHwCaloPhi ( int  idx)
inline

Definition at line 27 of file GMTInternalMuon.h.

References customizeTrackingMonitorSeedNumber::idx, and m_hwCaloIndex.

Referenced by l1t::MicroGMTIsolationUnit::getCaloIndex().

27 { m_hwCaloIndex.first = idx; };
std::pair< int, int > m_hwCaloIndex
tuple idx
DEBUGGING if hasattr(process,&quot;trackMonIterativeTracking2012&quot;): print &quot;trackMonIterativeTracking2012 D...
void l1t::GMTInternalMuon::setHwCancelBit ( int  bit)
inline

Definition at line 18 of file GMTInternalMuon.h.

References m_hwCancelBit.

18 { m_hwCancelBit = bit; };
void l1t::GMTInternalMuon::setHwIsoSum ( int  isosum)
inline

Definition at line 22 of file GMTInternalMuon.h.

References m_hwIsoSum.

22 { m_hwIsoSum = isosum; };
void l1t::GMTInternalMuon::setHwRank ( int  bits)
inline

Definition at line 19 of file GMTInternalMuon.h.

References bits, and m_hwRank.

19 { m_hwRank = 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
void l1t::GMTInternalMuon::setHwRelIso ( int  iso)
inline

Definition at line 24 of file GMTInternalMuon.h.

References m_hwRelIso.

24 { m_hwRelIso = iso; };
void l1t::GMTInternalMuon::setHwWins ( int  wins)
inline

Definition at line 20 of file GMTInternalMuon.h.

References m_hwWins.

20 { m_hwWins = wins; };
void l1t::GMTInternalMuon::setTfMuonIndex ( int  idx)
inline

Definition at line 28 of file GMTInternalMuon.h.

References customizeTrackingMonitorSeedNumber::idx, and m_tfMuonIndex.

28 { m_tfMuonIndex = idx; };
tuple idx
DEBUGGING if hasattr(process,&quot;trackMonIterativeTracking2012&quot;): print &quot;trackMonIterativeTracking2012 D...
const int l1t::GMTInternalMuon::tfMuonIndex ( ) const
inline

Definition at line 41 of file GMTInternalMuon.h.

References m_tfMuonIndex.

41 { return m_tfMuonIndex; }
const tftype l1t::GMTInternalMuon::trackFinderType ( ) const
inline

Definition at line 53 of file GMTInternalMuon.h.

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

53 { 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

int l1t::GMTInternalMuon::m_hwAbsIso
private

Definition at line 65 of file GMTInternalMuon.h.

Referenced by hwAbsIso(), and setHwAbsIso().

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

Definition at line 69 of file GMTInternalMuon.h.

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

int l1t::GMTInternalMuon::m_hwCancelBit
private

Definition at line 60 of file GMTInternalMuon.h.

Referenced by hwCancelBit(), and setHwCancelBit().

int l1t::GMTInternalMuon::m_hwDeltaEta
private

Definition at line 63 of file GMTInternalMuon.h.

Referenced by hwDEta(), and setExtrapolation().

int l1t::GMTInternalMuon::m_hwDeltaPhi
private

Definition at line 64 of file GMTInternalMuon.h.

Referenced by hwDPhi(), and setExtrapolation().

int l1t::GMTInternalMuon::m_hwGlobalPhi
private

Definition at line 67 of file GMTInternalMuon.h.

Referenced by hwGlobalPhi().

int l1t::GMTInternalMuon::m_hwIsoSum
private

Definition at line 62 of file GMTInternalMuon.h.

Referenced by hwIsoSum(), and setHwIsoSum().

int l1t::GMTInternalMuon::m_hwRank
private

Definition at line 59 of file GMTInternalMuon.h.

Referenced by hwRank(), and setHwRank().

int l1t::GMTInternalMuon::m_hwRelIso
private

Definition at line 66 of file GMTInternalMuon.h.

Referenced by hwRelIso(), and setHwRelIso().

int l1t::GMTInternalMuon::m_hwWins
private

Definition at line 61 of file GMTInternalMuon.h.

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

const RegionalMuonCand& l1t::GMTInternalMuon::m_regional
private
int l1t::GMTInternalMuon::m_tfMuonIndex
private

Definition at line 68 of file GMTInternalMuon.h.

Referenced by setTfMuonIndex(), and tfMuonIndex().