CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtRecPrimaryVertex.cxx
Go to the documentation of this file.
1#include "EvtRecEvent/EvtRecPrimaryVertex.h"
2
4 m_vtx(3, 0), m_Evtx(3, 0) {
5 m_isValid = false;
6 m_nTracks = -1;
7 m_chi2 = -1;
8 m_ndof = -3;
9 m_fitMethod = -1;
10}
11
12// copy ctor
14 DataObject(vtx),
15 m_trackIdList(vtx.m_trackIdList),
16 m_vtx(vtx.m_vtx),
17 m_Evtx(vtx.m_Evtx) {
18 m_isValid = vtx.m_isValid;
19 m_nTracks = vtx.m_nTracks;
20 m_chi2 = vtx.m_chi2;
21 m_ndof = vtx.m_ndof;
22 m_fitMethod = vtx.m_fitMethod;
23}
24
25// assignment operator
27 m_isValid = vtx.m_isValid;
28 m_nTracks = vtx.m_nTracks;
29 m_trackIdList = vtx.m_trackIdList; // FIXME
30 m_chi2 = vtx.m_chi2;
31 m_ndof = vtx.m_ndof;
32 m_fitMethod = vtx.m_fitMethod;
33 m_vtx = vtx.m_vtx;
34 m_Evtx = vtx.m_Evtx;
35 return *this;
36}
EvtRecPrimaryVertex & operator=(const EvtRecPrimaryVertex &)