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()) {