BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtRecVeeVertex.cxx
Go to the documentation of this file.
1#include "EvtRecEvent/EvtRecVeeVertex.h"
2
4 m_w(7, 0),
5 m_Ew(7, 0),
6 m_pair(-1, -1),
7 m_daughters(SmartRef<EvtRecTrack>((EvtRecTrack*)0), SmartRef<EvtRecTrack>((EvtRecTrack*)0)) {
8 m_vertexId = -1;
9 m_vertexType = -1;
10 m_chi2 = 999.9;
11 m_ndof = -3;
12 m_mass = 0.;
13 m_nCharge = -1;
14 m_nTracks = -1;
15}
16
17// copy ctor
19 ContainedObject(vtx),
20 m_w(vtx.m_w),
21 m_Ew(vtx.m_Ew),
22 m_pair(vtx.m_pair),
23 m_daughters(vtx.m_daughters) {
24 m_vertexId = vtx.m_vertexId;
25 m_vertexType = vtx.m_vertexType;
26 m_chi2 = vtx.m_chi2;
27 m_ndof = vtx.m_ndof;
28 m_mass = vtx.m_mass;
29 m_nCharge = vtx.m_nCharge;
30 m_nTracks = vtx.m_nTracks;
31}
32
33// assignment operator
35 this->ContainedObject::operator=(vtx);
36 m_w = vtx.m_w;
37 m_Ew = vtx.m_Ew;
38 m_pair = vtx.m_pair;
39 m_daughters = vtx.m_daughters;
40 m_vertexId = vtx.m_vertexId;
41 m_vertexType = vtx.m_vertexType;
42 m_chi2 = vtx.m_chi2;
43 m_ndof = vtx.m_ndof;
44 m_mass = vtx.m_mass;
45 m_nCharge = vtx.m_nCharge;
46 m_nTracks = vtx.m_nTracks;
47 return *this;
48}
EvtRecVeeVertex & operator=(const EvtRecVeeVertex &)