CGEM BOSS
6.6.5.f
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
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
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
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
bak_RootEventData-00-05-12/src/TEmcTrack.cxx
Go to the documentation of this file.
1
#include "RootEventData/TEmcTrack.h"
2
#include <cmath>
3
4
using namespace
std
;
5
6
7
ClassImp
(
TEmcTrack
)
8
9
//**************************************
10
TEmcTrack::TEmcTrack
() {
11
Clear();
12
}
13
14
//*************************************
15
16
TEmcTrack::~TEmcTrack
() {
17
Clear();
18
}
19
20
void
TEmcTrack::setErr
(
const
Double_t err[6] ) {
21
for
(
int
i=0;i<6;i++) {
22
m_err[i] =
err
[i];
23
}
24
}
25
/************************************
26
27
void TEmcTrack::Clear(Option_t *option) {
28
}
29
30
31
void TEmcTrack::Print(Option_t *option) const {
32
TObject::Print(option);
33
std::cout.precision(2);
34
std::cout << "Idetifier: " << m_intId << std::endl;
35
std::cout << "TimeChannel: " << m_timeChannel <<std::endl;
36
std::cout << "ChargeChannel:" << m_chargeChannel <<std::endl;
37
}
38
******************************/
39
40
Double_t
TEmcTrack::dx
()
const
{
41
double
xx=99.;
42
if
(m_err[0]>0) xx=sqrt(m_err[0]);
43
else
if
(m_err[0]==0) xx=0.;
44
return
xx;
45
}
46
47
Double_t
TEmcTrack::dy
()
const
{
48
double
yy=99.;
49
if
(m_err[1]>0) yy=sqrt(m_err[1]);
50
else
if
(m_err[1]==0) yy=0.;
51
return
yy;
52
}
53
54
Double_t
TEmcTrack::dz
()
const
{
55
double
zz=99.;
56
if
(m_err[2]>0) zz=sqrt(m_err[2]);
57
else
if
(m_err[2]==0) zz=0.;
58
return
zz;
59
}
ClassImp
ClassImp(TEmcTrack) TEmcTrack
Definition:
bak_RootEventData-00-05-12/src/TEmcTrack.cxx:7
TEmcTrack
Definition:
Event/RootEventData/bak_RootEventData-00-05-12/RootEventData/TEmcTrack.h:7
TEmcTrack::setErr
void setErr(const Double_t err[6])
Definition:
bak_RootEventData-00-05-12/src/TEmcTrack.cxx:20
TEmcTrack::TEmcTrack
TEmcTrack()
TEmcTrack::err
Double_t err(Int_t i) const
Definition:
Event/RootEventData/bak_RootEventData-00-05-12/RootEventData/TEmcTrack.h:47
TEmcTrack::dx
Double_t dx() const
Definition:
bak_RootEventData-00-05-12/src/TEmcTrack.cxx:40
TEmcTrack::dy
Double_t dy() const
Definition:
bak_RootEventData-00-05-12/src/TEmcTrack.cxx:47
TEmcTrack::dz
Double_t dz() const
Definition:
bak_RootEventData-00-05-12/src/TEmcTrack.cxx:54
TEmcTrack::~TEmcTrack
~TEmcTrack()
Definition:
bak_RootEventData-00-05-12/src/TEmcTrack.cxx:16
std
Definition:
Event/RootEventData/bak_RootEventData-00-05-12/RootEventData/RootEventData_rootcint.cxx:16
source
Event
RootEventData
bak_RootEventData-00-05-12
src
TEmcTrack.cxx
Generated by
1.9.6