Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion JetAnalyzers/bin/jet_correction_analyzer_x.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include "CondFormats/JetMETObjects/interface/FactorizedJetCorrector.h"
#include "PhysicsTools/Utilities/interface/LumiReWeighting.h"
#if __has_include("xrootd/XrdCl/XrdClFileSystem.hh")
#include "xrootd/XProtocol/XProtocol.hh"
#include "xrootd/XrdCl/XrdClFileSystem.hh"
#define has_xrdcl 1
#else
Expand Down Expand Up @@ -215,7 +216,7 @@ int main(int argc,char**argv)

edm::LumiReWeighting LumiWeights_;
if(!MCPUReWeighting.IsNull() && !DataPUReWeighting.IsNull()) {
LumiWeights_ = edm::LumiReWeighting(string(MCPUReWeighting),string(DataPUReWeighting),"pileup","pileup");
LumiWeights_ = edm::LumiReWeighting(string(MCPUReWeighting),string(DataPUReWeighting),"h_pileup","pileup");
}

if(!outputDir.IsNull() && !outputDir.EndsWith("/")) outputDir += "/";
Expand Down
2 changes: 1 addition & 1 deletion JetAnalyzers/bin/jet_response_analyzer_x.cc
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ int main(int argc,char**argv)
int totaloothigh = cl.getValue<int> ("totaloothigh", 100000);
TString weightfile = cl.getValue<TString>("weightfile", "");
TString MCPUReWeighting = cl.getValue<TString>("MCPUReWeighting", "");
TString MCPUHistoName = cl.getValue<TString>("MCPUHistoName", "pileup");
TString MCPUHistoName = cl.getValue<TString>("MCPUHistoName", "h_pileup");
TString DataPUReWeighting = cl.getValue<TString>("DataPUReWeighting", "");
TString DataPUHistoName = cl.getValue<TString>("DataPUHistoName","pileup_jt400");
bool verbose = cl.getValue<bool> ("verbose", false);
Expand Down
Loading