Skip to content

Commit

Permalink
Merge pull request #28 from madbaron/silence_couts
Browse files Browse the repository at this point in the history
Switching couts to streamlogs
  • Loading branch information
madbaron authored Dec 9, 2024
2 parents c14d552 + 1c6d983 commit d045c6d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Helpers.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include <Acts/Propagator/Navigator.hpp>
#include <Acts/Propagator/Propagator.hpp>

#include <streamlog/streamlog.h>
#include <marlin/VerbosityLevels.h>

using Stepper = Acts::EigenStepper<>;
using Navigator = Acts::Navigator;
Expand Down Expand Up @@ -360,7 +362,7 @@ EVENT::Track* ACTS2Marlin_track(
track->trackStates().push_back(trackStateAtCalo);
}
else{
std::cout << "Failed propagation! " << std::endl;
streamlog_out(DEBUG) << "Failed propagation! " << std::endl;
}
}
else{
Expand All @@ -375,7 +377,7 @@ EVENT::Track* ACTS2Marlin_track(
track->trackStates().push_back(trackStateAtCalo);
}
else{
std::cout << "Failed propagation!" << std::endl;
streamlog_out(DEBUG) << "Failed propagation!" << std::endl;
}
}
}
Expand Down

0 comments on commit d045c6d

Please sign in to comment.