From c05d15cc9c0fc96c85808a656ea44e32e2d03f2d Mon Sep 17 00:00:00 2001 From: ddobrigk Date: Sun, 22 Dec 2024 15:06:52 +0100 Subject: [PATCH] Update tracksExtraV002Converter.cxx --- Common/TableProducer/Converters/tracksExtraV002Converter.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Common/TableProducer/Converters/tracksExtraV002Converter.cxx b/Common/TableProducer/Converters/tracksExtraV002Converter.cxx index d081f525cc9..a70ac8ea8a8 100644 --- a/Common/TableProducer/Converters/tracksExtraV002Converter.cxx +++ b/Common/TableProducer/Converters/tracksExtraV002Converter.cxx @@ -24,6 +24,9 @@ struct TracksExtraV002Converter { if (doprocessV000ToV002 == false && doprocessV001ToV002 == false) { LOGF(fatal, "Neither processV000ToV002 nor processV001ToV002 is enabled. Please choose one!"); } + if (doprocessV000ToV002 == true && doprocessV001ToV002 == true) { + LOGF(fatal, "Both processV000ToV002 and processV001ToV002 are enabled. Please choose only one!"); + } } void processV000ToV002(aod::TracksExtra_000 const& tracksExtra_000)