BOSS
7.0.6
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
Simulation/check/ana/draw_plots.cxx
Go to the documentation of this file.
1
TString
vec_str_fnames
[5] = {
"_rec_electron.root"
,
"_rec_muon.root"
,
"_rec_pion.root"
,
"_rec_kaon.root"
,
"_rec_proton.root"
};
2
3
void
draw_plots
(){
4
TCanvas *c1 =
new
TCanvas(
"c1"
,
"check plots"
, 10,10,800,642);
5
c1->Divide(2,3);
6
for
(
int
i=0; i<5; i++){
7
TTree *
t
=
new
TTree();
8
c1->cd(i+1);
9
TString fname =
vec_str_fnames
[i];
10
TFile
f
(fname);
11
if
(
t
)
delete
t
;
12
TTree *
t
= (TTree*)
f
.Get(
"n103"
);
13
t
->Draw(
"dEdx_meas:ptrk"
,
""
,
""
,10000);
14
c1->Update();
15
}
16
c1->SaveAs(
"check_plots.jpg"
);
17
}
vec_str_fnames
TString vec_str_fnames[5]
Definition:
Simulation/check/ana/draw_plots.cxx:1
draw_plots
void draw_plots()
Definition:
Simulation/check/ana/draw_plots.cxx:3
t
TTree * t
Definition:
binning.cxx:23
f
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")
source
Mdc
DedxCalibAlg
DedxCalibAlg-00-01-20
share
template
Simulation
check
ana
draw_plots.cxx
Generated by
1.9.6