BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcTrkRecon/MdcTrkRecon-00-03-48/MdcTrkRecon/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 //
24class MdcHitDict {
25
26public:
28 virtual ~MdcHitDict();
29 MdcSegUsage* get(const MdcHit*) const;
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 *)
virtual ~MdcHitDict()
MdcSegUsage * get(const MdcHit *) const
void clear()