Skip to content

Commit

Permalink
Merge pull request vukasinmilosevic#4 from nucleosynthesis/nckw_updat…
Browse files Browse the repository at this point in the history
…e_ALP_files

Update to new alp files for JES split
  • Loading branch information
amagnan authored Sep 9, 2020
2 parents 9ba4e73 + a1844a4 commit 7e45f87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions makeSignalWS.C
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ void makeSignalWS(std::string year="2017", std::string cat="MTR"){
hSDownnew->SetBinContent(b,yv*hSDown->GetBinContent(hSDown->FindBin(xv)));
}

RooDataHist *histSU = new RooDataHist((lProcs[iP]+"_hist_"+lRegions+"_"+lJes[iJ]+"Up").c_str(),"Signal proces",vars,hSUpnew);
RooDataHist *histSD = new RooDataHist((lProcs[iP]+"_hist_"+lRegions+"_"+lJes[iJ]+"Down").c_str(),"Signal proces",vars,hSDownnew);
RooDataHist *histSU = new RooDataHist((lProcs[iP]+"_hist_"+lRegions+"_CMS_scale_j_"+lJes[iJ]+"Up").c_str(),"Signal proces",vars,hSUpnew);
RooDataHist *histSD = new RooDataHist((lProcs[iP]+"_hist_"+lRegions+"_CMS_scale_j_"+lJes[iJ]+"Down").c_str(),"Signal proces",vars,hSDownnew);
wspace.import(*histSU);
wspace.import(*histSD);

Expand Down
2 changes: 1 addition & 1 deletion makeWS_percategory.C
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ int makeWS_percategory(std::string year="2017", std::string cat="MTR"){
// SR/CR remaining non-cancellations from JES uncertainties.
RooRealVar *wzratio[nT];
//JES fully correlated across years, JER fully uncorrelated
RooRealVar *jes = new RooRealVar("CMS_VBF_scale_j", "JES nuisance parameter", 0);
RooRealVar *jes = new RooRealVar("CMS_scale_j_jesRelativeBal", "JES nuisance parameter", 0);
RooRealVar *jer = new RooRealVar(("CMS_res_j_"+year).c_str(), "JER nuisance parameter", 0);
//RooRealVar *jesZZ[nT];
//RooRealVar *jerZZ[nT];
Expand Down

0 comments on commit 7e45f87

Please sign in to comment.