Skip to content

Commit

Permalink
Change bins in mask for sinogram message to use info() (#1542)
Browse files Browse the repository at this point in the history
* Change bins in mask for sinogram message to use info()

* Formatting

* include "boost/format.hpp"
  • Loading branch information
robbietuk authored Nov 23, 2024
1 parent 2eb11a9 commit b754fa7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/scatter_buildblock/CreateTailMaskFromACFs.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "stir/scatter/CreateTailMaskFromACFs.h"
#include "stir/Bin.h"
#include "boost/lambda/lambda.hpp"
#include "boost/format.hpp"
#include "stir/error.h"

START_NAMESPACE_STIR
Expand Down Expand Up @@ -147,8 +148,8 @@ CreateTailMaskFromACFs::process_data()
count += mask_left_size + mask_right_size;
#endif
}
std::cout << count << " bins in mask for sinogram at segment " << bin.segment_num() << ", axial_pos "
<< bin.axial_pos_num() << "\n";
info(boost::format("%1% bins in mask for sinogram at segment %2%, axial_pos %3%") % count % bin.segment_num()
% bin.axial_pos_num());
if (this->mask_proj_data->set_sinogram(mask_sinogram) != Succeeded::yes)
return Succeeded::no;
}
Expand Down

0 comments on commit b754fa7

Please sign in to comment.