#include <MdcHitDict.h>
Public Member Functions | |
MdcHitDict () | |
virtual | ~MdcHitDict () |
MdcSegUsage * | get (const MdcHit *) const |
void | put (MdcHit *, MdcSegUsage *) |
void | clear () |
Private Member Functions | |
MdcHitDict & | operator= (const MdcHitDict &) |
MdcHitDict (const MdcHitDict &) | |
Private Attributes | |
std::map< const MdcHit *, MdcSegUsage * > | m_segUsage |
Definition at line 24 of file MdcHitDict.h.
MdcHitDict::MdcHitDict | ( | ) |
Definition at line 19 of file MdcHitDict.cxx.
00019 : m_segUsage(hashFun, 1009) 00020 //------------------------------------------------------------------------ 00021 {}
MdcHitDict::~MdcHitDict | ( | ) | [virtual] |
MdcHitDict::MdcHitDict | ( | const MdcHitDict & | ) | [private] |
void MdcHitDict::clear | ( | ) |
Definition at line 48 of file MdcHitDict.cxx.
References m_segUsage.
00048 { 00049 //------------------------------------------------------------------------ 00050 m_segUsage.clear(); 00051 }
MdcSegUsage * MdcHitDict::get | ( | const MdcHit * | ) | const |
Definition at line 31 of file MdcHitDict.cxx.
References m_segUsage, and EvtCyclic3::second().
00031 { 00032 //------------------------------------------------------------------------ 00033 // return m_segUsage.findValue(theHit); 00034 return (*m_segUsage.find(theHit)).second; 00035 00036 }
MdcHitDict& MdcHitDict::operator= | ( | const MdcHitDict & | ) | [private] |
void MdcHitDict::put | ( | MdcHit * | , | |
MdcSegUsage * | ||||
) |
Definition at line 40 of file MdcHitDict.cxx.
References m_segUsage.
00040 { 00041 //------------------------------------------------------------------------ 00042 // m_segUsage.insertKeyAndValue(theHit, theAux); 00043 m_segUsage[theHit] = theAux; 00044 }
std::map<const MdcHit *, MdcSegUsage *> MdcHitDict::m_segUsage [private] |