BOSS
7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcHitDict.h
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
// File and Version Information:
3
// $Id: MdcHitDict.h,v 1.1.1.1 2005/04/21 06:23:43 maqm Exp $
4
//
5
// Description:
6
// Dictionary: associates a stored (by pointer) object (in current
7
// implementation, a MdcSegUsage object) with a MdcHit. Given the
8
// hit, it returns the associated object. Uses a RW hash dictionary.
9
//
10
// Environment:
11
// Software developed for the BaBar Detector at the SLAC B-Factory.
12
//
13
// Author(s): Steve Schaffner
14
//
15
//------------------------------------------------------------------------
16
#ifndef MMDCITDICT_H
17
#define MMDCITDICT_H
18
#include "
MdcData/MdcHit.h
"
19
#include "
MdcTrkRecon/MdcSegUsage.h
"
20
21
#include <map>
22
23
// Class interface //
24
class
MdcHitDict
{
25
26
public
:
27
MdcHitDict
();
28
virtual
~MdcHitDict
();
29
MdcSegUsage
*
get
(
const
MdcHit
*)
const
;
30
void
put
(
MdcHit
*,
MdcSegUsage
*);
31
void
clear
();
32
33
private
:
34
//**RWTPtrHashDictionary<DchHit, DchSegUsage> m_segUsage;
35
36
//zhangxy
37
std::map<const MdcHit *, MdcSegUsage *> m_segUsage;
38
39
// Preempt
40
MdcHitDict
& operator= (
const
MdcHitDict
&);
41
MdcHitDict
(
const
MdcHitDict
&);
42
};
43
44
#endif
45
46
47
48
49
50
51
MdcHit.h
MdcSegUsage.h
MdcHitDict
Definition:
MdcHitDict.h:24
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-48
MdcTrkRecon
MdcHitDict.h
Generated by
1.9.6