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
Implementation of Histmaker #277
Conversation
added include in runStages
#'wzp6_ee_mumuH_ecm240':{'fraction':1}, | ||
'p8_ee_WW_ecm240':{'fraction':1, 'input': 'localSamples/p8_ee_WW_ecm240/', 'crossSection': 0.25792}, # 16.4385 | ||
'p8_ee_ZZ_ecm240':{'fraction':1, 'input': 'localSamples/p8_ee_ZZ_ecm240/', 'crossSection': 1.35899}, | ||
'p8_ee_ZH_ecm240':{'fraction':1, 'input': 'localSamples/p8_ee_ZH_ecm240/', 'crossSection': 0.0067643}, # 0.201868 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is p8_ee_ZH_ecm240 part of the winter2023/IDEA campaign?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it isn't. So in case the process does not exist, the user can provide a custom cross-section in the processList. Otherwise, a default of 1 is used
Implemented the histmaker functionality in FCCAnalysis. It can run over edm4hep files and/or mini-trees from previous stages and directly produces the histograms using the RunGraps() method in RDataframe.
The analyzer.py must have a build_graph() function that contains the analysis logic and histograms to be saved. The plotting script is expanded accordingly to accept the plotting of single histograms (without the convoluted selections).
The usage is similar to the other functions:
fccanalysis run path/to/file.py
Other functionalities implemented:
Todo: