CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/RecoTracker/TkHitPairs/interface/OrderedHitPairs.h

Go to the documentation of this file.
00001 #ifndef OrderedHitPairs_H
00002 #define OrderedHitPairs_H
00003 
00004 #include "RecoTracker/TkHitPairs/interface/OrderedHitPair.h"
00005 #include "RecoTracker/TkSeedingLayers/interface/OrderedSeedingHits.h"
00006 #include <vector>
00007 
00008 class OrderedHitPairs : public std::vector<OrderedHitPair>, public OrderedSeedingHits {
00009 public:
00010 
00011   virtual ~OrderedHitPairs(){}
00012 
00013   virtual unsigned int size() const { return std::vector<OrderedHitPair>::size(); }
00014 
00015   virtual const OrderedHitPair& operator[](unsigned int i) const { 
00016     return std::vector<OrderedHitPair>::operator[](i); 
00017   }
00018 
00019 };
00020 #endif