Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
ianna committed Jan 28, 2020
1 parent b88d10a commit 3fdff93
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions DetectorDescription/DDCMS/src/DDFilteredView.cc
Original file line number Diff line number Diff line change
@@ -68,11 +68,10 @@ const PlacedVolume DDFilteredView::volume() const {
return PlacedVolume(node_);
}

//
//
// This should be used for debug purpose only
//
const std::string
DDFilteredView::path() const {
const std::string DDFilteredView::path() const {
TString fullPath;
it_.back().GetPath(fullPath);
return std::string(fullPath.Data());
@@ -82,14 +81,13 @@ DDFilteredView::path() const {
// The vector is filled from bottom up:
// result[0] contains the current node copy number
//
const std::vector<int>
DDFilteredView::copyNos() const {
const std::vector<int> DDFilteredView::copyNos() const {
std::vector<int> result;

for( int i = it_.back().GetLevel(); i > 0; --i ) {
for (int i = it_.back().GetLevel(); i > 0; --i) {
result.emplace_back(it_.back().GetNode(i)->GetNumber());
}

return result;
}

0 comments on commit 3fdff93

Please sign in to comment.