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
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
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
RecoParticleFlow
PFTracking
interface
PFCheckHitPattern.h
Go to the documentation of this file.
1
#ifndef PFCheckHitPattern_H
2
#define PFCheckHitPattern_H
3
4
// standard EDAnalyser include files
5
#include <memory>
6
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
7
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
8
#include "
FWCore/Framework/interface/Event.h
"
9
#include "
FWCore/Framework/interface/MakerMacros.h
"
10
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
11
12
#include "
FWCore/Framework/interface/EventSetup.h
"
13
#include "
DataFormats/TrackReco/interface/Track.h
"
14
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
15
#include "
RecoVertex/VertexPrimitives/interface/TransientVertex.h
"
16
#include "
Geometry/CommonDetUnit/interface/TrackingGeometry.h
"
17
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
18
19
#define DEBUG_CHECKHITPATTERN
20
21
class
DetId
;
22
24
29
/*
30
* Determine if a track has hits in front of its assumed production point.
31
* Also determine if it misses hits between its assumed production point and its innermost hit.
32
*/
33
34
class
PFCheckHitPattern
{
35
public
:
36
PFCheckHitPattern
() :
geomInitDone_
(
false
) {}
37
38
~PFCheckHitPattern
() {}
39
40
typedef
std::pair<unsigned int, unsigned int>
PFTrackHitInfo
;
41
typedef
std::pair<PFTrackHitInfo, PFTrackHitInfo>
PFTrackHitFullInfo
;
42
47
48
PFTrackHitFullInfo
analyze
(
const
TrackerTopology
* tkerTopo,
49
const
TrackerGeometry
* tkerGeom,
50
const
reco::TrackBaseRef
track
,
51
const
TransientVertex
& vert);
52
54
void
print
(
const
reco::TrackBaseRef
track
)
const
;
55
56
private
:
58
void
init
(
const
TrackerTopology
*,
const
TrackerGeometry
*);
59
62
typedef
std::pair<uint32_t, uint32_t>
DetInfo
;
63
65
static
bool
barrel
(uint32_t subDet);
66
67
void
print
(
const
reco::HitPattern::HitCategory
,
const
reco::HitPattern
&
hp
)
const
;
68
69
private
:
71
bool
geomInitDone_
;
72
75
typedef
std::map<DetInfo, std::pair<double, double> >
RZrangeMap
;
76
RZrangeMap
rangeRorZ_
;
77
};
78
79
#endif
funct::false
false
Definition:
Factorize.h:34
TrackerGeometry.h
PFCheckHitPattern::print
void print(const reco::TrackBaseRef track) const
Print hit pattern on track.
Definition:
PFCheckHitPattern.cc:156
PFCheckHitPattern::PFCheckHitPattern
PFCheckHitPattern()
Definition:
PFCheckHitPattern.h:36
TrackerTopology
Definition:
TrackerTopology.h:16
PFCheckHitPattern::~PFCheckHitPattern
~PFCheckHitPattern()
Definition:
PFCheckHitPattern.h:38
TrackingGeometry.h
EDAnalyzer.h
DetId
Definition:
DetId.h:17
MakerMacros.h
reco::HitPattern
Definition:
HitPattern.h:147
Track.h
trackingPlots.hp
hp
Definition:
trackingPlots.py:1246
TrackFwd.h
PFCheckHitPattern::analyze
PFTrackHitFullInfo analyze(const TrackerTopology *tkerTopo, const TrackerGeometry *tkerGeom, const reco::TrackBaseRef track, const TransientVertex &vert)
Definition:
PFCheckHitPattern.cc:77
PFCheckHitPattern::init
void init(const TrackerTopology *, const TrackerGeometry *)
Create map indicating r/z values of all layers/disks.
Definition:
PFCheckHitPattern.cc:20
PFCheckHitPattern
PFCheckHitPatter.
Definition:
PFCheckHitPattern.h:34
PFCheckHitPattern::PFTrackHitInfo
std::pair< unsigned int, unsigned int > PFTrackHitInfo
Definition:
PFCheckHitPattern.h:40
Event.h
PFCheckHitPattern::DetInfo
std::pair< uint32_t, uint32_t > DetInfo
Definition:
PFCheckHitPattern.h:62
TransientVertex
Definition:
TransientVertex.h:18
PFCheckHitPattern::RZrangeMap
std::map< DetInfo, std::pair< double, double > > RZrangeMap
Definition:
PFCheckHitPattern.h:75
TransientVertex.h
reco::HitPattern::HitCategory
HitCategory
Definition:
HitPattern.h:155
Frameworkfwd.h
EventSetup.h
edm::RefToBase< reco::Track >
HLT_2018_cff.track
track
Definition:
HLT_2018_cff.py:10352
PFCheckHitPattern::geomInitDone_
bool geomInitDone_
Note if geometry info is already initialized.
Definition:
PFCheckHitPattern.h:71
ParameterSet.h
PFCheckHitPattern::PFTrackHitFullInfo
std::pair< PFTrackHitInfo, PFTrackHitInfo > PFTrackHitFullInfo
Definition:
PFCheckHitPattern.h:41
PFCheckHitPattern::barrel
static bool barrel(uint32_t subDet)
Return a bool indicating if a given subdetector is in the barrel.
Definition:
PFCheckHitPattern.cc:71
PFCheckHitPattern::rangeRorZ_
RZrangeMap rangeRorZ_
Definition:
PFCheckHitPattern.h:76
TrackerGeometry
Definition:
TrackerGeometry.h:14
Generated for CMSSW Reference Manual by
1.8.16