BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
DstMucTrack.cxx
Go to the documentation of this file.
1#include "DstEvent/DstMucTrack.h"
2/*#include "MucRecEvent/MucTrack.h"
3class MucTrack;
4
5void
6DstMucTrack::copy(const MucTrack* orig)
7{
8 m_trackId = orig->m_trackId;
9 m_id = orig->m_id;
10 m_status = orig->m_status;
11 m_type = orig->m_type;
12 m_startPart = orig->m_startPart;
13 m_endPart = orig->m_endPart;
14 m_brLastLayer = orig->m_brLastLayer;
15 m_ecLastLayer = orig->m_ecLastLayer;
16 m_numHits = orig->m_numHits;
17 m_numLayers = orig->m_numLayers;
18 m_maxHitsInLayer = orig->m_maxHitsInLayer;
19 m_depth = orig->m_depth;
20 m_chi2 = orig->m_chi2;
21 m_dof = orig->m_dof;
22 m_rms = orig->m_rms;
23 m_xPos = orig->m_xPos;
24 m_yPos = orig->m_yPos;
25 m_zPos = orig->m_zPos;
26 m_px = orig->m_px;
27 m_py = orig->m_py;
28 m_pz = orig->m_pz;
29 m_vecHits = orig->m_vecHits;
30
31}
32
33DstMucTrack::DstMucTrack(const MucTrack& source)
34{
35 m_trackId = source.m_trackId;
36 m_id = source.m_id;
37 m_status = source.m_status;
38 m_type = source.m_type;
39 m_startPart = source.m_startPart;
40 m_endPart = source.m_endPart;
41 m_brLastLayer = source.m_brLastLayer;
42 m_ecLastLayer = source.m_ecLastLayer;
43 m_numHits = source.m_numHits;
44 m_numLayers = source.m_numLayers;
45 m_maxHitsInLayer = source.m_maxHitsInLayer;
46 m_depth = source.m_depth;
47 m_chi2 = source.m_chi2;
48 m_dof = source.m_dof;
49 m_rms = source.m_rms;
50 m_xPos = source.m_xPos;
51 m_yPos = source.m_yPos;
52 m_zPos = source.m_zPos;
53 m_px = source.m_px;
54 m_py = source.m_py;
55 m_pz = source.m_pz;
56 m_vecHits = source.m_vecHits;
57
58}
59DstMucTrack&
60DstMucTrack::operator=(const MucTrack& source){
61
62 m_trackId = source.m_trackId;
63 m_id = source.m_id;
64 m_status = source.m_status;
65 m_type = source.m_type;
66 m_startPart = source.m_startPart;
67 m_endPart = source.m_endPart;
68 m_brLastLayer = source.m_brLastLayer;
69 m_ecLastLayer = source.m_ecLastLayer;
70 m_numHits = source.m_numHits;
71 m_numLayers = source.m_numLayers;
72 m_maxHitsInLayer = source.m_maxHitsInLayer;
73 m_depth = source.m_depth;
74 m_chi2 = source.m_chi2;
75 m_dof = source.m_dof;
76 m_rms = source.m_rms;
77 m_xPos = source.m_xPos;
78 m_yPos = source.m_yPos;
79 m_zPos = source.m_zPos;
80 m_px = source.m_px;
81 m_py = source.m_py;
82 m_pz = source.m_pz;
83 m_vecHits = source.m_vecHits;
84
85 return *this;
86
87}*/