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

Go to the documentation of this file.
00001 #include "EvtRecEvent/EvtRecDTag.h"
00002 
00003 EvtRecDTag::EvtRecDTag() :
00004     m_decayMode(kUnknown),
00005     m_type(Default),
00006     m_beamE(0),
00007     m_mass(0),
00008     m_mBC(0),
00009     m_deltaE(0),
00010     m_charge(0),
00011     m_charm(0),
00012     m_numOfChildren(0),
00013     m_p4(0)
00014 {
00015   m_tracks.clear();
00016   m_showers.clear();
00017   m_otherTracks.clear();
00018   m_otherShowers.clear();
00019   m_pionId.clear();
00020   m_kaonId.clear();
00021   m_ksmass.clear();
00022   m_vfitchi2.clear();
00023   m_vfitlength.clear();
00024   m_vfiterror.clear();
00025 }
00026 
00027 // copy ctor
00028 EvtRecDTag::EvtRecDTag(const EvtRecDTag& dtag) :
00029     ContainedObject(dtag),
00030     m_decayMode(dtag.m_decayMode),
00031     m_type(dtag.m_type),
00032     m_beamE(dtag.m_beamE),
00033     m_mass(dtag.m_mass),
00034     m_mBC(dtag.m_mBC),
00035     m_deltaE(dtag.m_deltaE),
00036     m_charge(dtag.m_charge),
00037     m_charm(dtag.m_charm),
00038     m_numOfChildren(dtag.m_numOfChildren),
00039     m_p4(dtag.m_p4),
00040     m_tracks(dtag.m_tracks),
00041     m_showers(dtag.m_showers),
00042     m_otherTracks(dtag.m_otherTracks),
00043     m_otherShowers(dtag.m_otherShowers),
00044     m_pionId(dtag.m_pionId),
00045     m_kaonId(dtag.m_kaonId),
00046     m_ksmass(dtag.m_ksmass),
00047     m_vfitchi2(dtag.m_vfitchi2),
00048     m_vfitlength(dtag.m_vfitlength),
00049     m_vfiterror(dtag.m_vfiterror)
00050 {
00051 }
00052 
00053 // assignment operator
00054 EvtRecDTag& EvtRecDTag::operator=(const EvtRecDTag & dtag) {
00055   this->ContainedObject::operator=(dtag);
00056   m_decayMode=dtag.m_decayMode;
00057   m_type=dtag.m_type;
00058   m_beamE=dtag.m_beamE;
00059   m_mass=dtag.m_mass;
00060   m_mBC=dtag.m_mBC;
00061   m_deltaE=dtag.m_deltaE;
00062   m_charge=dtag.m_charge;
00063   m_charm=dtag.m_charm;
00064   m_numOfChildren=dtag.m_numOfChildren;
00065   m_p4=dtag.m_p4;
00066   m_tracks=dtag.m_tracks;
00067   m_showers=dtag.m_showers;
00068   m_otherTracks=dtag.m_otherTracks;
00069   m_otherShowers=dtag.m_otherShowers;
00070   m_pionId=dtag.m_pionId;
00071   m_kaonId=dtag.m_kaonId;
00072   m_ksmass=dtag.m_ksmass;
00073   m_vfitchi2=dtag.m_vfitchi2;
00074   m_vfitlength=dtag.m_vfitlength;
00075   m_vfiterror=dtag.m_vfiterror;
00076   return *this;
00077 }

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