RecoPixelVertexing
PixelTriplets
interface
OrderedHitTriplet.h
Go to the documentation of this file.
1
#ifndef OrderedHitTriplet_H
2
#define OrderedHitTriplet_H
3
8
#include "
RecoTracker/TkHitPairs/interface/OrderedHitPair.h
"
9
#include "
RecoTracker/TkSeedingLayers/interface/SeedingHitSet.h
"
10
11
class
OrderedHitTriplet
:
public
SeedingHitSet
{
12
public
:
13
typedef
SeedingHitSet::ConstRecHitPointer
InnerRecHit
;
14
typedef
SeedingHitSet::ConstRecHitPointer
OuterRecHit
;
15
typedef
SeedingHitSet::ConstRecHitPointer
MiddleRecHit
;
16
17
OrderedHitTriplet
(
const
InnerRecHit
& ih,
const
MiddleRecHit
& mh,
const
OuterRecHit
& oh) :
SeedingHitSet
(ih, mh, oh) {}
18
19
InnerRecHit
inner
()
const
{
return
get
(0); }
20
MiddleRecHit
middle
()
const
{
return
get
(1); }
21
OuterRecHit
outer
()
const
{
return
get
(2); }
22
};
23
24
#endif
SeedingHitSet
Definition:
SeedingHitSet.h:6
OrderedHitPair.h
SeedingHitSet::ConstRecHitPointer
BaseTrackerRecHit const * ConstRecHitPointer
Definition:
SeedingHitSet.h:10
OrderedHitTriplet::OrderedHitTriplet
OrderedHitTriplet(const InnerRecHit &ih, const MiddleRecHit &mh, const OuterRecHit &oh)
Definition:
OrderedHitTriplet.h:17
OrderedHitTriplet::InnerRecHit
SeedingHitSet::ConstRecHitPointer InnerRecHit
Definition:
OrderedHitTriplet.h:13
SeedingHitSet::get
ConstRecHitPointer get(unsigned int i) const
Definition:
SeedingHitSet.h:43
SeedingHitSet.h
OrderedHitTriplet::middle
MiddleRecHit middle() const
Definition:
OrderedHitTriplet.h:20
OrderedHitTriplet::MiddleRecHit
SeedingHitSet::ConstRecHitPointer MiddleRecHit
Definition:
OrderedHitTriplet.h:15
OrderedHitTriplet::OuterRecHit
SeedingHitSet::ConstRecHitPointer OuterRecHit
Definition:
OrderedHitTriplet.h:14
OrderedHitTriplet::outer
OuterRecHit outer() const
Definition:
OrderedHitTriplet.h:21
OrderedHitTriplet::inner
InnerRecHit inner() const
Definition:
OrderedHitTriplet.h:19
OrderedHitTriplet
Definition:
OrderedHitTriplet.h:11
Generated for CMSSW Reference Manual by
1.8.16