Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
RecoMuon
TrackerSeedGenerator
plugins
DualByEtaTSG.cc
Go to the documentation of this file.
1
#include "
RecoMuon/TrackerSeedGenerator/plugins/DualByEtaTSG.h
"
2
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
3
4
DualByEtaTSG::DualByEtaTSG
(
const
edm::ParameterSet
&
pset
,
edm::ConsumesCollector
& IC) :
SeparatingTSG
(
pset
, IC) {
5
theCategory
=
"DualByEtaTSG"
;
6
theEtaSeparation
=
pset
.getParameter<
double
>(
"etaSeparation"
);
7
if
(
nTSGs
() != 2) {
8
edm::LogError
(
theCategory
) <<
"not two seed generators provided"
;
9
}
10
}
11
12
unsigned
int
DualByEtaTSG::selectTSG
(
const
TrackCand
& muonTrackCand,
const
TrackingRegion
&
region
) {
13
LogDebug
(
theCategory
) <<
"|eta|=|"
<< muonTrackCand.second->eta() <<
"|"
14
<<
" compared to: "
<<
theEtaSeparation
;
15
return
(fabs(muonTrackCand.second->eta()) <
theEtaSeparation
);
16
}
MessageLogger.h
DualByEtaTSG::theCategory
std::string theCategory
Definition:
DualByEtaTSG.h:22
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
SeparatingTSG
Definition:
SeparatingTSG.h:17
DualByEtaTSG::DualByEtaTSG
DualByEtaTSG(const edm::ParameterSet &pset, edm::ConsumesCollector &iC)
Definition:
DualByEtaTSG.cc:4
edm::LogError
Log< level::Error, false > LogError
Definition:
MessageLogger.h:123
TrackerSeedGenerator::TrackCand
std::pair< const Trajectory *, reco::TrackRef > TrackCand
Definition:
TrackerSeedGenerator.h:30
TrackingRegion
Definition:
TrackingRegion.h:40
HLT_2023v12_cff.region
region
Definition:
HLT_2023v12_cff.py:6651
DualByEtaTSG::theEtaSeparation
double theEtaSeparation
Definition:
DualByEtaTSG.h:23
DualByEtaTSG.h
CompositeTSG::nTSGs
unsigned int nTSGs()
Definition:
CompositeTSG.h:38
DualByEtaTSG::selectTSG
unsigned int selectTSG(const TrackCand &, const TrackingRegion &) override
decide the TSG depending on the absolute value of momentum eta of the track. Return value is 0 or 1...
Definition:
DualByEtaTSG.cc:12
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
LogDebug
#define LogDebug(id)
Definition:
MessageLogger.h:233
Generated for CMSSW Reference Manual by
1.8.14