-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow building histograms with different types of axes #437
Labels
Comments
Hi Mathis, This is an interesting proposal as this would also make plotting of variables such as number of jets nicer. I tried to do a simple implementation looking at the attribute
Kind Regards, |
13 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the moment, each variable that is passed to
cf.CreateHistograms
will automatically create a variable axis. It would be nice if we can also support some other types of Histogram axes (see Hist docu for possible types of axes).Boolean
,StrCategory
, andIntCategory
might be used if someone needs a second categorical axis, e.g. for trigger studies.Integer
might be nice for variables with discrete x values, e.g number of jets.Implementing the creation of histograms with different axes types should be rather straightforward. We just need to add some auxiliary entry to our variable insts that is used to define how the additional axis is created.
The text was updated successfully, but these errors were encountered: