00001 /* 00002 * @class : MdcDedxHit 00003 * 00004 * this class models "dE/dx hit" used in Mdc Reconstruction 00005 * 00006 * @author:xcao 00007 * 00008 * ********************************************************/ 00009 00010 #include "MdcRecEvent/RecMdcDedxHit.h" 00011 00012 RecMdcDedxHit::RecMdcDedxHit() { 00013 m_trkid = -1; 00014 m_lr = 0; 00015 m_pathlength = -1; 00016 m_dedx = 0; 00017 m_mdcid = 0; 00018 m_mdcKalHelixSeg = 0; 00019 m_mdcHit = 0; 00020 } 00021 00022 RecMdcDedxHit::RecMdcDedxHit( const RecMdcDedxHit& recdedxhit ): 00023 m_trkid (recdedxhit.m_trkid), 00024 m_lr (recdedxhit.m_lr), 00025 m_pathlength (recdedxhit.m_pathlength), 00026 m_dedx (recdedxhit.m_dedx), 00027 m_mdcid (recdedxhit.m_mdcid), 00028 m_mdcKalHelixSeg (recdedxhit.m_mdcKalHelixSeg), 00029 m_mdcHit (recdedxhit.m_mdcHit) 00030 { 00031 } 00032 00033 bool 00034 RecMdcDedxHit::isGrouped() { 00035 if(m_trkid == -1 ) return false; 00036 return true; 00037 } 00038 00039 00040 RecMdcDedxHit::~RecMdcDedxHit() { 00041 }