CMS 3D CMS Logo

CmsMTDLevelBuilder.cc
Go to the documentation of this file.
6 
7 
9  DDFilteredView& fv,
11  std::string attribute){
12 
13  LogTrace("GeometricTimingDetBuilding") << std::string(3*fv.history().size(),'-')
14  << "+ "
15  << ExtractStringFromDDD::getString(attribute,&fv) << " "
16  << tracker->type() << " "
17  << tracker->name()
18  << std::endl;
19 
20  bool doLayers = fv.firstChild(); // descend to the next Layer
21 
22  while (doLayers) {
23  buildComponent(fv,tracker,attribute);
24  doLayers = fv.nextSibling(); // go to the next adjacent thingy
25  }
26 
27  fv.parent();
28 
29  sortNS(fv,tracker);
30 
31 }
static std::string getString(std::string const &, DDFilteredView *)
bool parent()
set the current node to the parent node ...
bool nextSibling()
set the current node to the next sibling ...
GeometricTimingEnumType type() const
const std::vector< DDGeoHistory > & history() const
virtual void sortNS(DDFilteredView &, GeometricTimingDet *)
#define LogTrace(id)
void build(DDFilteredView &, GeometricTimingDet *, std::string) override
virtual void buildComponent(DDFilteredView &, GeometricTimingDet *, std::string)=0
DDName const & name() const
bool firstChild()
set the current node to the first child ...