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
8
9 const CLID& RecCgemTrack::clID() const {
10 return RecCgemTrack::classID();
11 }
12
13 const CLID& RecCgemTrack::classID() {
14 return CLID_RecCgemTrack;
15 }
16
18 : m_pivot(0,0,0),
19 m_fiTerm(0.0),
20 m_nhits(0)
21 {
22 }
23
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
34 : DstCgemTrack(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
69
const CLID & CLID_RecCgemTrack
DstCgemTrack & operator=(const DstCgemTrack &)
static const CLID & classID()
RecCgemTrack & operator=(const RecCgemTrack &)
virtual const CLID & clID() const