From 0572c2b1cc1eed9069afdc9eff06ef873ca150a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Einar=20El=C3=A9n?= Date: Fri, 18 Aug 2023 21:42:12 +0200 Subject: [PATCH] Format/warnings verifiers --- DQM/include/DQM/HcalGeometryVerifier.h | 1 - DQM/src/DQM/HcalGeometryVerfifier.cxx | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/DQM/include/DQM/HcalGeometryVerifier.h b/DQM/include/DQM/HcalGeometryVerifier.h index c49b0954b..b0899d477 100644 --- a/DQM/include/DQM/HcalGeometryVerifier.h +++ b/DQM/include/DQM/HcalGeometryVerifier.h @@ -14,7 +14,6 @@ #include "SimCore/Event/SimCalorimeterHit.h" namespace dqm { - class HcalGeometryVerifier : public framework::Analyzer { public: HcalGeometryVerifier(const std::string &name, framework::Process &process) diff --git a/DQM/src/DQM/HcalGeometryVerfifier.cxx b/DQM/src/DQM/HcalGeometryVerfifier.cxx index b6ca69e95..543d3cc5b 100644 --- a/DQM/src/DQM/HcalGeometryVerfifier.cxx +++ b/DQM/src/DQM/HcalGeometryVerfifier.cxx @@ -19,7 +19,7 @@ void HcalGeometryVerifier::analyze(const framework::Event &event) { hcalRecHitsCollection_, hcalRecHitsPassName_); for (const auto &hit : hcalSimHits) { - const ldmx::HcalID id{hit.getID()}; + const ldmx::HcalID id{static_cast(hit.getID())}; const auto position{hit.getPosition()}; auto ok{hit_ok(id, {position[0], position[1], position[2]})}; histograms_.fill("passes_sim", ok); @@ -42,7 +42,7 @@ void HcalGeometryVerifier::analyze(const framework::Event &event) { } } for (const auto &hit : hcalRecHits) { - const ldmx::HcalID id{hit.getID()}; + const ldmx::HcalID id{static_cast(hit.getID())}; auto ok{hit_ok(id, {hit.getXPos(), hit.getYPos(), hit.getZPos()})}; histograms_.fill("passes_rec", ok); switch (id.section()) {