Skip to content

Commit

Permalink
clang checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodozov committed Jul 17, 2020
1 parent 4047512 commit 74e3488
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Validation/Geometry/src/MaterialBudgetHcal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
#include "G4Track.hh"

#include <iostream>
#include <memory>


MaterialBudgetHcal::MaterialBudgetHcal(const edm::ParameterSet& p) {
edm::ParameterSet m_p = p.getParameter<edm::ParameterSet>("MaterialBudgetHcal");
Expand All @@ -25,11 +27,11 @@ MaterialBudgetHcal::MaterialBudgetHcal(const edm::ParameterSet& p) {
edm::LogVerbatim("MaterialBudget") << "MaterialBudgetHcal initialized with rMax " << rMax_ << " mm and zMax " << zMax_
<< " mm doHcal is set to " << doHcal;
if (doHcal) {
theHistoHcal_.reset(new MaterialBudgetHcalHistos(m_p));
theHistoHcal_ = std::make_unique<MaterialBudgetHcalHistos>(m_p);
theHistoCastor_.reset(nullptr);
} else {
theHistoHcal_.reset(nullptr);
theHistoCastor_.reset(new MaterialBudgetCastorHistos(m_p));
theHistoCastor_ = std::make_unique<MaterialBudgetCastorHistos>(m_p);
}
}

Expand Down

0 comments on commit 74e3488

Please sign in to comment.