test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LinTrackCache.h
Go to the documentation of this file.
1 #ifndef _LinTrackCache_H_
2 #define _LinTrackCache_H_
3 
4 #include <map>
9 
11 {
12 private:
13  struct Comparer
14  {
15  bool operator() ( const GlobalPoint &, const GlobalPoint & );
16  };
17 
18  struct Vicinity
19  {
20  bool operator() ( const GlobalPoint &, const GlobalPoint & );
21  };
22 
23 public:
24 
26 
33  void clear();
34 
35 private:
36  typedef std::map < reco::TransientTrack, RefCountedLinearizedTrackState > LinTrkMap;
37  typedef std::map < reco::TransientTrack, bool > HasLinTrkMap;
38  std::map < GlobalPoint, LinTrkMap, Vicinity > theLinTracks;
39  std::map < GlobalPoint, HasLinTrkMap, Vicinity > theHasLinTrack;
40 };
41 
42 #endif
bool operator()(const GlobalPoint &, const GlobalPoint &)
ReferenceCountingPointer< LinearizedTrackState< 5 > > RefCountedLinearizedTrackState
Definition: LinTrackCache.h:25
std::map< reco::TransientTrack, RefCountedLinearizedTrackState > LinTrkMap
Definition: LinTrackCache.h:36
bool operator()(const GlobalPoint &, const GlobalPoint &)
std::map< reco::TransientTrack, bool > HasLinTrkMap
Definition: LinTrackCache.h:37
RefCountedLinearizedTrackState linTrack(const GlobalPoint &, const reco::TransientTrack &)
std::map< GlobalPoint, LinTrkMap, Vicinity > theLinTracks
Definition: LinTrackCache.h:38
std::map< GlobalPoint, HasLinTrkMap, Vicinity > theHasLinTrack
Definition: LinTrackCache.h:39