File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ def fit(self):
344344 )
345345 h_invmass = rfile .Get ("hmass_" + suffix )
346346 # Rebin
347- #rebin = self.p_rebin[ibin2][ipt]
347+ # rebin = self.p_rebin[ibin2][ipt]
348348 rebin = self .p_rebin [ipt ]
349349 h_invmass .Rebin (rebin )
350350 if h_invmass .GetEntries () < 100 : # TODO: reconsider criterion
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ def hf_pt_spectrum(
114114 infile_pred .Get ("hCovNonPromptNonPrompt" ),
115115 infile_pred .Get ("hCovPromptNonPrompt" ),
116116 ]
117- else :
117+ elif frac_method in ( "Nb" , "fc" ) :
118118 histos ["FONLL" ] = {"prompt" : {}, "nonprompt" : {}}
119119 for pred in ("central" , "min" , "max" ):
120120 histos ["FONLL" ]["nonprompt" ][pred ] = infile_pred .Get (f"{ fonll_hist_name [channel ]} fromBpred_{ pred } _corr" )
@@ -185,7 +185,7 @@ def hf_pt_spectrum(
185185 rawy_unc = histos ["rawyields" ].GetBinError (i_pt + 1 )
186186 eff_times_acc_prompt = histos ["acceffp" ].GetBinContent (i_pt + 1 )
187187 eff_times_acc_nonprompt = histos ["acceffnp" ].GetBinContent (i_pt + 1 )
188- if frac_method not in ("dd" , "dd_N" ):
188+ if frac_method not in ("dd" , "dd_N" , "ext" ):
189189 ptmin_fonll = histos ["FONLL" ]["nonprompt" ]["central" ].GetXaxis ().FindBin (ptmin * 1.0001 )
190190 ptmax_fonll = histos ["FONLL" ]["nonprompt" ]["central" ].GetXaxis ().FindBin (ptmax * 0.9999 )
191191 crosssec_nonprompt_fonll = [
You can’t perform that action at this time.
0 commit comments