BOSS 6.6.4.p03
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"
20
21#include <map>
22
23// Class interface //
25
26public:
27 MdcHitDict();
28 virtual ~MdcHitDict();
29 MdcSegUsage* get(const MdcHit*) const;
30 void put(MdcHit*, MdcSegUsage*);
31 void clear();
32
33private:
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
void put(MdcHit *, MdcSegUsage *)
Definition: MdcHitDict.cxx:40
MdcSegUsage * get(const MdcHit *) const
Definition: MdcHitDict.cxx:31
void clear()
Definition: MdcHitDict.cxx:48
virtual ~MdcHitDict()
Definition: MdcHitDict.cxx:24
Definition: MdcHit.h:44