CMS 3D CMS Logo

PixelForwardLayerBuilder Class Reference

A concrete builder for PixelForwardLayer. More...

#include <RecoTracker/TkDetLayers/interface/PixelForwardLayerBuilder.h>

List of all members.

Public Member Functions

PixelForwardLayerbuild (const GeometricDet *aPixelForwardLayer, const TrackerGeometry *theGeomDetGeometry)
 PixelForwardLayerBuilder ()


Detailed Description

A concrete builder for PixelForwardLayer.

Definition at line 14 of file PixelForwardLayerBuilder.h.


Constructor & Destructor Documentation

PixelForwardLayerBuilder::PixelForwardLayerBuilder (  )  [inline]

Definition at line 16 of file PixelForwardLayerBuilder.h.

00016 {};


Member Function Documentation

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 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:30:02 2009 for CMSSW by  doxygen 1.5.4