From 3fdff9381a6edeaef0a8d35d47781926148d2c94 Mon Sep 17 00:00:00 2001 From: Ianna Osborne Date: Tue, 28 Jan 2020 12:04:12 +0100 Subject: [PATCH] code format --- DetectorDescription/DDCMS/src/DDFilteredView.cc | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/DetectorDescription/DDCMS/src/DDFilteredView.cc b/DetectorDescription/DDCMS/src/DDFilteredView.cc index 4dea63624b52a..2211eaebb08d9 100644 --- a/DetectorDescription/DDCMS/src/DDFilteredView.cc +++ b/DetectorDescription/DDCMS/src/DDFilteredView.cc @@ -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 -DDFilteredView::copyNos() const { +const std::vector DDFilteredView::copyNos() const { std::vector 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; }