CGEM BOSS 6.6.5.f
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_originCgemTrack = 0;
12 m_originCgemSegment = 0;
13 m_originCgemKalTrack = 0;
14 m_originCgemDedx = 0;
15 m_originTofTrack.clear();
16 m_originEmcShower = 0;
17 m_originMucTrack = 0;
18 m_originExtTrack = 0;
19}
20
21EvtRecTrack::EvtRecTrack(const EvtRecTrack & trk) : ContainedObject(trk),
22 m_trackId(trk.m_trackId),
23 m_partId(trk.m_partId),
24 m_quality(trk.m_quality),
25 m_originMdcTrack(trk.m_originMdcTrack),
26 m_originMdcKalTrack(trk.m_originMdcKalTrack),
27 m_originMdcDedx(trk.m_originMdcDedx),
28 m_originCgemTrack(trk.m_originCgemTrack),
29 m_originCgemSegment(trk.m_originCgemSegment),
30 m_originCgemKalTrack(trk.m_originCgemKalTrack),
31 m_originCgemDedx(trk.m_originCgemDedx),
32 m_originTofTrack(trk.m_originTofTrack),
33 m_originEmcShower(trk.m_originEmcShower),
34 m_originMucTrack(trk.m_originMucTrack),
35 m_originExtTrack(trk.m_originExtTrack)
36{
37}
38
39EvtRecTrack & EvtRecTrack :: operator = (const EvtRecTrack & trk) {
40 m_trackId = trk.m_trackId;
41 m_partId = trk.m_partId;
42 m_quality = trk.m_quality;
43 m_originMdcTrack = trk.m_originMdcTrack;
44 m_originMdcKalTrack = trk.m_originMdcKalTrack;
45 m_originMdcDedx = trk.m_originMdcDedx;
46 m_originCgemTrack = trk.m_originCgemTrack;
47 m_originCgemSegment = trk.m_originCgemSegment;
48 m_originCgemKalTrack = trk.m_originCgemKalTrack;
49 m_originCgemDedx = trk.m_originCgemDedx;
50 m_originTofTrack = trk.m_originTofTrack;
51 m_originEmcShower = trk.m_originEmcShower;
52 m_originMucTrack = trk.m_originMucTrack;
53 m_originExtTrack = trk.m_originExtTrack;
54 return *this;
55}