Skip to content

Commit

Permalink
Calo bank getRows comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregtom3 committed May 28, 2024
1 parent f20edf3 commit 1c54f8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/iguana/algorithms/clas12/PhotonGBTFilter/Algorithm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@ namespace iguana::clas12 {
std::map<int, PhotonGBTFilter::calo_row_data> PhotonGBTFilter::GetCaloMap(hipo::bank const& bank) const
{
std::map<int, PhotonGBTFilter::calo_row_data> calo_map;

// Loop over REC::Calorimeter rows
// Here we use bank.getRows() to purposefully ignore upstream filters
for(int row = 0; row < bank.getRows(); row++){
auto pindex = bank.getInt("pindex",row);
auto x = bank.getFloat("x",row);
Expand Down

0 comments on commit 1c54f8c

Please sign in to comment.