CMS 3D CMS Logo

CmsTrackerLevelBuilder Class Reference

#include <Geometry/TrackerNumberingBuilder/plugins/CmsTrackerLevelBuilder.h>

Inheritance diagram for CmsTrackerLevelBuilder:

CmsTrackerAbstractConstruction CmsDetConstruction CmsTrackerBuilder CmsTrackerDiskBuilder CmsTrackerLadderBuilder CmsTrackerLayerBuilder CmsTrackerPanelBuilder CmsTrackerPetalBuilder CmsTrackerRingBuilder CmsTrackerRodBuilder CmsTrackerStringBuilder CmsTrackerSubStrctBuilder CmsTrackerWheelBuilder

List of all members.

Public Member Functions

virtual void build (DDFilteredView &, GeometricDet *, std::string)
virtual ~CmsTrackerLevelBuilder ()

Protected Attributes

CmsTrackerStringToEnum theCmsTrackerStringToEnum

Private Member Functions

virtual void buildComponent (DDFilteredView &, GeometricDet *, std::string)=0
virtual void sortNS (DDFilteredView &, GeometricDet *)

Private Attributes

CmsTrackerStringToEnum _CmsTrackerStringToEnum

Classes

struct  ExtractPhi
struct  ExtractPhiGluedModule
struct  ExtractPhiGluedModuleMirror
struct  ExtractPhiMirror
struct  ExtractPhiModule
struct  ExtractPhiModuleMirror
struct  LessModZ
struct  LessR
struct  LessR_module
struct  LessZ
struct  subDetByType


Detailed Description

Definition at line 15 of file CmsTrackerLevelBuilder.h.


Constructor & Destructor Documentation

virtual CmsTrackerLevelBuilder::~CmsTrackerLevelBuilder (  )  [inline, virtual]

Definition at line 18 of file CmsTrackerLevelBuilder.h.

00018 {}


Member Function Documentation

void CmsTrackerLevelBuilder::build ( DDFilteredView fv,
GeometricDet tracker,
std::string  attribute 
) [virtual]

Implements CmsTrackerAbstractConstruction.

Definition at line 7 of file CmsTrackerLevelBuilder.cc.

References buildComponent(), DDFilteredView::firstChild(), DDFilteredView::nextSibling(), DDFilteredView::parent(), and sortNS().

Referenced by CmsTrackerBuilder::buildComponent(), CmsTrackerWheelBuilder::buildComponent(), CmsTrackerSubStrctBuilder::buildComponent(), CmsTrackerLayerBuilder::buildComponent(), CmsTrackerDiskBuilder::buildComponent(), and DDDCmsTrackerContruction::construct().

00010                                                         {
00011 
00012  bool doLayers = fv.firstChild(); // descend to the first Layer  
00013 
00014   while (doLayers) {
00015     buildComponent(fv,tracker,attribute);      
00016     doLayers = fv.nextSibling(); // go to next layer
00017   }
00018 
00019   fv.parent();
00020 
00021  sortNS(fv,tracker);
00022 }

virtual void CmsTrackerLevelBuilder::buildComponent ( DDFilteredView ,
GeometricDet ,
std::string   
) [private, pure virtual]

Implemented in CmsDetConstruction, CmsTrackerBuilder, CmsTrackerDiskBuilder, CmsTrackerLadderBuilder, CmsTrackerLayerBuilder, CmsTrackerPanelBuilder, CmsTrackerPetalBuilder, CmsTrackerRingBuilder, CmsTrackerRodBuilder, CmsTrackerStringBuilder, CmsTrackerSubStrctBuilder, and CmsTrackerWheelBuilder.

Referenced by build().

virtual void CmsTrackerLevelBuilder::sortNS ( DDFilteredView ,
GeometricDet  
) [inline, private, virtual]

Reimplemented in CmsTrackerBuilder, CmsTrackerDiskBuilder, CmsTrackerLadderBuilder, CmsTrackerLayerBuilder, CmsTrackerPanelBuilder, CmsTrackerPetalBuilder, CmsTrackerRingBuilder, CmsTrackerRodBuilder, CmsTrackerStringBuilder, CmsTrackerSubStrctBuilder, and CmsTrackerWheelBuilder.

Definition at line 183 of file CmsTrackerLevelBuilder.h.

Referenced by build().

00183 {}


Member Data Documentation

CmsTrackerStringToEnum CmsTrackerLevelBuilder::_CmsTrackerStringToEnum [private]

Definition at line 184 of file CmsTrackerLevelBuilder.h.

CmsTrackerStringToEnum CmsTrackerLevelBuilder::theCmsTrackerStringToEnum [protected]

Definition at line 181 of file CmsTrackerLevelBuilder.h.

Referenced by CmsTrackerPetalBuilder::buildComponent(), CmsTrackerBuilder::buildComponent(), CmsTrackerWheelBuilder::buildComponent(), CmsTrackerSubStrctBuilder::buildComponent(), CmsDetConstruction::buildComponent(), CmsTrackerLayerBuilder::buildComponent(), CmsTrackerDiskBuilder::buildComponent(), CmsTrackerPanelBuilder::buildComponent(), and CmsDetConstruction::buildSmallDets().


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