CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/src/RecoTracker/TkHitPairs/interface/OrderedHitPair.h

Go to the documentation of this file.
00001 #ifndef OrderedHitPair_H
00002 #define OrderedHitPair_H
00003 
00004 #include "RecoTracker/TkSeedingLayers/interface/SeedingHitSet.h"
00005 
00006 
00007 class OrderedHitPair : public SeedingHitSet {
00008 public:
00009 
00010   typedef SeedingHitSet::ConstRecHitPointer OuterRecHit; 
00011   typedef SeedingHitSet::ConstRecHitPointer InnerRecHit; 
00012 
00013   OrderedHitPair( const InnerRecHit & ih, const OuterRecHit & oh) : SeedingHitSet(ih, oh){}
00014  
00015   const InnerRecHit & inner() const { return get(0); }
00016   const OuterRecHit & outer() const { return get(1); } 
00017 };
00018 
00019 #endif
00020