#include <RecoTracker/TkDetLayers/interface/PixelForwardLayerBuilder.h>
Public Member Functions | |
PixelForwardLayer * | build (const GeometricDet *aPixelForwardLayer, const TrackerGeometry *theGeomDetGeometry) |
PixelForwardLayerBuilder () |
Definition at line 14 of file PixelForwardLayerBuilder.h.
PixelForwardLayerBuilder::PixelForwardLayerBuilder | ( | ) | [inline] |
PixelForwardLayer * PixelForwardLayerBuilder::build | ( | const GeometricDet * | aPixelForwardLayer, | |
const TrackerGeometry * | theGeomDetGeometry | |||
) |
Definition at line 7 of file PixelForwardLayerBuilder.cc.
References PixelBladeBuilder::build(), GeometricDet::components(), and i.
Referenced by GeometricSearchTrackerBuilder::build().
00008 { 00009 vector<const GeometricDet*> theGeometricPanels = aPixelForwardLayer->components(); 00010 int panelsSize = theGeometricPanels.size(); 00011 00012 /* 00013 for(vector<const GeometricDet*>::const_iterator it= theGeometricPanels.begin(); 00014 it!=theGeometricPanels.end();it++){ 00015 00016 edm::LogInfo(TkDetLayers) << "panel.phi(): " << (*it)->positionBounds().phi() << " , " 00017 << "panel.z(): " << (*it)->positionBounds().z() << " , " 00018 << "comp.size(): " << (*it)->components().size() ; 00019 } 00020 */ 00021 00022 //edm::LogInfo(TkDetLayers) << "pixelFwdLayer.panels().size(): " << panelsSize ; 00023 00024 vector<const PixelBlade*> theBlades; 00025 PixelBladeBuilder myBladeBuilder; 00026 00027 for(int i=0; i< (panelsSize/2); i++){ 00028 theBlades.push_back( myBladeBuilder.build( theGeometricPanels[i], 00029 theGeometricPanels[i+(panelsSize/2)], 00030 theGeomDetGeometry ) ); 00031 } 00032 00033 return new PixelForwardLayer(theBlades); 00034 }