CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/RecoPixelVertexing/PixelTriplets/interface/OrderedHitTriplet.h

Go to the documentation of this file.
00001 #ifndef OrderedHitTriplet_H
00002 #define OrderedHitTriplet_H 
00003 
00004 
00009 #include "RecoTracker/TkHitPairs/interface/OrderedHitPair.h"
00010 #include "RecoTracker/TkSeedingLayers/interface/SeedingHitSet.h"
00011 
00012 class OrderedHitTriplet : public SeedingHitSet {
00013 
00014 public:
00015 
00016   typedef SeedingHitSet::ConstRecHitPointer InnerRecHit;
00017   typedef SeedingHitSet::ConstRecHitPointer OuterRecHit;
00018   typedef SeedingHitSet::ConstRecHitPointer MiddleRecHit;
00019 
00020 
00021   OrderedHitTriplet( const InnerRecHit & ih, const MiddleRecHit & mh, const OuterRecHit & oh) : SeedingHitSet(ih,mh,oh){}
00022 
00023   const InnerRecHit  &  inner() const { return get(0); }
00024   const MiddleRecHit & middle() const { return get(1); }
00025   const OuterRecHit  &  outer() const { return get(2); }
00026 
00027 };
00028 
00029 #endif