Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
ianna committed Oct 8, 2020
1 parent ce4ba1b commit b9fc74d
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -71,17 +71,17 @@ void testDDFilteredViewFirstChild::checkFilteredViewFirstChild() {
cms::DDSpecParRefs ref;
mypar.filter(ref, attribute, "MuonChamber");
fview.mergedSpecifics(ref);

fview.firstChild();
std::cout << fview.name() << " is a " << cms::dd::name(cms::DDSolidShapeMap, fview.shape()) << "\n";
std::cout << "Full path to it is " << fview.path() << "\n";
auto copyNos = fview.copyNos();
if (dd4hep::isA<dd4hep::Box>(fview.solid()))
cout << "It's a Box\n";

std::cout << fview.name() << " is a " << cms::dd::name(cms::DDSolidShapeMap, fview.shape()) << "\n";
do {
std::cout << fview.path() << "\n";
} while (fview.nextChild());
std::cout << fview.path() << "\n";
} while (fview.nextChild());
std::cout << "Current node is:\n" << fview.path() << "\n";
}

0 comments on commit b9fc74d

Please sign in to comment.