BOSS
7.0.7
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
v
Enumerations
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
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
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Functions
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
w
x
Files
File List
File 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
l
m
n
o
p
q
r
s
t
u
v
w
x
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
p
q
r
s
t
u
v
w
z
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
IsGenNonInteracting.cxx
Go to the documentation of this file.
1
#include <vector>
2
3
#include "
TruthHelper/IsGenNonInteracting.h
"
4
#include "HepMC/GenParticle.h"
5
using
std::vector;
6
using
std::abs;
7
8
//****************************************************************
9
//* IsGenNonInteracting *
10
//****************************************************************
11
IsGenNonInteracting::IsGenNonInteracting
() {}
12
13
bool
IsGenNonInteracting::operator()
(
const
Particle
*
const
p )
const
{
14
return
(
abs
(p->pdg_id())==12 ||
abs
(p->pdg_id())==14
15
||
abs
(p->pdg_id())==16 ||
16
(
abs
(p->pdg_id())==1000039 && p->status()%1000==1 ) ||
17
(
abs
(p->pdg_id())==1000022 && p->status()%1000==1 ) ) ?
true
:
false
;
18
}
19
20
bool
IsGenNonInteracting::operator()
(
const
Particle
& p )
const
{
21
return
this->
operator()
(&p);
22
}
23
GenIMCselector
*
IsGenNonInteracting::create
()
const
{
return
new
IsGenNonInteracting
(*
this
);}
24
abs
#define abs(x)
Definition:
Eepipi/Eepipi-00-00-06/src/ee2eepp/basesv5.1/f2c.h:151
Particle
HepMC::GenParticle Particle
Definition:
GenIMCselector.h:16
IsGenNonInteracting.h
GenIMCselector
Definition:
GenIMCselector.h:19
IsGenNonInteracting::operator()
virtual bool operator()(const Particle *const p) const
Definition:
IsGenNonInteracting.cxx:13
IsGenNonInteracting::IsGenNonInteracting
IsGenNonInteracting()
Definition:
IsGenNonInteracting.cxx:11
IsGenNonInteracting::create
GenIMCselector * create() const
Definition:
IsGenNonInteracting.cxx:23
source
Generator
GenAnalysisTools
TruthHelper
TruthHelper-00-00-01
src
IsGenNonInteracting.cxx
Generated by
1.9.6