Skip to content

Commit

Permalink
Did the debug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rodwyer100 committed Sep 24, 2024
1 parent db9a6f2 commit d043091
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions TrigScint/src/TrigScint/TrigScintFirmwareHitProducer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ void TrigScintFirmwareHitProducer::produce(framework::Event &event) {
const auto rechits{event.getCollection<ldmx::TrigScintHit>(testCollection_,
inputPassName_)};
for (const auto &hit : rechits) {
std::cout << "Analysis barID: " << hit.getBarID()
<< ", PE Number: " << hit.getPE() << std::endl;
ldmx_log(debug) << "Analysis barID: " << hit.getBarID()
<< ", PE Number: " << hit.getPE();
}
}
const auto digis{event.getCollection<trigscint::TrigScintQIEDigis>(
Expand Down Expand Up @@ -76,8 +76,8 @@ void TrigScintFirmwareHitProducer::produce(framework::Event &event) {
for (int i = 0; i < NHITS; i++) {
if (outHit[i].Amp >= 3) {
if (verbose_) {
std::cout << "Firmware barID: " << outHit[i].bID
<< ", PE Number: " << outHit[i].Amp << std::endl;
ldmx_log(debug) << "Firmware barID: " << outHit[i].bID
<< ", PE Number: " << outHit[i].Amp;
}
ldmx::TrigScintHit hit;
hit.setModuleID(outHit[i].mID);
Expand Down

0 comments on commit d043091

Please sign in to comment.