test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CmsTrackerLevelBuilder.cc
Go to the documentation of this file.
6 
7 
9  DDFilteredView& fv,
11  std::string attribute){
12 
13  LogTrace("GeometricDetBuilding") << 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 first Layer
21 
22  while (doLayers) {
23  buildComponent(fv,tracker,attribute);
24  doLayers = fv.nextSibling(); // go to next layer
25  }
26 
27  fv.parent();
28 
29  sortNS(fv,tracker);
30 }
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 ...
virtual void sortNS(DDFilteredView &, GeometricDet *)
const std::vector< DDGeoHistory > & history() const
virtual void build(DDFilteredView &, GeometricDet *, std::string)
DDName const & name() const
Definition: GeometricDet.h:144
#define LogTrace(id)
bool firstChild()
set the current node to the first child ...
GeometricEnumType type() const
Definition: GeometricDet.h:140
virtual void buildComponent(DDFilteredView &, GeometricDet *, std::string)=0