CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
OrderedHitPair.h
Go to the documentation of this file.
1 #ifndef OrderedHitPair_H
2 #define OrderedHitPair_H
3 
5 
6 
7 class OrderedHitPair : public SeedingHitSet {
8 public:
9 
12 
13  OrderedHitPair( const InnerRecHit & ih, const OuterRecHit & oh)
14  {
15  theRecHits.push_back(ih);
16  theRecHits.push_back(oh);
17  }
18 
19  virtual ~OrderedHitPair() {}
20 
21  const InnerRecHit & inner() const { return theRecHits.front(); }
22  const OuterRecHit & outer() const { return theRecHits.back(); }
23 };
24 
25 #endif
26 
RecHits theRecHits
Definition: SeedingHitSet.h:21
const InnerRecHit & inner() const
TransientTrackingRecHit::ConstRecHitPointer OuterRecHit
const OuterRecHit & outer() const
OrderedHitPair(const InnerRecHit &ih, const OuterRecHit &oh)
virtual ~OrderedHitPair()
TransientTrackingRecHit::ConstRecHitPointer InnerRecHit