CMS 3D CMS Logo

Public Member Functions | Private Attributes

LayerWithHits Class Reference

#include <LayerWithHits.h>

List of all members.

Public Member Functions

const DetLayerlayer () 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 DetLayertheDetLayer
std::vector< const
TrackingRecHit * > 
theHits

Detailed Description

Definition at line 12 of file LayerWithHits.h.


Constructor & Destructor Documentation

LayerWithHits::LayerWithHits ( const DetLayer dl,
std::vector< const TrackingRecHit * >  theInputHits 
) [inline]

Definition at line 15 of file LayerWithHits.h.

                                                                                 :
    theDetLayer(dl),theHits(theInputHits){}
template<typename DSTV , typename SEL >
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.

LayerWithHits::~LayerWithHits ( ) [inline]

Definition at line 32 of file LayerWithHits.h.

{}

Member Function Documentation

const DetLayer* LayerWithHits::layer ( ) const [inline]
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;}

Member Data Documentation

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().