Skip to content

Commit

Permalink
Fixes for fmt 10
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider committed Jul 15, 2024
1 parent f7de58a commit 232f783
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ void SiPixelPhase1RawDataErrorComparator::bookHistograms(DQMStore::IBooker& iBoo
log10(1000.));

for (const auto& element : errorCodeToStringMap) {
h_nFEDErrors_[element.first] = iBook.book2I(fmt::sprintf("nFED%i_Errors", element.first),
h_nFEDErrors_[element.first] = iBook.book2I(fmt::sprintf("nFED%i_Errors", static_cast<int>(element.first)),
fmt::sprintf("n. of %ss per event; CPU; GPU", element.second),
1000,
-0.5,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void SimTauProducer::buildSimTau(SimTauCPLink& t,
t.calo_particle_leaves.push_back(CaloParticleRef(calo_particle_h, calo_particle_idx));
t.leaves.push_back(
{gen_particle.pdgId(), resonance_idx, (int)t.calo_particle_leaves.size() - 1, gen_particle_key});
LogDebug("SimTauProducer").format(" CP {} {}", calo_particle_idx, caloPartVec[calo_particle_idx]);
LogDebug("SimTauProducer").format(" CP {} {}", calo_particle_idx, caloPartVec[calo_particle_idx].pdgId());
} else {
t.leaves.push_back({gen_particle.pdgId(), resonance_idx, -1, gen_particle_key});
}
Expand Down

0 comments on commit 232f783

Please sign in to comment.