File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
HLTrigger/JSONMonitoring/plugins Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -430,11 +430,8 @@ void HLTriggerJSONMonitoring::globalEndLuminosityBlockSummary(edm::LuminosityBlo
430430 unsigned int run = lumi.run ();
431431
432432 bool writeFiles = true ;
433- if (edm::Service<evf::FastMonitoringService*>().isAvailable ()) {
434- evf::FastMonitoringService* fms =
435- (evf::FastMonitoringService*)(edm::Service<evf::FastMonitoringService*>().operator ->());
436- if (fms)
437- writeFiles = fms->shouldWriteFiles (ls);
433+ if (edm::Service<evf::FastMonitoringService>().isAvailable ()) {
434+ writeFiles = edm::Service<evf::FastMonitoringService>()->shouldWriteFiles (ls);
438435 }
439436 if (not writeFiles)
440437 return ;
Original file line number Diff line number Diff line change @@ -367,10 +367,7 @@ void L1TriggerJSONMonitoring::globalEndLuminosityBlockSummary(edm::LuminosityBlo
367367
368368 bool writeFiles = true ;
369369 if (edm::Service<evf::FastMonitoringService>().isAvailable ()) {
370- evf::FastMonitoringService* fms =
371- (evf::FastMonitoringService*)(edm::Service<evf::FastMonitoringService>().operator ->());
372- if (fms)
373- writeFiles = fms->shouldWriteFiles (ls);
370+ writeFiles = edm::Service<evf::FastMonitoringService>()->shouldWriteFiles (ls);
374371 }
375372 if (not writeFiles)
376373 return ;
You can’t perform that action at this time.
0 commit comments