BOSS
7.1.1
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
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
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 Symbols
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
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
h
i
j
k
l
m
n
p
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
LocalChargedSigmaSelector.cxx
Go to the documentation of this file.
1
#include "GaudiKernel/Bootstrap.h"
2
#include "GaudiKernel/IJobOptionsSvc.h"
3
#include "GaudiKernel/ISvcLocator.h"
4
#include "GaudiKernel/PropertyMgr.h"
5
6
#include "
EventModel/EventModel.h
"
7
#include "
EventModel/EventHeader.h
"
8
#include "
EvtRecEvent/EvtRecEvent.h
"
9
#include "
EvtRecEvent/EvtRecTrack.h
"
10
#include "
ParticleID/ParticleID.h
"
11
#include "
DTagAlg/LocalChargedSigmaSelector.h
"
12
13
LocalChargedSigmaSelector::LocalChargedSigmaSelector
()
14
{
15
IJobOptionsSvc* jobSvc;
16
Gaudi::svcLocator()->service(
"JobOptionsSvc"
, jobSvc);
17
18
PropertyMgr m_propMgr;
19
20
//Declare the properties
21
m_propMgr.declareProperty(
"MinMassCut"
, m_minMass=1.13);
22
m_propMgr.declareProperty(
"MaxMassCut"
, m_maxMass=1.23);
23
24
jobSvc->setMyProperties(
"LocalChargedSigmaSelector"
, &m_propMgr);
25
}
13
LocalChargedSigmaSelector::LocalChargedSigmaSelector
() {
…
}
26
27
bool
LocalChargedSigmaSelector::operator()
(
CDDecay
& aChargedSigma) {
28
29
//aChargedSigma.setUserTag(1);
30
aChargedSigma.
setUserTag
(aChargedSigma.
decay
().
child
(1).
userTag
());
31
32
double
mass
= aChargedSigma.
mass
();
33
if
((
mass
<= m_minMass)||(
mass
>= m_maxMass))
return
false
;
34
35
return
true
;
36
}
27
bool
LocalChargedSigmaSelector::operator()
(
CDDecay
& aChargedSigma) {
…
}
37
38
39
LocalChargedSigmaSelector
chargedsigmaSelector
;
mass
double mass
Definition
CosmicGenerator.cxx:138
EventHeader.h
EventModel.h
EvtRecEvent.h
EvtRecTrack.h
chargedsigmaSelector
LocalChargedSigmaSelector chargedsigmaSelector
Definition
LocalChargedSigmaSelector.cxx:39
LocalChargedSigmaSelector.h
ParticleID.h
CDCandidate::setUserTag
void setUserTag(int tag)
Definition
CDCandidate.cxx:81
CDCandidate::userTag
int userTag() const
Definition
CDCandidate.cxx:137
CDCandidate::mass
double mass() const
Definition
CDCandidate.cxx:145
CDDecay
Definition
CDDecay.h:111
CDDecay::child
const CDCandidate & child(unsigned int aPosition) const
Definition
CDDecay.cxx:247
CDDecay::decay
virtual const CDDecay & decay(void) const
Definition
CDDecay.cxx:208
LocalChargedSigmaSelector
Definition
LocalChargedSigmaSelector.h:8
LocalChargedSigmaSelector::operator()
bool operator()(CDDecay &aSigma)
Definition
LocalChargedSigmaSelector.cxx:27
LocalChargedSigmaSelector::LocalChargedSigmaSelector
LocalChargedSigmaSelector()
Definition
LocalChargedSigmaSelector.cxx:13
7.1.1
Reconstruction
DTagAlg
DTagAlg-00-02-04
src
LocalChargedSigmaSelector.cxx
Generated by
1.12.0