#include <Geometry/TrackerNumberingBuilder/plugins/CmsTrackerLevelBuilder.h>
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 |
Definition at line 15 of file CmsTrackerLevelBuilder.h.
virtual CmsTrackerLevelBuilder::~CmsTrackerLevelBuilder | ( | ) | [inline, virtual] |
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().
Definition at line 184 of file CmsTrackerLevelBuilder.h.
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().