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
CommonTools
BaseParticlePropagator
src
makeMuon.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: CommonTools/BaseParticlePropagator
4
// Class : makeMuon
5
//
6
// Implementation:
7
// [Notes on implementation]
8
//
9
// Original Author: Christopher Jones
10
// Created: Mon, 04 Mar 2019 17:36:54 GMT
11
//
12
13
// system include files
14
15
// user include files
16
#include "
CommonTools/BaseParticlePropagator/interface/makeMuon.h
"
17
18
#include "
CommonTools/BaseParticlePropagator/interface/RawParticle.h
"
19
namespace
rawparticle
{
20
RawParticle
makeMuon
(
bool
isParticle,
const
math::XYZTLorentzVector
&
p
,
const
math::XYZTLorentzVector
& xStart) {
21
constexpr
double
kMass
= 0.10566;
//taken from SimGeneral/HepPDTESSource/data/particle.tbl
22
if
(isParticle) {
23
return
RawParticle
(13,
p
, xStart,
kMass
, -1.);
24
}
25
return
RawParticle
(-13,
p
, xStart,
kMass
, +1.);
26
}
27
}
// namespace rawparticle
kMass
const double kMass
Definition:
PF_PU_AssoMapAlgos.h:54
rawparticle
Definition:
makeMuon.h:29
rawparticle::makeMuon
RawParticle makeMuon(bool isParticle, const math::XYZTLorentzVector &p, const math::XYZTLorentzVector &xStart)
Definition:
makeMuon.cc:20
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition:
LorentzVector.h:29
RawParticle
Definition:
RawParticle.h:37
RawParticle.h
makeMuon.h
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
Generated for CMSSW Reference Manual by
1.8.14