/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/MdcPatRec/MdcTrkRecon/MdcTrkRecon-00-03-45/src/MdcHitDict.cxx

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 // File and Version Information:
00003 //      $Id: MdcHitDict.cxx,v 1.1.1.1 2005/04/21 06:23:43 maqm Exp $
00004 //
00005 // Description:
00006 //     
00007 //
00008 // Environment:
00009 //      Software developed for the BaBar Detector at the SLAC B-Factory.
00010 //
00011 // Author(s): Steve Schaffner
00012 //
00013 //------------------------------------------------------------------------
00014 #include "MdcTrkRecon/MdcHitDict.h"
00015 #include "MdcData/MdcHit.h"
00016 #include "MdcTrkRecon/MdcSegUsage.h"
00017 
00018 //------------------------------------------------------------------------
00019 MdcHitDict::MdcHitDict() //: m_segUsage(hashFun, 1009)
00020 //------------------------------------------------------------------------
00021 {}
00022 
00023 //------------------------------------------------------------------------
00024 MdcHitDict::~MdcHitDict()
00025 //------------------------------------------------------------------------
00026 {}
00027 
00028 
00029 //------------------------------------------------------------------------
00030 MdcSegUsage* 
00031 MdcHitDict::get(const MdcHit* theHit) const {
00032 //------------------------------------------------------------------------
00033 //  return m_segUsage.findValue(theHit);
00034   return (*m_segUsage.find(theHit)).second;
00035  
00036 }
00037 
00038 //------------------------------------------------------------------------
00039 void 
00040 MdcHitDict::put(MdcHit* theHit, MdcSegUsage* theAux) {
00041 //------------------------------------------------------------------------
00042 //  m_segUsage.insertKeyAndValue(theHit, theAux);
00043   m_segUsage[theHit] = theAux;
00044 }
00045 
00046 //------------------------------------------------------------------------
00047 void 
00048 MdcHitDict::clear() {
00049 //------------------------------------------------------------------------
00050   m_segUsage.clear();
00051 }

Generated on Tue Nov 29 23:13:33 2016 for BOSS_7.0.2 by  doxygen 1.4.7