Skip to content

Commit 6741341

Browse files
committed
[PWGJE] Remove unused logger include
1 parent 605e064 commit 6741341

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

PWGJE/Tasks/jetDsSpecSubs.cxx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include <Framework/HistogramRegistry.h>
2929
#include <Framework/HistogramSpec.h>
3030
#include <Framework/InitContext.h>
31-
#include <Framework/Logger.h>
3231
#include <Framework/runDataProcessing.h>
3332

3433
#include <TH1.h>
@@ -289,11 +288,11 @@ struct JetDsSpecSubs {
289288

290289
// Prevent simultaneous execution of processes using alternative jet collections
291290
if (doprocessCollisions && doprocessCollisionsEWS) {
292-
LOGP(fatal, "Enable either processCollisions or processCollisionsEWS, not both simultaneously");
291+
throw std::runtime_error("Enable either processCollisions or processCollisionsEWS, not both simultaneously");
293292
}
294293

295294
if (doprocessDataChargedSubstructure && doprocessDataChargedSubstructureEWS) {
296-
LOGP(fatal, "Enable either processDataChargedSubstructure or processDataChargedSubstructureEWS, not both simultaneously");
295+
throw std::runtime_error("Enable either processDataChargedSubstructure or processDataChargedSubstructureEWS, not both simultaneously");
297296
}
298297
// Determine which histogram groups are required
299298
const bool doInclusiveQA = doprocessCollisions || doprocessCollisionsEWS;

0 commit comments

Comments
 (0)