BOSS
7.0.4
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
_
e
f
g
h
i
l
m
o
p
r
s
t
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
d
e
g
h
p
r
s
t
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
EvtParityC.cc
Go to the documentation of this file.
1
#include "
EvtParityC.hh
"
2
3
std::map<string, double> parityC::_parityCMap_;
4
5
6
void
parityC::readParityC
(){
7
string
location = getenv(
"BESEVTGENROOT"
);
8
location +=
"/share/_parityC.list_"
;
9
//-- debugging
10
cout<<
"The _parity.list_ location is "
<<location<<endl;
11
//--
12
ifstream
file
(location.c_str());
13
string
parname;
14
double
pval;
15
if
(
file
==0){cout<<
" parity::readParity: No particle parity list are available"
<<endl;abort();}
16
while
(!
file
.eof()){
17
file
>>parname>>pval;
18
pair<string, double>
prt
(parname,pval);
19
//-- for debugging
20
//cout<<"parname, pval "<<parname<<" "<<pval<<endl;
21
22
_parityCMap_.insert(
prt
);
23
}
24
}
25
26
double
parityC::getC
(
string
parname){
27
double
thepar;
28
thepar = _parityCMap_[parname];
29
//if(thepar ==0 ){cout<<"parity::getP::No entries in parity list available for "<<parname<<endl; abort();}
30
return
thepar;
31
}
file
char * file
Definition:
DQA_TO_DB.cxx:15
EvtParityC.hh
prt
#define prt(n)
Definition:
MdcxFindTracks.cxx:34
parityC::readParityC
static void readParityC()
Definition:
EvtParityC.cc:6
parityC::getC
static double getC(string parname)
Definition:
EvtParityC.cc:26
source
Generator
BesEvtGen
BesEvtGen-00-03-98
src
EvtGen
EvtGenBase
EvtParityC.cc
Generated by
1.9.6