Skip to content

Commit

Permalink
Format/warnings verifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
EinarElen authored and tomeichlersmith committed Oct 31, 2023
1 parent 8c1953e commit 0572c2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion DQM/include/DQM/HcalGeometryVerifier.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions DQM/src/DQM/HcalGeometryVerfifier.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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<unsigned int>(hit.getID())};
const auto position{hit.getPosition()};
auto ok{hit_ok(id, {position[0], position[1], position[2]})};
histograms_.fill("passes_sim", ok);
Expand All @@ -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<unsigned int>(hit.getID())};
auto ok{hit_ok(id, {hit.getXPos(), hit.getYPos(), hit.getZPos()})};
histograms_.fill("passes_rec", ok);
switch (id.section()) {
Expand Down

0 comments on commit 0572c2b

Please sign in to comment.