CGEM BOSS
6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtRecPrimaryVertex.cxx
Go to the documentation of this file.
1
#include "
EvtRecEvent/EvtRecPrimaryVertex.h
"
2
3
EvtRecPrimaryVertex::EvtRecPrimaryVertex
() :
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
13
EvtRecPrimaryVertex::EvtRecPrimaryVertex
(
const
EvtRecPrimaryVertex
& vtx) :
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
26
EvtRecPrimaryVertex
&
EvtRecPrimaryVertex:: operator =
(
const
EvtRecPrimaryVertex
& vtx) {
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.h
EvtRecPrimaryVertex
Definition
EvtRecPrimaryVertex.h:22
EvtRecPrimaryVertex::operator=
EvtRecPrimaryVertex & operator=(const EvtRecPrimaryVertex &)
Definition
EvtRecPrimaryVertex.cxx:26
EvtRecPrimaryVertex::EvtRecPrimaryVertex
EvtRecPrimaryVertex()
Definition
EvtRecPrimaryVertex.cxx:3
6.6.5.i
Event
EvtRecEvent
EvtRecEvent-00-02-03
src
EvtRecPrimaryVertex.cxx
Generated by
1.12.0