CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
LayerWithHits Class Reference

#include <LayerWithHits.h>

Public Member Functions

const DetLayerlayer () const
 
 LayerWithHits (const DetLayer *dl, const std::vector< const TrackingRecHit * > &theInputHits)
 
template<typename DSTV , typename SEL >
 LayerWithHits (const DetLayer *dl, DSTV const &allhits, SEL const &sel)
 
const std::vector< const
TrackingRecHit * > & 
recHits () const
 return the recHits of the Layer More...
 
 ~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,
const std::vector< const TrackingRecHit * > &  theInputHits 
)
inline

Definition at line 15 of file LayerWithHits.h.

15  :
16  theDetLayer(dl),theHits(theInputHits){}
std::vector< const TrackingRecHit * > theHits
Definition: LayerWithHits.h:42
const DetLayer * theDetLayer
Definition: LayerWithHits.h:41
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(), diclist::dl, theDetLayer, and theHits.

25  {
26  theDetLayer = dl;
28  }
void copyDetSetRange(DSTV const &dstv, std::vector< T const * > &v, std::pair< A, B > const &sel)
std::vector< const TrackingRecHit * > theHits
Definition: LayerWithHits.h:42
tuple dl
Definition: diclist.py:34
const DetLayer * theDetLayer
Definition: LayerWithHits.h:41
LayerWithHits::~LayerWithHits ( )
inline

Definition at line 32 of file LayerWithHits.h.

32 {}

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

35 {return theHits;}
std::vector< const TrackingRecHit * > theHits
Definition: LayerWithHits.h:42

Member Data Documentation

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