BOSS
6.6.4.p03
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
//------------------------------------------------------------------------
14
#include "
MdcTrkRecon/MdcHitDict.h
"
15
#include "
MdcData/MdcHit.h
"
16
#include "
MdcTrkRecon/MdcSegUsage.h
"
17
18
//------------------------------------------------------------------------
19
MdcHitDict::MdcHitDict
()
//: m_segUsage(hashFun, 1009)
20
//------------------------------------------------------------------------
21
{}
22
23
//------------------------------------------------------------------------
24
MdcHitDict::~MdcHitDict
()
25
//------------------------------------------------------------------------
26
{}
27
28
29
//------------------------------------------------------------------------
30
MdcSegUsage
*
31
MdcHitDict::get
(
const
MdcHit
* theHit)
const
{
32
//------------------------------------------------------------------------
33
// return m_segUsage.findValue(theHit);
34
return
(*m_segUsage.find(theHit)).second;
35
36
}
37
38
//------------------------------------------------------------------------
39
void
40
MdcHitDict::put
(
MdcHit
* theHit,
MdcSegUsage
* theAux) {
41
//------------------------------------------------------------------------
42
// m_segUsage.insertKeyAndValue(theHit, theAux);
43
m_segUsage[theHit] = theAux;
44
}
45
46
//------------------------------------------------------------------------
47
void
48
MdcHitDict::clear
() {
49
//------------------------------------------------------------------------
50
m_segUsage.clear();
51
}
MdcHitDict.h
MdcHit.h
MdcSegUsage.h
MdcHitDict::put
void put(MdcHit *, MdcSegUsage *)
Definition:
MdcHitDict.cxx:40
MdcHitDict::MdcHitDict
MdcHitDict()
Definition:
MdcHitDict.cxx:19
MdcHitDict::get
MdcSegUsage * get(const MdcHit *) const
Definition:
MdcHitDict.cxx:31
MdcHitDict::clear
void clear()
Definition:
MdcHitDict.cxx:48
MdcHitDict::~MdcHitDict
virtual ~MdcHitDict()
Definition:
MdcHitDict.cxx:24
MdcHit
Definition:
MdcHit.h:44
MdcSegUsage
Definition:
MdcSegUsage.h:19
source
Reconstruction
MdcPatRec
MdcTrkRecon
MdcTrkRecon-00-03-44
src
MdcHitDict.cxx
Generated by
1.9.6