Skip to content
Snippets Groups Projects
Commit f32e5dda authored by Patrick Koppenburg's avatar Patrick Koppenburg :leaves:
Browse files

Add a protection against Geant info in stderr

parent 1bacca00
No related branches found
No related tags found
2 merge requests!1103Draft: Add AnalysisHelpers to DaVinci Stack,!812Add a protection against Geant info in stderr
###############################################################################
# (c) Copyright 2000-2021 CERN for the benefit of the LHCb Collaboration #
# (c) Copyright 2000-2023 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
......@@ -72,5 +72,9 @@ remove_known_fluctuating_counters = LineSkipper(regexps=[
r' \| "Size of compressed data" .*'
])
preprocessor = RecPreprocessor + remove_uninteresting_lines + remove_known_warnings
# appears in stderr
remove_known_errors = LineSkipper(strings=[
'Info in <TGeoManager>: Changing system of units to Geant4 units (mm, ns, MeV).'
])
preprocessor = RecPreprocessor + remove_uninteresting_lines + remove_known_warnings + remove_known_errors
counter_preprocessor = remove_known_fluctuating_counters
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment