BOSS
8.0.0
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
MdcSegUsage
*
MdcHitDict::get
(
const
MdcHit
* theHit )
const
{
30
//------------------------------------------------------------------------
31
// return m_segUsage.findValue(theHit);
32
return
( *m_segUsage.find( theHit ) ).second;
33
}
34
35
//------------------------------------------------------------------------
36
void
MdcHitDict::put
(
MdcHit
* theHit,
MdcSegUsage
* theAux ) {
37
//------------------------------------------------------------------------
38
// m_segUsage.insertKeyAndValue(theHit, theAux);
39
m_segUsage[theHit] = theAux;
40
}
41
42
//------------------------------------------------------------------------
43
void
MdcHitDict::clear
() {
44
//------------------------------------------------------------------------
45
m_segUsage.clear();
46
}
MdcHitDict::put
void put(MdcHit *, MdcSegUsage *)
Definition
MdcHitDict.cxx:36
MdcHitDict::MdcHitDict
MdcHitDict()
Definition
MdcHitDict.cxx:19
MdcHitDict::get
MdcSegUsage * get(const MdcHit *) const
Definition
MdcHitDict.cxx:29
MdcHitDict::clear
void clear()
Definition
MdcHitDict.cxx:43
MdcHitDict::~MdcHitDict
virtual ~MdcHitDict()
Definition
MdcHitDict.cxx:24
MdcHit
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcData/MdcHit.h:43
MdcSegUsage
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcTrkRecon/MdcSegUsage.h:19
8.0.0
BOSS_Source
Reconstruction
MdcPatRec
MdcTrkRecon
src
MdcHitDict.cxx
Generated by
1.16.1