CGEM BOSS
6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
RecCgemTrack.cxx
Go to the documentation of this file.
1
/*
2
* @class : RecCgemTrack
3
* this class models "Track" used in Cgem Reconstruction
4
*
5
* ********************************************************/
6
7
#include "
CgemRecEvent/RecCgemTrack.h
"
8
9
const
CLID&
RecCgemTrack::clID
()
const
{
10
return
RecCgemTrack::classID
();
11
}
12
13
const
CLID&
RecCgemTrack::classID
() {
14
return
CLID_RecCgemTrack
;
15
}
16
17
RecCgemTrack::RecCgemTrack
()
18
: m_pivot(0,0,0),
19
m_fiTerm(0.0),
20
m_nhits(0)
21
{
22
}
23
24
RecCgemTrack::RecCgemTrack
(
const
RecCgemTrack
& rectrk)
25
:
DstCgemTrack
(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
RecCgemTrack::RecCgemTrack
(
const
DstCgemTrack
& dstrk)
34
:
DstCgemTrack
(dstrk),
35
m_pivot(-99.,-99.,-99.),
36
m_fiTerm(-99.),
37
m_nhits(-99)
38
{
39
}
40
41
RecCgemTrack
&
RecCgemTrack::operator=
(
const
RecCgemTrack
& rectrk)
42
{
43
if
( &rectrk !=
this
){
44
DstCgemTrack::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
RecCgemTrack
&
RecCgemTrack::operator=
(
const
DstCgemTrack
& dstrk)
54
{
55
if
( &dstrk !=
this
){
56
DstCgemTrack::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
RecCgemTrack::~RecCgemTrack
() {
68
}
69
RecCgemTrack.h
CLID_RecCgemTrack
const CLID & CLID_RecCgemTrack
Definition
EventModel.cxx:398
DstCgemTrack
Definition
DstCgemTrack.h:25
DstCgemTrack::operator=
DstCgemTrack & operator=(const DstCgemTrack &)
Definition
DstCgemTrack.cxx:61
RecCgemTrack
Definition
RecCgemTrack.h:23
RecCgemTrack::classID
static const CLID & classID()
Definition
RecCgemTrack.cxx:13
RecCgemTrack::RecCgemTrack
RecCgemTrack()
Definition
RecCgemTrack.cxx:17
RecCgemTrack::operator=
RecCgemTrack & operator=(const RecCgemTrack &)
Definition
RecCgemTrack.cxx:41
RecCgemTrack::clID
virtual const CLID & clID() const
Definition
RecCgemTrack.cxx:9
RecCgemTrack::~RecCgemTrack
~RecCgemTrack()
Definition
RecCgemTrack.cxx:67
6.6.5.i
Cgem
CgemRecEvent
CgemRecEvent-00-00-18
src
RecCgemTrack.cxx
Generated by
1.12.0