Skip to content

Commit

Permalink
clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodozov committed Jul 17, 2020
1 parent c4b700b commit 962a881
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Fireworks/Core/src/CmsShowMain.cc
Original file line number Diff line number Diff line change
Expand Up @@ -563,8 +563,8 @@ void CmsShowMain::appendData() {

void CmsShowMain::openDataViaURL() {
if (m_searchFiles.get() == nullptr) {
m_searchFiles = std::make_unique<CmsShowSearchFiles>(
"", "Open Remote Data Files", guiManager()->getMainFrame(), 500, 400);
m_searchFiles =
std::make_unique<CmsShowSearchFiles>("", "Open Remote Data Files", guiManager()->getMainFrame(), 500, 400);
m_searchFiles->CenterOnParent(kTRUE, TGTransientFrame::kBottomRight);
}
std::string chosenFile = m_searchFiles->chooseFileFromURL();
Expand Down
1 change: 0 additions & 1 deletion Fireworks/Core/src/CmsShowMainBase.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <functional>
#include <memory>


#include "TGLWidget.h"
#include "TGMsgBox.h"
#include "TROOT.h"
Expand Down
4 changes: 2 additions & 2 deletions Fireworks/Core/src/FWGeometry.cc
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ void FWGeometry::loadMap(const char* iFileName) {
TNamed* ttopology = static_cast<TNamed*>(file->Get("TrackerTopology"));
if (ttopology) {
std::string xml = ttopology->GetTitle();
m_trackerTopology = std::make_unique<TrackerTopology>(
StandaloneTrackerTopology::fromTrackerParametersXMLString(xml));
m_trackerTopology =
std::make_unique<TrackerTopology>(StandaloneTrackerTopology::fromTrackerParametersXMLString(xml));
}

file->Close();
Expand Down
4 changes: 2 additions & 2 deletions Fireworks/ParticleFlow/plugins/FWPFCandidateDetailView.cc
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ void FWPFCandidateDetailView::addHits(const std::vector<reco::PFRecHit>* hits) {

std::vector<TEveVector> hc;
hc.reserve(4);
for (int k = 0; k < 4; ++k) {
for (int k = 0; k < 4; ++k) {
hc.push_back(TEveVector(corners[k].eta(), corners[k].phi(), 0));
// ps->SetNextPoint(corners[k].eta(),corners[k].phi(),0 ); //debug
}
Expand All @@ -369,7 +369,7 @@ void FWPFCandidateDetailView::addHits(const std::vector<reco::PFRecHit>* hits) {

std::vector<TEveVector> radialVectors;
radialVectors.reserve(4);
for (int k = 0; k < 4; ++k)
for (int k = 0; k < 4; ++k)
radialVectors.push_back(TEveVector(hc[k] - centerOfGravity));

float factor = 1;
Expand Down

0 comments on commit 962a881

Please sign in to comment.