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
Parameter.cxx
Go to the documentation of this file.
1
#include <iostream>
2
#include <fstream>
3
#include <sstream>
4
#include <string>
5
#include <stdlib.h>
6
#include "DiGamAlg/Parameter.h"
7
8
void
Parameter::parameters
(
double
E_cms)
9
{
10
std::string digamPath = getenv(
"DIGAMALGROOT"
);
11
digamPath +=
"/DiGamAlg/parameters.txt"
;
12
std::ifstream fin;
13
fin.open(digamPath.c_str());
14
15
int
i = 0;
16
std::string temp;
17
while
(getline(fin, temp))
18
{
19
std::istringstream word(temp);
20
word >>
m_E_start
>>
m_E_stop
>>
m_CrossSection
>>
m_MCEff
>>
m_MCEffBoost
>>
m_boostMinEmin
>>
m_boostMinEmax
;
21
if
(m_E_start <= E_cms && m_E_stop > E_cms)
22
break
;
23
i++;
24
}
25
fin.close();
26
}
27
Parameter::m_MCEffBoost
double m_MCEffBoost
Definition:
DQA/DiGamAlg/DiGamAlg-00-10-02/DiGamAlg/Parameter.h:12
Parameter::m_E_stop
double m_E_stop
Definition:
DQA/DiGamAlg/DiGamAlg-00-10-02/DiGamAlg/Parameter.h:8
Parameter::m_boostMinEmax
double m_boostMinEmax
Definition:
DQA/DiGamAlg/DiGamAlg-00-10-02/DiGamAlg/Parameter.h:14
Parameter::parameters
void parameters(double E_cms)
Definition:
Parameter.cxx:8
Parameter::m_boostMinEmin
double m_boostMinEmin
Definition:
DQA/DiGamAlg/DiGamAlg-00-10-02/DiGamAlg/Parameter.h:13
Parameter::m_E_start
double m_E_start
Definition:
DQA/DiGamAlg/DiGamAlg-00-10-02/DiGamAlg/Parameter.h:7
Parameter::m_MCEff
double m_MCEff
Definition:
DQA/DiGamAlg/DiGamAlg-00-10-02/DiGamAlg/Parameter.h:11
Parameter::m_CrossSection
double m_CrossSection
Definition:
DQA/DiGamAlg/DiGamAlg-00-10-02/DiGamAlg/Parameter.h:10
source
DQA
DiGamAlg
DiGamAlg-00-10-02
src
Parameter.cxx
Generated by
1.9.6