#include <LayerWithHits.h>
Public Member Functions | |
const DetLayer * | layer () const |
template<typename DSTV , typename SEL > | |
LayerWithHits (const DetLayer *dl, DSTV const &allhits, SEL const &sel) | |
LayerWithHits (const DetLayer *dl, std::vector< const TrackingRecHit * > theInputHits) | |
const std::vector< const TrackingRecHit * > & | recHits () const |
return the recHits of the Layer | |
~LayerWithHits () | |
Private Attributes | |
const DetLayer * | theDetLayer |
std::vector< const TrackingRecHit * > | theHits |
Definition at line 12 of file LayerWithHits.h.
LayerWithHits::LayerWithHits | ( | const DetLayer * | dl, |
std::vector< const TrackingRecHit * > | theInputHits | ||
) | [inline] |
Definition at line 15 of file LayerWithHits.h.
: theDetLayer(dl),theHits(theInputHits){}
LayerWithHits::LayerWithHits | ( | const DetLayer * | dl, |
DSTV const & | allhits, | ||
SEL const & | sel | ||
) | [inline] |
Usage: TrackerLayerIdAccessor acc; LayerWithHits( theLayer, collrphi, acc.stripTIBLayer(1) );
Definition at line 22 of file LayerWithHits.h.
References edmNew::copyDetSetRange(), theDetLayer, and theHits.
{ theDetLayer = dl; edmNew::copyDetSetRange(allhits,theHits,sel); }
LayerWithHits::~LayerWithHits | ( | ) | [inline] |
Definition at line 32 of file LayerWithHits.h.
{}
const DetLayer* LayerWithHits::layer | ( | ) | const [inline] |
Definition at line 38 of file LayerWithHits.h.
References theDetLayer.
Referenced by CosmicHitPairGeneratorFromLayerPair::hitPairs(), and CosmicHitTripletGeneratorFromLayerTriplet::hitTriplets().
{return theDetLayer;}
const std::vector<const TrackingRecHit*>& LayerWithHits::recHits | ( | void | ) | const [inline] |
return the recHits of the Layer
Definition at line 35 of file LayerWithHits.h.
References theHits.
Referenced by CosmicHitPairGeneratorFromLayerPair::hitPairs(), and CosmicHitTripletGeneratorFromLayerTriplet::hitTriplets().
{return theHits;}
const DetLayer* LayerWithHits::theDetLayer [private] |
Definition at line 41 of file LayerWithHits.h.
Referenced by layer(), and LayerWithHits().
std::vector<const TrackingRecHit*> LayerWithHits::theHits [private] |
Definition at line 42 of file LayerWithHits.h.
Referenced by LayerWithHits(), and recHits().