BOSS
7.1.2
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
▼
BOSS
Used Packages
Requirements
►
How to use the ERS package
Todo List
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
7.1.2
►
Analysis
►
BesCxxPolicy
►
BesExamples
►
BesPolicy
►
Calibration
►
Control
►
Database
►
DetectorDescription
►
DistBoss
►
DQA
►
Emc
►
Event
►
EventDisplay
►
EventFilter
►
EvtPreSelect
►
External
►
Generator
►
InstallArea
►
LumTauAlg
►
MagneticField
▼
Mdc
▼
DedxCalibAlg
▼
DedxCalibAlg-00-02-01
►
DedxCalibAlg
▼
share
►
shell
▼
template
►
CheckChargeSpace
►
CheckRung
►
Costheta
►
CosthetaSec
►
Curve
►
DocaEangle
►
DocaEangleSec
►
Eangle1D
►
Eangle1DSec
►
FirstRung
►
HadronCalib
►
HadronConstants
►
RungCos
►
RungCosSec
►
RungDoca
►
RungDocaSec
►
RungEangle
▼
RungWire
►
check_two_sigma_violate.cxx
►
DedxCalibRunConst.cxx
►
select
►
Simulation
►
T0
►
WireGain
►
src
►
DedxCorrecSvc
►
DedxCurSvc
►
DedxSimSvc
►
MdcAlignAlg
►
MdcCalibAlg
►
MdcCalibFunSvc
►
MdcCheckUtil
►
MdcGeomSvc
►
MdcHvDropSvc
►
MdcNavigation
►
MdcRawEvent
►
MdcRecEvent
►
MdcTables
►
Muc
►
OfflineEvtFilter
►
Reconstruction
►
RootPolicy
►
Simulation
►
Tof
►
Trigger
►
Utilities
►
Validation
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
RungWire/check_two_sigma_violate.cxx
Go to the documentation of this file.
1
void
check_two_sigma_violate
(TString
file
=
"rungain.root"
){
2
TFile *
f
=
new
TFile(
file
);
3
TTree *
t
= (TTree*)
f
->Get(
"runcalib"
);
4
TH1F *h =
new
TH1F(
"h"
,
"h"
, 100, -0.5, 1.5);
5
t
->Draw(
"rungain>>h"
);
6
h->Fit(
"gaus"
);
7
double
mean = h->GetFunction(
"gaus"
)->GetParameter(1);
8
double
sigma
= h->GetFunction(
"gaus"
)->GetParameter(2);
9
TString
cut
= Form(
"rungain<%f-2*%f || rungain>%f+2*%f"
,mean,
sigma
,mean,
sigma
);
10
cout <<
"cut: "
<<
cut
<< endl;
11
t
->Scan(
"runno:runmean:rungain:runresol"
,
cut
);
12
}
1
void
check_two_sigma_violate
(TString
file
=
"rungain.root"
) {
…
}
sigma
TTree * sigma
Definition
CurConst_dEdXCal.cxx:6
f
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")
cut
Char_t cut[200]
Definition
DQA/DQASelBhabha/DQASelBhabha-00-01-00/share/eff.cxx:63
file
char * file
Definition
DQA_TO_DB.cxx:15
check_two_sigma_violate
void check_two_sigma_violate(TString file="rungain.root")
Definition
RungWire/check_two_sigma_violate.cxx:1
t
TTree * t
Definition
binning.cxx:23
7.1.2
Mdc
DedxCalibAlg
DedxCalibAlg-00-02-01
share
template
RungWire
check_two_sigma_violate.cxx
Generated by
1.12.0