File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
HLTrigger/JSONMonitoring/plugins Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -429,12 +429,10 @@ void HLTriggerJSONMonitoring::globalEndLuminosityBlockSummary(edm::LuminosityBlo
429429 unsigned int ls = lumi.luminosityBlock ();
430430 unsigned int run = lumi.run ();
431431
432- bool writeFiles = true ;
433432 if (edm::Service<evf::FastMonitoringService>().isAvailable ()) {
434- writeFiles = edm::Service<evf::FastMonitoringService>()->shouldWriteFiles (ls);
433+ if (!edm::Service<evf::FastMonitoringService>()->shouldWriteFiles (ls))
434+ return ;
435435 }
436- if (not writeFiles)
437- return ;
438436
439437 unsigned int processed = lumidata->processed .value ().at (0 );
440438 auto const & rundata = *runCache (lumi.getRun ().index ());
Original file line number Diff line number Diff line change @@ -365,12 +365,10 @@ void L1TriggerJSONMonitoring::globalEndLuminosityBlockSummary(edm::LuminosityBlo
365365 unsigned int ls = lumi.luminosityBlock ();
366366 unsigned int run = lumi.run ();
367367
368- bool writeFiles = true ;
369368 if (edm::Service<evf::FastMonitoringService>().isAvailable ()) {
370- writeFiles = edm::Service<evf::FastMonitoringService>()->shouldWriteFiles (ls);
369+ if (!edm::Service<evf::FastMonitoringService>()->shouldWriteFiles (ls))
370+ return ;
371371 }
372- if (not writeFiles)
373- return ;
374372
375373 unsigned int processed = lumidata->processed .value ().at (0 );
376374 auto const & rundata = *runCache (lumi.getRun ().index ());
You can’t perform that action at this time.
0 commit comments