/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/EvtRecEvent/EvtRecEvent-00-02-02/src/EvtRecVeeVertex.cxx

Go to the documentation of this file.
00001 #include "EvtRecEvent/EvtRecVeeVertex.h"
00002 
00003 EvtRecVeeVertex::EvtRecVeeVertex() :
00004     m_w(7, 0),
00005     m_Ew(7, 0),
00006     m_pair(-1, -1),
00007     m_daughters(SmartRef<EvtRecTrack>((EvtRecTrack*)0), SmartRef<EvtRecTrack>((EvtRecTrack*)0)) {
00008   m_vertexId = -1;
00009   m_vertexType = -1;
00010   m_chi2 = 999.9;
00011   m_ndof = -3;
00012   m_mass = 0.;
00013   m_nCharge = -1;
00014   m_nTracks = -1;
00015 }
00016 
00017 // copy ctor
00018 EvtRecVeeVertex::EvtRecVeeVertex(const EvtRecVeeVertex& vtx) :
00019     ContainedObject(vtx),
00020     m_w(vtx.m_w),
00021     m_Ew(vtx.m_Ew),
00022     m_pair(vtx.m_pair),
00023     m_daughters(vtx.m_daughters) {
00024   m_vertexId = vtx.m_vertexId;
00025   m_vertexType = vtx.m_vertexType;
00026   m_chi2 = vtx.m_chi2; 
00027   m_ndof = vtx.m_ndof; 
00028   m_mass = vtx.m_mass;
00029   m_nCharge = vtx.m_nCharge;
00030   m_nTracks = vtx.m_nTracks;
00031 }
00032 
00033 // assignment operator
00034 EvtRecVeeVertex& EvtRecVeeVertex::operator=(const EvtRecVeeVertex & vtx) {
00035   this->ContainedObject::operator=(vtx);
00036   m_w = vtx.m_w;
00037   m_Ew = vtx.m_Ew;
00038   m_pair = vtx.m_pair;
00039   m_daughters = vtx.m_daughters;
00040   m_vertexId = vtx.m_vertexId;
00041   m_vertexType = vtx.m_vertexType;
00042   m_chi2 = vtx.m_chi2;
00043   m_ndof = vtx.m_ndof;
00044   m_mass = vtx.m_mass;
00045   m_nCharge = vtx.m_nCharge;
00046   m_nTracks = vtx.m_nTracks;
00047   return *this;
00048 }

Generated on Tue Nov 29 22:58:29 2016 for BOSS_7.0.2 by  doxygen 1.4.7