L1Trigger
L1TMuonBarrel
interface
L1TMuonBarrelKalmanSectorProcessor.h
Go to the documentation of this file.
1
#ifndef L1TMUONBARRELKALMANSECTORPROCESSOR_H
2
#define L1TMUONBARRELKALMANSECTORPROCESSOR_H
3
4
#include "
DataFormats/L1TMuon/interface/L1MuKBMTCombinedStub.h
"
5
#include "
L1Trigger/L1TMuonBarrel/interface/L1TMuonBarrelKalmanAlgo.h
"
6
#include "
L1Trigger/L1TMuonBarrel/interface/L1TMuonBarrelKalmanRegionModule.h
"
7
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
10
class
L1TMuonBarrelKalmanSectorProcessor
{
11
public
:
12
L1TMuonBarrelKalmanSectorProcessor
(
const
edm::ParameterSet
&,
int
sector);
13
~L1TMuonBarrelKalmanSectorProcessor
();
14
15
L1MuKBMTrackCollection
process
(
L1TMuonBarrelKalmanAlgo
*,
const
L1MuKBMTCombinedStubRefVector
& stubs,
int
bx
);
16
void
verbose
(
L1TMuonBarrelKalmanAlgo
*,
const
L1MuKBMTrackCollection
&);
17
18
private
:
19
class
TrackSorter
{
20
public
:
21
TrackSorter
() {}
22
23
bool
operator()
(
const
L1MuKBMTrack
&
a
,
const
L1MuKBMTrack
&
b
) {
24
if
(
a
.pt() >=
b
.pt())
25
return
true
;
26
return
false
;
27
}
28
};
29
30
int
verbose_
;
31
int
sector_
;
32
33
std::vector<L1TMuonBarrelKalmanRegionModule>
regions_
;
34
35
//For patterns
36
typedef
struct
{
37
int
pt_1
;
38
int
qual_1
;
39
int
eta_1
;
40
int
HF_1
;
41
int
phi_1
;
42
int
bx0_1
;
43
int
charge_1
;
44
int
chargeValid_1
;
45
int
dxy_1
;
46
int
addr1_1
;
47
int
addr2_1
;
48
int
addr3_1
;
49
int
addr4_1
;
50
int
reserved_1
;
51
int
wheel_1
;
52
int
ptSTA_1
;
53
int
SE_1
;
54
55
int
pt_2
;
56
int
qual_2
;
57
int
eta_2
;
58
int
HF_2
;
59
int
phi_2
;
60
int
bx0_2
;
61
int
charge_2
;
62
int
chargeValid_2
;
63
int
dxy_2
;
64
int
addr1_2
;
65
int
addr2_2
;
66
int
addr3_2
;
67
int
addr4_2
;
68
int
reserved_2
;
69
int
wheel_2
;
70
int
ptSTA_2
;
71
int
SE_2
;
72
73
int
pt_3
;
74
int
qual_3
;
75
int
eta_3
;
76
int
HF_3
;
77
int
phi_3
;
78
int
bx0_3
;
79
int
charge_3
;
80
int
chargeValid_3
;
81
int
dxy_3
;
82
int
addr1_3
;
83
int
addr2_3
;
84
int
addr3_3
;
85
int
addr4_3
;
86
int
reserved_3
;
87
int
wheel_3
;
88
int
ptSTA_3
;
89
int
SE_3
;
90
91
}
bmtf_out
;
92
93
bmtf_out
makeWord
(
L1TMuonBarrelKalmanAlgo
*,
const
L1MuKBMTrackCollection
&);
94
// L1MuKBMTrackCollection cleanAndSort(const L1MuKBMTrackCollection&,uint keep);
95
96
L1MuKBMTrackCollection
cleanNeighbor
(
const
L1MuKBMTrackCollection
&,
const
L1MuKBMTrackCollection
&);
97
L1MuKBMTrackCollection
cleanNeighbors
(
const
L1MuKBMTrackCollection
&,
98
const
L1MuKBMTrackCollection
&,
99
const
L1MuKBMTrackCollection
&);
100
L1MuKBMTrackCollection
wedgeSort
(
const
L1MuKBMTrackCollection
&,
101
const
L1MuKBMTrackCollection
&,
102
const
L1MuKBMTrackCollection
&,
103
const
L1MuKBMTrackCollection
&,
104
const
L1MuKBMTrackCollection
&);
105
};
106
107
#endif
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::qual_2
int qual_2
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:56
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::addr3_1
int addr3_1
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:48
L1TMuonBarrelKalmanSectorProcessor::~L1TMuonBarrelKalmanSectorProcessor
~L1TMuonBarrelKalmanSectorProcessor()
Definition:
L1TMuonBarrelKalmanSectorProcessor.cc:11
L1TMuonBarrelKalmanSectorProcessor::TrackSorter::operator()
bool operator()(const L1MuKBMTrack &a, const L1MuKBMTrack &b)
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:23
L1TMuonBarrelKalmanSectorProcessor
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:10
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::addr1_3
int addr1_3
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:82
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::bx0_1
int bx0_1
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:42
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::addr4_3
int addr4_3
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:85
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::eta_1
int eta_1
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:39
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::eta_2
int eta_2
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:57
L1TMuonBarrelKalmanSectorProcessor::bmtf_out
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:36
L1MuKBMTrackCollection
std::vector< L1MuKBMTrack > L1MuKBMTrackCollection
Definition:
L1MuKBMTrack.h:15
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::HF_1
int HF_1
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:40
l1GtPatternGenerator_cfi.bx
bx
Definition:
l1GtPatternGenerator_cfi.py:18
L1TMuonBarrelKalmanSectorProcessor::cleanNeighbors
L1MuKBMTrackCollection cleanNeighbors(const L1MuKBMTrackCollection &, const L1MuKBMTrackCollection &, const L1MuKBMTrackCollection &)
Definition:
L1TMuonBarrelKalmanSectorProcessor.cc:261
L1TMuonBarrelKalmanSectorProcessor::regions_
std::vector< L1TMuonBarrelKalmanRegionModule > regions_
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:33
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::SE_2
int SE_2
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:71
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::wheel_1
int wheel_1
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:51
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::wheel_2
int wheel_2
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:69
L1TMuonBarrelKalmanSectorProcessor::verbose
void verbose(L1TMuonBarrelKalmanAlgo *, const L1MuKBMTrackCollection &)
Definition:
L1TMuonBarrelKalmanSectorProcessor.cc:163
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::ptSTA_1
int ptSTA_1
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:52
L1TMuonBarrelKalmanSectorProcessor::TrackSorter
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:19
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::phi_1
int phi_1
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:41
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::reserved_1
int reserved_1
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:50
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::HF_3
int HF_3
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:76
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::addr2_1
int addr2_1
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:47
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::addr2_3
int addr2_3
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:83
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::pt_1
int pt_1
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:37
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::reserved_2
int reserved_2
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:68
L1TMuonBarrelKalmanSectorProcessor::verbose_
int verbose_
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:30
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::phi_3
int phi_3
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:77
b
double b
Definition:
hdecay.h:118
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::addr4_1
int addr4_1
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:49
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::phi_2
int phi_2
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:59
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::charge_1
int charge_1
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:43
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::qual_1
int qual_1
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:38
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::addr1_2
int addr1_2
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:64
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::pt_3
int pt_3
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:73
edm::ParameterSet
Definition:
ParameterSet.h:36
a
double a
Definition:
hdecay.h:119
L1MuKBMTCombinedStub.h
L1TMuonBarrelKalmanAlgo
Definition:
L1TMuonBarrelKalmanAlgo.h:16
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::chargeValid_1
int chargeValid_1
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:44
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::pt_2
int pt_2
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:55
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::bx0_3
int bx0_3
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:78
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::eta_3
int eta_3
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:75
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::dxy_1
int dxy_1
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:45
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::addr3_3
int addr3_3
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:84
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::bx0_2
int bx0_2
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:60
L1TMuonBarrelKalmanSectorProcessor::sector_
int sector_
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:31
L1MuKBMTrack
Definition:
L1MuKBMTrack.h:19
L1TMuonBarrelKalmanSectorProcessor::makeWord
bmtf_out makeWord(L1TMuonBarrelKalmanAlgo *, const L1MuKBMTrackCollection &)
Definition:
L1TMuonBarrelKalmanSectorProcessor.cc:43
L1TMuonBarrelKalmanSectorProcessor::cleanNeighbor
L1MuKBMTrackCollection cleanNeighbor(const L1MuKBMTrackCollection &, const L1MuKBMTrackCollection &)
Definition:
L1TMuonBarrelKalmanSectorProcessor.cc:221
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::addr4_2
int addr4_2
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:67
L1TMuonBarrelKalmanSectorProcessor::TrackSorter::TrackSorter
TrackSorter()
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:21
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::chargeValid_3
int chargeValid_3
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:80
L1TMuonBarrelKalmanSectorProcessor::L1TMuonBarrelKalmanSectorProcessor
L1TMuonBarrelKalmanSectorProcessor(const edm::ParameterSet &, int sector)
Definition:
L1TMuonBarrelKalmanSectorProcessor.cc:3
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::wheel_3
int wheel_3
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:87
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::addr3_2
int addr3_2
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:66
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::dxy_3
int dxy_3
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:81
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::qual_3
int qual_3
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:74
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::chargeValid_2
int chargeValid_2
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:62
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::SE_1
int SE_1
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:53
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::addr1_1
int addr1_1
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:46
L1TMuonBarrelKalmanSectorProcessor::process
L1MuKBMTrackCollection process(L1TMuonBarrelKalmanAlgo *, const L1MuKBMTCombinedStubRefVector &stubs, int bx)
Definition:
L1TMuonBarrelKalmanSectorProcessor.cc:13
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::dxy_2
int dxy_2
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:63
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::charge_3
int charge_3
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:79
ParameterSet.h
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::HF_2
int HF_2
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:58
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::charge_2
int charge_2
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:61
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::ptSTA_3
int ptSTA_3
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:88
L1TMuonBarrelKalmanAlgo.h
L1TMuonBarrelKalmanRegionModule.h
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::reserved_3
int reserved_3
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:86
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::ptSTA_2
int ptSTA_2
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:70
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::SE_3
int SE_3
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:89
L1TMuonBarrelKalmanSectorProcessor::bmtf_out::addr2_2
int addr2_2
Definition:
L1TMuonBarrelKalmanSectorProcessor.h:65
L1TMuonBarrelKalmanSectorProcessor::wedgeSort
L1MuKBMTrackCollection wedgeSort(const L1MuKBMTrackCollection &, const L1MuKBMTrackCollection &, const L1MuKBMTrackCollection &, const L1MuKBMTrackCollection &, const L1MuKBMTrackCollection &)
Definition:
L1TMuonBarrelKalmanSectorProcessor.cc:319
L1MuKBMTCombinedStubRefVector
std::vector< edm::Ref< L1MuKBMTCombinedStubCollection > > L1MuKBMTCombinedStubRefVector
Definition:
L1MuKBMTCombinedStub.h:43
Generated for CMSSW Reference Manual by
1.8.16