CMS 3D CMS Logo

Public Types | Public Member Functions

OrderedHitPair Class Reference

#include <OrderedHitPair.h>

Inheritance diagram for OrderedHitPair:
SeedingHitSet

List of all members.

Public Types

typedef
TransientTrackingRecHit::ConstRecHitPointer 
InnerRecHit
typedef
TransientTrackingRecHit::ConstRecHitPointer 
OuterRecHit

Public Member Functions

const InnerRecHitinner () const
 OrderedHitPair (const InnerRecHit &ih, const OuterRecHit &oh)
const OuterRecHitouter () const
virtual ~OrderedHitPair ()

Detailed Description

Definition at line 7 of file OrderedHitPair.h.


Member Typedef Documentation

Definition at line 11 of file OrderedHitPair.h.

Definition at line 10 of file OrderedHitPair.h.


Constructor & Destructor Documentation

OrderedHitPair::OrderedHitPair ( const InnerRecHit ih,
const OuterRecHit oh 
) [inline]

Definition at line 13 of file OrderedHitPair.h.

References SeedingHitSet::theRecHits.

  {
    theRecHits.reserve(2);
    theRecHits.push_back(ih);
    theRecHits.push_back(oh);
  }
virtual OrderedHitPair::~OrderedHitPair ( ) [inline, virtual]

Definition at line 20 of file OrderedHitPair.h.

{}

Member Function Documentation

const InnerRecHit& OrderedHitPair::inner ( ) const [inline]

Definition at line 22 of file OrderedHitPair.h.

References SeedingHitSet::theRecHits.

Referenced by CompareHitPairsY::operator()().

{ return theRecHits.front(); }
const OuterRecHit& OrderedHitPair::outer ( ) const [inline]

Definition at line 23 of file OrderedHitPair.h.

References SeedingHitSet::theRecHits.

Referenced by CompareHitPairsY::operator()().

{ return theRecHits.back(); }