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
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
}
TrackerPhase2ValidationUtil.h
OfflineHarvestingSequence_cosmic.ptype
ptype
Definition:
OfflineHarvestingSequence_cosmic.py:7
rpcPointValidation_cfi.simHit
simHit
Definition:
rpcPointValidation_cfi.py:24
phase2tkutil::isPrimary
bool isPrimary(const SimTrack &simTrk, const PSimHit *simHit)
Definition:
TrackerPhase2ValidationUtil.cc:2
CoreSimTrack::trackId
unsigned int trackId() const
Definition:
CoreSimTrack.h:31
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
PSimHit
Definition:
PSimHit.h:15
Generated for CMSSW Reference Manual by
1.8.16