BOSS 8.0.0
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
9const CLID& RecMdcTrack::clID() const { return RecMdcTrack::classID(); }
10
11const CLID& RecMdcTrack::classID() { return CLID_RecMdcTrack; }
12
13RecMdcTrack::RecMdcTrack() : m_pivot( 0, 0, 0 ), m_fiTerm( 0.0 ), m_nhits( 0 ) {}
14
16 : DstMdcTrack( rectrk )
17 , m_pivot( rectrk.m_pivot )
18 , m_fiTerm( rectrk.m_fiTerm )
19 , m_nhits( rectrk.m_nhits )
20 , m_vechits( rectrk.m_vechits ) {}
21
23 : DstMdcTrack( dstrk ), m_pivot( -99., -99., -99. ), m_fiTerm( -99. ), m_nhits( -99 ) {}
24
26 if ( &rectrk != this )
27 {
28 DstMdcTrack::operator=( rectrk );
29 m_pivot = rectrk.m_pivot;
30 m_fiTerm = rectrk.m_fiTerm;
31 m_nhits = rectrk.m_nhits;
32 m_vechits = rectrk.m_vechits;
33 }
34 return *this;
35}
36
38 if ( &dstrk != this )
39 {
41 m_pivot[0] = -99.;
42 m_pivot[1] = -99.;
43 m_pivot[2] = -99.;
44 m_fiTerm = -99.;
45 m_nhits = -99;
46 }
47 return *this;
48}
49
const CLID & CLID_RecMdcTrack
DstMdcTrack & operator=(const DstMdcTrack &)
virtual const CLID & clID() const
RecMdcTrack & operator=(const RecMdcTrack &)
static const CLID & classID()