Go to the documentation of this file.00001 #include "PixelForwardLayerBuilder.h"
00002 #include "PixelBladeBuilder.h"
00003
00004 using namespace edm;
00005 using namespace std;
00006
00007 PixelForwardLayer* PixelForwardLayerBuilder::build(const GeometricDet* aPixelForwardLayer,
00008 const TrackerGeometry* theGeomDetGeometry){
00009 vector<const GeometricDet*> theGeometricPanels = aPixelForwardLayer->components();
00010 int panelsSize = theGeometricPanels.size();
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
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 }