-
Notifications
You must be signed in to change notification settings - Fork 1
240418 dev #7
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
base: tnpUpdate
Are you sure you want to change the base?
240418 dev #7
Conversation
scripts/histmakers/w_z_gen_dists.py
Outdated
@@ -171,7 +174,7 @@ def build_graph(df, dataset): | |||
axis_ewMll = hist.axis.Variable(massBins, name = "ewMll", underflow=False) | |||
axis_ewPtll = hist.axis.Variable(common.ptV_binning, underflow=False, name = "ewPTll") | |||
axis_ewAbsYll = hist.axis.Regular(50, 0, 5, name = "ewAbsYll") | |||
df = theory_tools.define_dressed_vars(df, mode="wmass" if isW else "dilepton") | |||
df = theory_tools.define_dressed_vars(df, mode="wmass" if isW else "wlike") |
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.
Most of the time when people run the gen histmaker I would expect them to want dilepton observables.
scripts/histmakers/w_z_gen_dists.py
Outdated
axis_eta = hist.axis.Regular(25, 0, 2.5, name = "postfsrLep_absEta", overflow=True, underflow=False) | ||
axis_pt = hist.axis.Regular(50, 20, 70, name = "postfsrLep_pt", overflow=True, underflow=True) | ||
results.append(df_fiducial.HistoBoost("nominal_postfsr", [axis_eta, axis_pt], ["postfsrLep_absEta", "postfsrLep_pt", "nominal_weight"], storage=hist.storage.Weight())) | ||
if args.applySelection: |
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.
I think it's probably easier to just set the lepton type in the gen script and then make one or the other.
add flag for physics model of the fitresult used as input
No description provided.