Skip to content

Commit 3a418d6

Browse files
committed
Adapt settings for debugging
1 parent 7dc55b4 commit 3a418d6

3 files changed

Lines changed: 45 additions & 40 deletions

File tree

machine_learning_hep/data/data_run3/database_ml_parameters_D0Jet_pp.yml

Lines changed: 43 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -406,40 +406,40 @@ D0Jet_pp:
406406
bins_gen_fix: [10, 0., 1.]
407407
bins_det_fix: [10, 0., 1.]
408408
label: "#Delta#it{r}"
409-
lntheta:
410-
bins_gen_fix: [8, 1., 5.]
411-
bins_det_fix: [8, 1., 5.]
412-
label: "#minusln(#it{#theta})"
413-
arraycols: [3]
414-
lnkt:
415-
bins_gen_fix: [8, -4., 4.]
416-
bins_det_fix: [8, -4., 4.]
417-
label: "ln(#it{k}_{T}/(GeV/#it{c}))"
418-
arraycols: [3]
419-
lntheta-lnkt:
420-
arraycols: [3, 4]
421-
# new variables
422-
fEnergyMother:
423-
bins_gen_fix: [1, 0., 100.]
424-
bins_det_fix: [1, 0., 100.]
425-
arraycols: [3]
426-
# lntheta-lnkt-fEnergyMother:
427-
# arraycols: [3, 4, 5]
428-
fJetNConstituents:
429-
bins_gen_fix: [5, 0., 20.]
430-
bins_det_fix: [5, 0., 20.]
431-
zpar-fJetNConstituents: {}
432-
nsub21:
433-
# TODO: check for 1-track jets
434-
bins_gen_fix: [11, -1., 1.]
435-
bins_det_fix: [11, -1., 1.]
436-
eecweight:
437-
# TODO: adjust binning
438-
bins_gen_fix: [10, 0., 1.]
439-
bins_det_fix: [10, 0., 1.]
440-
arraycols: [3]
441-
fPairTheta-eecweight:
442-
arraycols: [3, 4]
409+
# lntheta:
410+
# bins_gen_fix: [8, 1., 5.]
411+
# bins_det_fix: [8, 1., 5.]
412+
# label: "#minusln(#it{#theta})"
413+
# arraycols: [3]
414+
# lnkt:
415+
# bins_gen_fix: [8, -4., 4.]
416+
# bins_det_fix: [8, -4., 4.]
417+
# label: "ln(#it{k}_{T}/(GeV/#it{c}))"
418+
# arraycols: [3]
419+
# lntheta-lnkt:
420+
# arraycols: [3, 4]
421+
# # new variables
422+
# fEnergyMother:
423+
# bins_gen_fix: [1, 0., 100.]
424+
# bins_det_fix: [1, 0., 100.]
425+
# arraycols: [3]
426+
# # lntheta-lnkt-fEnergyMother:
427+
# # arraycols: [3, 4, 5]
428+
# fJetNConstituents:
429+
# bins_gen_fix: [5, 0., 20.]
430+
# bins_det_fix: [5, 0., 20.]
431+
# zpar-fJetNConstituents: {}
432+
# nsub21:
433+
# # TODO: check for 1-track jets
434+
# bins_gen_fix: [11, -1., 1.]
435+
# bins_det_fix: [11, -1., 1.]
436+
# eecweight:
437+
# # TODO: adjust binning
438+
# bins_gen_fix: [10, 0., 1.]
439+
# bins_det_fix: [10, 0., 1.]
440+
# arraycols: [3]
441+
# fPairTheta-eecweight:
442+
# arraycols: [3, 4]
443443

444444
data_selections:
445445
mcsig:
@@ -677,7 +677,7 @@ D0Jet_pp:
677677
model:
678678
fn: "SUM::sum(frac[0.,1.]*sigrefl, bkg)"
679679

680-
sidesub_per_ptjet: true
680+
sidesub_per_ptjet: false
681681
sidesub:
682682
- level: mc
683683
regions:
@@ -763,16 +763,20 @@ D0Jet_pp:
763763
mc: null
764764
data: &data_out_default
765765
runselection: [null] #FIXME # used but useless
766-
results: ["/home/${USER}/mlhep/d0jet/jet_obs/default/default/data/results"] #list of periods
767-
resultsallp: "/home/${USER}/mlhep/d0jet/jet_obs/default/default/data/results_all"
766+
results: ["/home/${USER}/mlhep/d0jet2/jet_obs/default/default/data/results"] #list of periods
767+
resultsallp: "/home/${USER}/mlhep/d0jet2/jet_obs/default/default/data/results_all"
768768
mc: &mc_out_default
769769
runselection: [null] #FIXME # used but useless
770-
results: ["/home/${USER}/mlhep/d0jet/jet_obs/default/default/mc/results"] #list of periods
771-
resultsallp: "/home/${USER}/mlhep/d0jet/jet_obs/default/default/mc/results_all"
770+
results: ["/home/${USER}/mlhep/d0jet2/jet_obs/default/default/mc/results"] #list of periods
771+
resultsallp: "/home/${USER}/mlhep/d0jet2/jet_obs/default/default/mc/results_all"
772772
data_proc: # alternative processor output used as the analyzer input
773773
<<: *data_out_default
774+
results: ["/home/${USER}/mlhep/d0jet/jet_obs/default/default/data/results"] #list of periods
775+
resultsallp: "/home/${USER}/mlhep/d0jet/jet_obs/default/default/data/results_all"
774776
mc_proc: # alternative processor output used as the analyzer input
775777
<<: *mc_out_default
778+
results: ["/home/${USER}/mlhep/d0jet/jet_obs/default/default/mc/results"] #list of periods
779+
resultsallp: "/home/${USER}/mlhep/d0jet/jet_obs/default/default/mc/results_all"
776780

777781
# simple fitter START # used in cplusutilities/mass_fitter.C
778782
# sgnfunc: [0,0,0,0,0,0,0,0,0,0,0,0] # kGaus=0, k2Gaus=1, k2GausSigmaRatioPar=2 (sel_an_binmin bins)

machine_learning_hep/processer_jet.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ def process_efficiency_single(self, index):
437437
"fPairPt",
438438
]
439439
)
440+
cols = None
440441

441442
# read generator level
442443
dfgen_orig = pd.concat(

machine_learning_hep/submission/analyzer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ analysis:
7474
calculate_efficiencies:
7575
qa:
7676
fit:
77-
estimate_feeddown:
77+
# estimate_feeddown:
7878
analyze_with_sidesub:
7979
# analyze_with_sigextr:
8080

0 commit comments

Comments
 (0)