Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:28:50

0001 #ifndef OrderedHitPair_H
0002 #define OrderedHitPair_H
0003 
0004 #include "RecoTracker/TkSeedingLayers/interface/SeedingHitSet.h"
0005 
0006 class OrderedHitPair : public SeedingHitSet {
0007 public:
0008   typedef SeedingHitSet::ConstRecHitPointer OuterRecHit;
0009   typedef SeedingHitSet::ConstRecHitPointer InnerRecHit;
0010 
0011   OrderedHitPair() {}
0012   OrderedHitPair(const InnerRecHit& ih, const OuterRecHit& oh) : SeedingHitSet(ih, oh) {}
0013 
0014   InnerRecHit inner() const { return get(0); }
0015   OuterRecHit outer() const { return get(1); }
0016 };
0017 
0018 #endif