Skip to content

Commit

Permalink
Merge pull request #37 from art-daq/eflumerf/ClangFormat
Browse files Browse the repository at this point in the history
Apply clang-format to all source files
  • Loading branch information
ron003 authored Jan 24, 2025
2 parents f816e37 + b0d9cd1 commit f97b43b
Show file tree
Hide file tree
Showing 4 changed files with 214 additions and 178 deletions.
3 changes: 2 additions & 1 deletion artdaq-demo/ArtModules/CheckIntegrity_module.cc
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ void demo::CheckIntegrity::analyze(art::Event const& evt)
auto dist_type = bb.hdr_distribution_type();

auto evtSize = bb.hdr_event_size() * sizeof(ToyFragment::Header::data_t);
if (bb.hdr_event_size() % (sizeof(artdaq::RawDataType) / sizeof(ToyFragment::Header::data_t)) != 0) {
if (bb.hdr_event_size() % (sizeof(artdaq::RawDataType) / sizeof(ToyFragment::Header::data_t)) != 0)
{
evtSize = ceil(evtSize / static_cast<double>(sizeof(artdaq::RawDataType))) * sizeof(artdaq::RawDataType);
}

Expand Down
Loading

0 comments on commit f97b43b

Please sign in to comment.