Skip to content

Commit d045c6d

Browse files
authored
Merge pull request #28 from madbaron/silence_couts
Switching couts to streamlogs
2 parents c14d552 + 1c6d983 commit d045c6d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/Helpers.cxx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#include <Acts/Propagator/Navigator.hpp>
2020
#include <Acts/Propagator/Propagator.hpp>
2121

22+
#include <streamlog/streamlog.h>
23+
#include <marlin/VerbosityLevels.h>
2224

2325
using Stepper = Acts::EigenStepper<>;
2426
using Navigator = Acts::Navigator;
@@ -360,7 +362,7 @@ EVENT::Track* ACTS2Marlin_track(
360362
track->trackStates().push_back(trackStateAtCalo);
361363
}
362364
else{
363-
std::cout << "Failed propagation! " << std::endl;
365+
streamlog_out(DEBUG) << "Failed propagation! " << std::endl;
364366
}
365367
}
366368
else{
@@ -375,7 +377,7 @@ EVENT::Track* ACTS2Marlin_track(
375377
track->trackStates().push_back(trackStateAtCalo);
376378
}
377379
else{
378-
std::cout << "Failed propagation!" << std::endl;
380+
streamlog_out(DEBUG) << "Failed propagation!" << std::endl;
379381
}
380382
}
381383
}

0 commit comments

Comments
 (0)