CMS 3D CMS Logo

LayerWithHits.cc

Go to the documentation of this file.
00001 #include "RecoTracker/TkHitPairs/interface/LayerWithHits.h"
00002 
00003 LayerWithHits::LayerWithHits( const DetLayer *dl,const SiPixelRecHitCollection::range range){
00004   theDetLayer = dl;
00005   for(SiPixelRecHitCollection::const_iterator it = range.first; it != range.second; it++){
00006     theHits.push_back( &(*it) );
00007   }
00008 }
00009 
00010 LayerWithHits::LayerWithHits( const DetLayer *dl,const SiStripRecHit2DCollection::range range){
00011   theDetLayer = dl;
00012   for(SiStripRecHit2DCollection::const_iterator it = range.first; it != range.second; it++){
00013     theHits.push_back( &(*it) );
00014   }
00015 }
00016 
00017 LayerWithHits::LayerWithHits( const DetLayer *dl,const SiStripMatchedRecHit2DCollection::range range){
00018   theDetLayer = dl;
00019   for(SiStripMatchedRecHit2DCollection::const_iterator it = range.first; it != range.second; it++){
00020     theHits.push_back( &(*it) );
00021   }
00022 }

Generated on Tue Jun 9 17:45:51 2009 for CMSSW by  doxygen 1.5.4