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
HadronConst.cxx
Go to the documentation of this file.
1
void
HadronConst
()
2
{
3
TFile *
f
=
new
TFile(
"hadron.root"
,
"recreate"
);
4
TTree* tree =
new
TTree(
"ggscalib"
,
"ggscalib"
);
5
//double new_v[5]={9.99882e-02,9.33508e-04,8.46946e-03,1.75101e+00,9.58826e+00}; //2011 data under 662
6
// double new_v[5]={2.02648e-02,-1.49155e-03,1.09636e-02,1.75283e+00,2.19365e+00}; //2010 data under 662
7
double
new_v[5]={1.25803e-02, -5.57378e-04, 1.07745e-02, 1.73587e+00, 1.14291e+00};
//2010 J/psi data under 662
8
int
new_v2=5;
9
10
TBranch* branch1=tree->Branch(
"hadron"
, new_v,
"hadron[5]/D"
);
11
TBranch* branch2=tree->Branch(
"hadronNo"
, &new_v2,
"hadronNo/I"
);
12
tree->Fill();
13
tree->Write();
14
f
->Close();
15
}
HadronConst
void HadronConst()
Definition:
HadronConst.cxx:1
f
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")
source
Mdc
DedxCalibAlg
DedxCalibAlg-00-01-20
share
template
HadronConstants
HadronConst.cxx
Generated by
1.9.6