Skip to content

Commit

Permalink
Merge pull request #8709 from wmtan/macrosSim
Browse files Browse the repository at this point in the history
ROOT Macros need to compile in ROOT6 (Sim)
  • Loading branch information
cmsbuild committed Apr 15, 2015
2 parents 3bfed54 + cc54bf5 commit 3982ed3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ struct weightEntryType
}
TString name_;
const TH1* lut_;
TAxis* xAxis_;
const TAxis* xAxis_;
Int_t numBinsX_;
TAxis* yAxis_;
const TAxis* yAxis_;
Int_t numBinsY_;
int variableX_;
int variableY_;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ TGraphAsymmErrors* getEfficiency(const TH1* histogram_numerator, const TH1* hist
return 0;
}

TAxis* xAxis = histogram_numerator->GetXaxis();
const TAxis* xAxis = histogram_numerator->GetXaxis();

Int_t nBins = xAxis->GetNbins();
TArrayF x(nBins);
Expand Down

0 comments on commit 3982ed3

Please sign in to comment.