BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtRecTrack.cxx
Go to the documentation of this file.
1#include "EvtRecEvent/EvtRecTrack.h"
2
4 m_trackId(-1),
5 m_partId(-1),
6 m_quality(-1)
7{
8 m_originMdcTrack = 0;
9 m_originMdcKalTrack = 0;
10 m_originMdcDedx = 0;
11 m_originTofTrack.clear();
12 m_originEmcShower = 0;
13 m_originMucTrack = 0;
14 m_originExtTrack = 0;
15}
16
17EvtRecTrack::EvtRecTrack(const EvtRecTrack & trk) : ContainedObject(trk),
18 m_trackId(trk.m_trackId),
19 m_partId(trk.m_partId),
20 m_quality(trk.m_quality),
21 m_originMdcTrack(trk.m_originMdcTrack),
22 m_originMdcKalTrack(trk.m_originMdcKalTrack),
23 m_originMdcDedx(trk.m_originMdcDedx),
24 m_originTofTrack(trk.m_originTofTrack),
25 m_originEmcShower(trk.m_originEmcShower),
26 m_originMucTrack(trk.m_originMucTrack),
27 m_originExtTrack(trk.m_originExtTrack)
28{
29}
30
31EvtRecTrack & EvtRecTrack :: operator = (const EvtRecTrack & trk) {
32 m_trackId = trk.m_trackId;
33 m_partId = trk.m_partId;
34 m_quality = trk.m_quality;
35 m_originMdcTrack = trk.m_originMdcTrack;
36 m_originMdcKalTrack = trk.m_originMdcKalTrack;
37 m_originMdcDedx = trk.m_originMdcDedx;
38 m_originTofTrack = trk.m_originTofTrack;
39 m_originEmcShower = trk.m_originEmcShower;
40 m_originMucTrack = trk.m_originMucTrack;
41 m_originExtTrack = trk.m_originExtTrack;
42 return *this;
43}