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
Validation
SiTrackerPhase2V
src
TrackerPhase2ValidationUtil.cc
Go to the documentation of this file.
1
#include "
Validation/SiTrackerPhase2V/interface/TrackerPhase2ValidationUtil.h
"
2
bool
phase2tkutil::isPrimary
(
const
SimTrack
& simTrk,
const
PSimHit
*
simHit
) {
3
bool
retval =
false
;
4
unsigned
int
trkId = simTrk.
trackId
();
5
if
(trkId !=
simHit
->trackId())
6
return
retval;
7
int
vtxIndex = simTrk.
vertIndex
();
8
int
ptype
=
simHit
->processType();
9
return
((vtxIndex == 0) && (
ptype
== 0));
10
}
rpcPointValidation_cfi.simHit
simHit
Definition:
rpcPointValidation_cfi.py:24
phase2tkutil::isPrimary
bool isPrimary(const SimTrack &simTrk, const PSimHit *simHit)
Definition:
TrackerPhase2ValidationUtil.cc:2
DigiTask_cfi.ptype
ptype
Definition:
DigiTask_cfi.py:16
SimTrack
Definition:
SimTrack.h:9
SimTrack::vertIndex
int vertIndex() const
index of the vertex in the Event container (-1 if no vertex)
Definition:
SimTrack.h:33
CoreSimTrack::trackId
unsigned int trackId() const
Definition:
CoreSimTrack.h:31
PSimHit
Definition:
PSimHit.h:15
TrackerPhase2ValidationUtil.h
Generated for CMSSW Reference Manual by
1.8.14