Go to the documentation of this file.
15 auto geoInfoRoot = std::make_unique<DetGeomDesc>(fv);
20 edm::LogInfo(
"PPSGeometryESProducer") <<
"Successfully built geometry.";
55 if (fv.
next(0) ==
false) {
56 edm::LogError(
"PPSGeometryESProducer") <<
"Filtered view is empty. Cannot build.";
60 auto geoInfoRoot = std::make_unique<DetGeomDesc>(fv);
66 geoInfoRoot->addComponent(
child);
69 edm::LogInfo(
"PPSGeometryESProducer") <<
"Successfully built geometry, it has " << (geoInfoRoot->components()).
size()
70 <<
" DetGeomDesc nodes.";
void addComponent(DetGeomDesc *)
Log< level::Info, false > LogInfo
bool parent()
set the current node to the parent node ...
void buildDetGeomDescDescendants(DDFilteredView &fv, DetGeomDesc *geoInfoParent)
bool firstChild()
set the current node to the first child ...
Compact representation of the geometrical detector hierarchy.
bool nextSibling()
set the current node to the next sibling ...
dd4hep::Volume worldVolume() const
Handle to the world volume containing everything.
bool next(int)
set current node to the next node in the filtered tree
Log< level::Error, false > LogError
std::unique_ptr< DetGeomDesc > buildDetGeomDescFromCompactView(const DDCompactView &myCompactView)
A DDFilter that always returns true.
const cms::DDDetector * detector() const