File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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;
You can’t perform that action at this time.
0 commit comments