BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcHitDict.cxx
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: MdcHitDict.cxx,v 1.1.1.1 2005/04/21 06:23:43 maqm Exp $
4//
5// Description:
6//
7//
8// Environment:
9// Software developed for the BaBar Detector at the SLAC B-Factory.
10//
11// Author(s): Steve Schaffner
12//
13//------------------------------------------------------------------------
15#include "MdcData/MdcHit.h"
17
18//------------------------------------------------------------------------
19MdcHitDict::MdcHitDict() //: m_segUsage(hashFun, 1009)
20//------------------------------------------------------------------------
21{}
22
23//------------------------------------------------------------------------
25//------------------------------------------------------------------------
26{}
27
28
29//------------------------------------------------------------------------
31MdcHitDict::get(const MdcHit* theHit) const {
32//------------------------------------------------------------------------
33// return m_segUsage.findValue(theHit);
34 return (*m_segUsage.find(theHit)).second;
35
36}
37
38//------------------------------------------------------------------------
39void
41//------------------------------------------------------------------------
42// m_segUsage.insertKeyAndValue(theHit, theAux);
43 m_segUsage[theHit] = theAux;
44}
45
46//------------------------------------------------------------------------
47void
49//------------------------------------------------------------------------
50 m_segUsage.clear();
51}
void put(MdcHit *, MdcSegUsage *)
MdcSegUsage * get(const MdcHit *) const
void clear()
virtual ~MdcHitDict()