BOSS 7.0.7
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
8
9 const CLID& RecMdcTrack::clID() const {
10 return RecMdcTrack::classID();
11 }
12
13 const CLID& RecMdcTrack::classID() {
14 return CLID_RecMdcTrack;
15 }
16
18 : m_pivot(0,0,0),
19 m_fiTerm(0.0),
20 m_nhits(0)
21 {
22 }
23
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
34 : DstMdcTrack(dstrk),
35 m_pivot(-99.,-99.,-99.),
36 m_fiTerm(-99.),
37 m_nhits(-99)
38 {
39 }
40
42 {
43 if( &rectrk != this ){
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
54 {
55 if( &dstrk != this ){
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
68 }
69
const CLID & CLID_RecMdcTrack
Definition: EventModel.cxx:295
DstMdcTrack & operator=(const DstMdcTrack &)
Definition: DstMdcTrack.cxx:65
virtual const CLID & clID() const
Definition: RecMdcTrack.cxx:9
RecMdcTrack & operator=(const RecMdcTrack &)
Definition: RecMdcTrack.cxx:41
static const CLID & classID()
Definition: RecMdcTrack.cxx:13