Skip to content

Commit

Permalink
Apply code checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Jussi Viinikainen committed Oct 29, 2018
1 parent ad5a3d0 commit c0d9e1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DQMOffline/JetMET/src/DataCertificationJetMET.cc
Expand Up @@ -605,7 +605,7 @@ DataCertificationJetMET::dqmEndJob(DQMStore::IBooker& ibook_, DQMStore::IGetter&
MonitorElement *meJetEMFrac[4];
MonitorElement *meJetConstituents[4];
RunDir = "";
if (RunDir == "") newHistoName = "JetMET/Jet/";
if (RunDir.empty()) newHistoName = "JetMET/Jet/";
else newHistoName = RunDir+"/JetMET/Runsummary/Jet/";
std::string cleaningdir = "";
cleaningdir = "Cleaned";
Expand Down Expand Up @@ -931,7 +931,7 @@ DataCertificationJetMET::dqmEndJob(DQMStore::IBooker& ibook_, DQMStore::IGetter&
MonitorElement *meMETPhi[2];

RunDir = "";
if (RunDir == "") newHistoName = "JetMET/MET/";
if (RunDir.empty()) newHistoName = "JetMET/MET/";
else newHistoName = RunDir+"/JetMET/Runsummary/MET/";

metFolder = "Cleaned";
Expand Down

0 comments on commit c0d9e1e

Please sign in to comment.