BOSS
7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
RecMdcTrack.cxx
Go to the documentation of this file.
1
/*
2
* @class : RecMdcTrack
3
* this class models "Track" used in Mdc Reconstruction
4
*
5
* ********************************************************/
6
7
#include "
MdcRecEvent/RecMdcTrack.h
"
8
9
const
CLID&
RecMdcTrack::clID
()
const
{
10
return
RecMdcTrack::classID
();
11
}
12
13
const
CLID&
RecMdcTrack::classID
() {
14
return
CLID_RecMdcTrack
;
15
}
16
17
RecMdcTrack::RecMdcTrack
()
18
: m_pivot(0,0,0),
19
m_fiTerm(0.0),
20
m_nhits(0)
21
{
22
}
23
24
RecMdcTrack::RecMdcTrack
(
const
RecMdcTrack
& rectrk)
25
:
DstMdcTrack
(rectrk),
26
m_pivot(rectrk.m_pivot),
27
m_fiTerm(rectrk.m_fiTerm),
28
m_nhits(rectrk.m_nhits),
29
m_vechits(rectrk.m_vechits)
30
{
31
}
32
33
RecMdcTrack::RecMdcTrack
(
const
DstMdcTrack
& dstrk)
34
:
DstMdcTrack
(dstrk),
35
m_pivot(-99.,-99.,-99.),
36
m_fiTerm(-99.),
37
m_nhits(-99)
38
{
39
}
40
41
RecMdcTrack
&
RecMdcTrack::operator=
(
const
RecMdcTrack
& rectrk)
42
{
43
if
( &rectrk !=
this
){
44
DstMdcTrack::operator=
(rectrk);
45
m_pivot = rectrk.m_pivot;
46
m_fiTerm = rectrk. m_fiTerm;
47
m_nhits = rectrk. m_nhits;
48
m_vechits = rectrk.m_vechits;
49
}
50
return
*
this
;
51
}
52
53
RecMdcTrack
&
RecMdcTrack::operator=
(
const
DstMdcTrack
& dstrk)
54
{
55
if
( &dstrk !=
this
){
56
DstMdcTrack::operator=
(dstrk);
57
m_pivot[0] = -99.;
58
m_pivot[1] = -99.;
59
m_pivot[2] = -99.;
60
m_fiTerm = -99.;
61
m_nhits = -99;
62
}
63
return
*
this
;
64
}
65
66
67
RecMdcTrack::~RecMdcTrack
() {
68
}
69
RecMdcTrack.h
CLID_RecMdcTrack
const CLID & CLID_RecMdcTrack
Definition
EventModel.cxx:295
DstMdcTrack
Definition
DstMdcTrack.h:25
DstMdcTrack::operator=
DstMdcTrack & operator=(const DstMdcTrack &)
Definition
DstMdcTrack.cxx:65
RecMdcTrack
Definition
RecMdcTrack.h:23
RecMdcTrack::~RecMdcTrack
~RecMdcTrack()
Definition
RecMdcTrack.cxx:67
RecMdcTrack::clID
virtual const CLID & clID() const
Definition
RecMdcTrack.cxx:9
RecMdcTrack::RecMdcTrack
RecMdcTrack()
Definition
RecMdcTrack.cxx:17
RecMdcTrack::operator=
RecMdcTrack & operator=(const RecMdcTrack &)
Definition
RecMdcTrack.cxx:41
RecMdcTrack::classID
static const CLID & classID()
Definition
RecMdcTrack.cxx:13
7.1.2
Mdc
MdcRecEvent
MdcRecEvent-00-05-14
src
RecMdcTrack.cxx
Generated by
1.12.0