test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
L1TMuon
src
RegionalMuonCand.cc
Go to the documentation of this file.
1
#include "
DataFormats/L1TMuon/interface/RegionalMuonCand.h
"
2
3
namespace
l1t {
4
5
void
6
RegionalMuonCand::setTFIdentifiers
(
int
processor,
tftype
trackFinder) {
7
m_trackFinder
= trackFinder;
8
m_processor
=
processor
;
9
10
switch
(
m_trackFinder
) {
11
case
tftype::emtf_pos
:
12
m_link
=
m_processor
+ 36;
// range 36...41
13
break
;
14
case
tftype::omtf_pos
:
15
m_link
=
m_processor
+ 42;
// range 42...47
16
break
;
17
case
tftype::bmtf
:
18
m_link
=
m_processor
+ 48;
// range 48...59
19
break
;
20
case
tftype::omtf_neg
:
21
m_link
=
m_processor
+ 60;
// range 60...65
22
break
;
23
case
tftype::emtf_neg
:
24
m_link
=
m_processor
+ 66;
// range 66...71
25
}
26
}
27
28
}
// namespace l1t
l1t::RegionalMuonCand::m_link
int m_link
Definition:
RegionalMuonCand.h:123
RegionalMuonCand.h
l1t::emtf_pos
Definition:
RegionalMuonCandFwd.h:8
l1t::tftype
tftype
Definition:
RegionalMuonCandFwd.h:7
l1t::RegionalMuonCand::setTFIdentifiers
void setTFIdentifiers(int processor, tftype trackFinder)
Set the processor ID, track-finder type. From these two, the link is set.
Definition:
RegionalMuonCand.cc:6
l1t::RegionalMuonCand::m_processor
int m_processor
Definition:
RegionalMuonCand.h:124
l1t::omtf_neg
Definition:
RegionalMuonCandFwd.h:8
l1t::emtf_neg
Definition:
RegionalMuonCandFwd.h:8
l1t::bmtf
Definition:
RegionalMuonCandFwd.h:8
l1t::RegionalMuonCand::m_trackFinder
tftype m_trackFinder
Definition:
RegionalMuonCand.h:125
l1t::omtf_pos
Definition:
RegionalMuonCandFwd.h:8
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:90
Generated for CMSSW Reference Manual by
1.8.5