Skip to content

Replace TMath::Max with std::max in the ROOT histogram plotting#315

Open
syuvivida wants to merge 1 commit into
MadAnalysis:mainfrom
syuvivida:main
Open

Replace TMath::Max with std::max in the ROOT histogram plotting#315
syuvivida wants to merge 1 commit into
MadAnalysis:mainfrom
syuvivida:main

Conversation

@syuvivida

Copy link
Copy Markdown

Context:
Replace TMath::Max function with std::max in madanalysis/layout/plotflow.py and madanalysis/layout/merging_plots.py

Description of the Change:
This change was motivated as when running madanalysis, one encountered an error with the original code:
./selection_0.C:123:17: error: use of undeclared identifier 'TMath'

Benefits:
Output histograms could be created without compiling errors.

Possible Drawbacks:

None

Related GitHub Issues:
None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant