BOSS
7.1.0
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 Functions
:
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
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
MdcLine.h
Go to the documentation of this file.
1
// MdcLine.hh
2
// simple class to do a line fit -- all public
3
// y = ax + b;
4
5
// Interface Dependencies ----------------------------------------------
6
7
#ifndef MDCLINE_H
8
#define MDCLINE_H
9
10
// End Interface Dependencies -----------------------------------------
11
12
// Class definition//
13
class
MdcLine
{
14
public
:
15
double
*
x
;
16
double
*
y
;
17
double
*
sigma
;
18
double
*
resid
;
19
int
nPoint
;
20
double
slope
;
21
double
intercept
;
22
double
chisq
;
23
double
errmat
[3];
24
25
MdcLine
(
int
n
) {
26
nPoint
=
n
;
27
x
=
new
double
[
n
];
28
y
=
new
double
[
n
];
29
sigma
=
new
double
[
n
];
30
resid
=
new
double
[
n
];
31
};
32
~MdcLine
() {
33
delete
[]
x
;
34
delete
[]
y
;
35
delete
[]
sigma
;
36
delete
[]
resid
;
37
};
38
39
// The fit:
40
int
fit
(
int
nUse);
// fit using first nUse pts
41
};
42
#endif
43
44
45
46
47
48
49
n
const Int_t n
Definition:
DataBase/tau_mode.c:65
MdcLine
Definition:
MdcLine.h:13
MdcLine::x
double * x
Definition:
MdcLine.h:15
MdcLine::intercept
double intercept
Definition:
MdcLine.h:21
MdcLine::MdcLine
MdcLine(int n)
Definition:
MdcLine.h:25
MdcLine::y
double * y
Definition:
MdcLine.h:16
MdcLine::slope
double slope
Definition:
MdcLine.h:20
MdcLine::nPoint
int nPoint
Definition:
MdcLine.h:19
MdcLine::~MdcLine
~MdcLine()
Definition:
MdcLine.h:32
MdcLine::chisq
double chisq
Definition:
MdcLine.h:22
MdcLine::resid
double * resid
Definition:
MdcLine.h:18
MdcLine::errmat
double errmat[3]
Definition:
MdcLine.h:23
MdcLine::fit
int fit(int nUse)
Definition:
MdcLine.cxx:10
MdcLine::sigma
double * sigma
Definition:
MdcLine.h:17
source
Reconstruction
MdcPatRec
MdcTrkRecon
MdcTrkRecon-00-04-03
MdcTrkRecon
MdcLine.h
Generated by
1.9.6