From f8645daa142905b5b453034107f4879434a3841a Mon Sep 17 00:00:00 2001 From: Federico Meloni Date: Wed, 4 Dec 2024 14:43:03 +0100 Subject: [PATCH 1/2] switching couts to streamlogs --- src/Helpers.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Helpers.cxx b/src/Helpers.cxx index c774af9..c17fb66 100644 --- a/src/Helpers.cxx +++ b/src/Helpers.cxx @@ -19,6 +19,8 @@ #include #include +#include +#include using Stepper = Acts::EigenStepper<>; using Navigator = Acts::Navigator; @@ -360,7 +362,7 @@ EVENT::Track* ACTS2Marlin_track( track->trackStates().push_back(trackStateAtCalo); } else{ - std::cout << "Failed propagation! " << std::endl; + streamlog_out(MESSAGE) << "Failed propagation! " << std::endl; } } else{ @@ -375,7 +377,7 @@ EVENT::Track* ACTS2Marlin_track( track->trackStates().push_back(trackStateAtCalo); } else{ - std::cout << "Failed propagation!" << std::endl; + streamlog_out(MESSAGE) << "Failed propagation!" << std::endl; } } } From 1c6d983f8fb04f3e1e997091d06aebf8684aa2a3 Mon Sep 17 00:00:00 2001 From: Federico Meloni Date: Sun, 8 Dec 2024 14:10:51 +0100 Subject: [PATCH 2/2] change message into DEBUG --- src/Helpers.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Helpers.cxx b/src/Helpers.cxx index c17fb66..4b6f78d 100644 --- a/src/Helpers.cxx +++ b/src/Helpers.cxx @@ -362,7 +362,7 @@ EVENT::Track* ACTS2Marlin_track( track->trackStates().push_back(trackStateAtCalo); } else{ - streamlog_out(MESSAGE) << "Failed propagation! " << std::endl; + streamlog_out(DEBUG) << "Failed propagation! " << std::endl; } } else{ @@ -377,7 +377,7 @@ EVENT::Track* ACTS2Marlin_track( track->trackStates().push_back(trackStateAtCalo); } else{ - streamlog_out(MESSAGE) << "Failed propagation!" << std::endl; + streamlog_out(DEBUG) << "Failed propagation!" << std::endl; } } }