CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/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 OrderedHitPair::InnerRecHit InnerRecHit;
00017   typedef OrderedHitPair::OuterRecHit OuterRecHit;
00018   typedef TransientTrackingRecHit::ConstRecHitPointer MiddleRecHit;
00019 
00020 
00021   OrderedHitTriplet( const InnerRecHit & ih, const MiddleRecHit & mh, const OuterRecHit & oh) {
00022     add(ih); add(mh); add(oh);
00023   }
00024 
00025   const InnerRecHit  &  inner() const { return theRecHits[0]; }
00026   const MiddleRecHit & middle() const { return theRecHits[1]; }
00027   const OuterRecHit  &  outer() const { return theRecHits[2]; }
00028 
00029 };
00030 
00031 #endif