Skip to content

Commit

Permalink
Macros need to compile in ROOT6
Browse files Browse the repository at this point in the history
  • Loading branch information
wmtan committed Apr 13, 2015
1 parent e2555d8 commit cc54bf5
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 cc54bf5

Please sign in to comment.