CMS 3D CMS Logo

LinTrackCache.h
Go to the documentation of this file.
1 #ifndef _LinTrackCache_H_
2 #define _LinTrackCache_H_
3 
4 #include <map>
9 
11 private:
12  struct Comparer {
13  bool operator()(const GlobalPoint &, const GlobalPoint &) const;
14  };
15 
16  struct Vicinity {
17  bool operator()(const GlobalPoint &, const GlobalPoint &) const;
18  };
19 
20 public:
22 
29  void clear();
30 
31 private:
32  typedef std::map<reco::TransientTrack, RefCountedLinearizedTrackState> LinTrkMap;
33  typedef std::map<reco::TransientTrack, bool> HasLinTrkMap;
34  std::map<GlobalPoint, LinTrkMap, Vicinity> theLinTracks;
35  std::map<GlobalPoint, HasLinTrkMap, Vicinity> theHasLinTrack;
36 };
37 
38 #endif
LinTrackCache::theLinTracks
std::map< GlobalPoint, LinTrkMap, Vicinity > theLinTracks
Definition: LinTrackCache.h:34
LinTrackCache::Vicinity::operator()
bool operator()(const GlobalPoint &, const GlobalPoint &) const
Definition: LinTrackCache.cc:45
LinTrackCache::RefCountedLinearizedTrackState
ReferenceCountingPointer< LinearizedTrackState< 5 > > RefCountedLinearizedTrackState
Definition: LinTrackCache.h:21
ReferenceCountingPointer
Definition: ReferenceCounted.h:60
TransientTrack.h
LinTrackCache
Definition: LinTrackCache.h:10
Point3DBase< float, GlobalTag >
LinTrackCache::linTrack
RefCountedLinearizedTrackState linTrack(const GlobalPoint &, const reco::TransientTrack &)
Definition: LinTrackCache.cc:16
LinTrackCache::clear
void clear()
Definition: LinTrackCache.cc:54
LinTrackCache::HasLinTrkMap
std::map< reco::TransientTrack, bool > HasLinTrkMap
Definition: LinTrackCache.h:33
LinTrackCache::Vicinity
Definition: LinTrackCache.h:16
ReferenceCounted.h
LinTrackCache::Comparer::operator()
bool operator()(const GlobalPoint &, const GlobalPoint &) const
Definition: LinTrackCache.cc:30
reco::TransientTrack
Definition: TransientTrack.h:19
LinTrackCache::LinTrkMap
std::map< reco::TransientTrack, RefCountedLinearizedTrackState > LinTrkMap
Definition: LinTrackCache.h:32
LinTrackCache::~LinTrackCache
~LinTrackCache()
Definition: LinTrackCache.cc:52
LinearizedTrackState.h
GlobalPoint.h
LinTrackCache::Comparer
Definition: LinTrackCache.h:12
LinTrackCache::theHasLinTrack
std::map< GlobalPoint, HasLinTrkMap, Vicinity > theHasLinTrack
Definition: LinTrackCache.h:35