Skip to content

Commit feb914e

Browse files
committed
Exclude changes in database and submission files
1 parent 95c2ca8 commit feb914e

File tree

2 files changed

+39
-54
lines changed

2 files changed

+39
-54
lines changed

machine_learning_hep/data/data_run3/database_ml_parameters_LcToPKPi_multiclass.yml

Lines changed: 27 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ LcpKpi:
2626
sel_skim_binmax: [2, 4, 6, 8, 12, 24] #list of nbins
2727
apply_yptacccut: false
2828
var_binning: fPt
29-
do_ptshape: true
30-
var_binning_ptshape: fPtWeighted
3129
dofullevtmerge: false
3230
var_cand: fCandidateSelFlag
3331
var_swap: fIsCandidateSwapped
@@ -71,7 +69,6 @@ LcpKpi:
7169
O2hf3psel:
7270
level: mc
7371
vars: [fCandidateSelFlag]
74-
O2hf3pml: [fMlScores]
7572
filter: "fPt > 1."
7673
extra:
7774
fY: log((sqrt(2.28646**2 + (fPt * cosh(fEta))**2) + fPt * sinh(fEta)) / sqrt(2.28646**2 + fPt**2)) #TODO : change mass or make sure Lc mass is updated
@@ -82,9 +79,6 @@ LcpKpi:
8279
ismcprompt: {var: fOriginMcRec, req: [[0], []], level: mc}
8380
ismcfd: {var: fOriginMcRec, req: [[1], []], level: mc}
8481
swap: {cand: fCandidateSelFlag, var_swap: fIsCandidateSwapped, vars: [ismcsignal, ismcprompt, ismcfd], level: mc}
85-
extract_component:
86-
- {var: fMlScores, newvar: fMlBkgScore, component: 0}
87-
- {var: fMlScores, newvar: fMlNonPromptScore, component: 2}
8882

8983
gen:
9084
level: mc
@@ -229,22 +223,18 @@ LcpKpi:
229223
- 20.
230224
files_names:
231225
namefile_unmerged_tree: AO2D.root
232-
namefile_reco: AnalysisResultsReco.parquet
233-
namefile_evt: AnalysisResultsEvt.parquet
234226
namefile_collcnt: AnalysisResultsCollCnt.parquet
235227
namefile_evtvalroot: AnalysisResultsROOTEvtVal.root
236228
namefile_evtorig: AnalysisResultsEvtOrig.parquet
237229
namefile_gen: AnalysisResultsGen.parquet
238230
namefile_reco_applieddata: AnalysisResultsRecoAppliedData.parquet
239231
namefile_reco_appliedmc: AnalysisResultsRecoAppliedMC.parquet
240-
namefile_mcweights: NonPromptLcPtWeigths.root
232+
namefile_mcweights: mcweights.root
241233
treeoutput: "Lctree"
242234
histofilename: "masshisto.root"
243235
efffilename: "effhisto.root"
244-
histoweights: "ptWeigths"
245236
respfilename: "resphisto.root"
246237
crossfilename: "cross_section_tot.root"
247-
namefile_bccnt: "bccnt.root"
248238

249239
multi:
250240
data:
@@ -256,13 +246,13 @@ LcpKpi:
256246
seedmerge: [12] #list of periods
257247
period: [LHC22o] #list of periods
258248
select_period: [1]
259-
prefix_dir: /data8/majak/MLHEP-data/23082024/
260-
unmerged_tree_dir: [LHC22o_ml/alice/cern.ch/user/a/alihyperloop/jobs/0064] #list of periods
261-
pkl: [LHC22pp_ml/period_LHC22o/pkldata] #list of periods
262-
pkl_skimmed: [LHC22pp_ml_16/period_LHC22o/pklskdata] #list of periods
263-
pkl_skimmed_merge_for_ml: [LHC22pp_ml_16/period_LHC22o/pklskmldata] #list of periods
264-
pkl_skimmed_merge_for_ml_all: LHC22pp_ml_16/mltotdata
265-
pkl_evtcounter_all: LHC22pp_ml_16/evttotdata
249+
prefix_dir: /data2/MLhep/
250+
unmerged_tree_dir: [real/train_158254/alice/cern.ch/user/a/alihyperloop/jobs/0029] #list of periods
251+
pkl: [LHC22pp/period_LHC22o/pkldata] #list of periods
252+
pkl_skimmed: [LHC22pp/period_LHC22o/pklskdata] #list of periods
253+
pkl_skimmed_merge_for_ml: [LHC22pp/period_LHC22o/pklskmldata] #list of periods
254+
pkl_skimmed_merge_for_ml_all: LHC22pp/mltotdata
255+
pkl_evtcounter_all: LHC22pp/evttotdata
266256
#select_jobs: [[hy_189959], [hy_189000]]
267257
mcreweights: [../Analyses]
268258
mc:
@@ -305,7 +295,7 @@ LcpKpi:
305295
binmax: [2, 4, 6, 8, 12, 24] # must be equal to sel_skim_binmax (sel_skim_binmin bins)
306296
mltype: MultiClassification
307297
ncorescrossval: 10
308-
prefix_dir_ml: /data8/majak/MLHEP/results-data-1006-finer-bins-1224-merged/
298+
prefix_dir_ml: /data2/MLhep/
309299
mlplot: mlplot # to be removed
310300
mlout: mlout # to be removed
311301

@@ -329,7 +319,7 @@ LcpKpi:
329319

330320
mlapplication:
331321
data:
332-
prefix_dir_app: /data8/majak/MLHEP/results-data-2308-finer-bins-1224-merged-16/
322+
prefix_dir_app: /data2/MLhep/
333323
pkl_skimmed_dec: [LHC22pp/MLapplication/prod_LHC22o/skpkldecdata] #list of periods
334324
pkl_skimmed_decmerged: [LHC22pp/MLapplication/prod_LHC22o/skpkldecdatamerged] #list of periods
335325
mc:
@@ -339,17 +329,15 @@ LcpKpi:
339329
modelname: xgboost
340330
modelsperptbin: [xgboost_classifierLcpKpi_dfselection_fPt_1.0_2.0.sav, xgboost_classifierLcpKpi_dfselection_fPt_2.0_4.0.sav, xgboost_classifierLcpKpi_dfselection_fPt_4.0_6.0.sav, xgboost_classifierLcpKpi_dfselection_fPt_6.0_8.0.sav, xgboost_classifierLcpKpi_dfselection_fPt_8.0_12.0.sav, xgboost_classifierLcpKpi_dfselection_fPt_12.0_24.0.sav]
341331
probcutpresel:
342-
data: [[0.5, 0.0, 0.0], [0.5, 0.0, 0.0], [0.5, 0.0, 0.0], [0.5, 0.0, 0.0], [0.5, 0.0, 0.0], [0.5, 0.0, 0.0], [0.8, 0.0, 0.0], [0.8, 0.0, 0.0], [0.8, 0.0, 0.0]] #list of nbins
343-
mc: [[0.5, 0.0, 0.0], [0.5, 0.0, 0.0], [0.5, 0.0, 0.0], [0.5, 0.0, 0.0], [0.5, 0.0, 0.0], [0.5, 0.0, 0.0], [0.8, 0.0, 0.0], [0.8, 0.0, 0.0], [0.8, 0.0, 0.0]] #list of nbins
344-
probcutoptimal: [[0.02, 0.0, %fd12%], [0.02, 0.0, %fd23%], [0.02, 0.0, %fd34%], [0.06, 0.0, %fd45%], [0.06, 0.0, %fd56%], [0.10, 0.0, %fd68%], [0.20, 0.0, %fd812%], [%bkg1216%, 0.0, %fd1216%], [%bkg1624%, 0.0, %fd1624%]] #list of nbins
332+
data: [[0.5, 0.0, 0.0], [0.5, 0.0, 0.0], [0.5, 0.0, 0.0], [0.5, 0.0, 0.0], [0.7, 0.0, 0.0], [0.7, 0.0, 0.0]] #list of nbins
333+
mc: [[0.5, 0.0, 0.0], [0.5, 0.0, 0.0], [0.5, 0.0, 0.0], [0.5, 0.0, 0.0], [0.7, 0.0, 0.0], [0.7, 0.0, 0.0]] #list of nbins
334+
probcutoptimal: [[0.2, 0.15, 0.0], [0.2, 0.15, 0.0], [0.2, 0.15, 0.0], [0.2, 0.15, 0.0], [0.5, 0.2, 0.0], [0.5, 0.2, 0.0]] #list of nbins
345335
analysis:
346-
anahptspectrum: "LctopKpi" #D0Kpi, DplusKpipi, DstarD0pi, DsKKpi, LctopKpi, LcK0Sp
347-
fd_method: "dd" # fc, Nb, dd, dd_N
348-
crosssec_prompt: True # True for prompt, False for non-prompt
336+
anahptspectrum: "LctopKpi" # D0Kpi, DplusKpipi, DstarD0pi, DsKKpi, LctopKpi, LcK0Sp
337+
fd_method: "Nb" # fc, Nb
349338
cctype: "pp"
350339
sigmamb: 59.4e+9 # 50.87e+9 pp5TeV, 57.8e+9 pp13TeV, 59.4e+9 pp Run3, pb
351-
inputfonllpred: /data8/majak/fdd-results/07112024-check-approvals/fdd-results-merged-sept-yields-eff/CutVarLc_pp13TeV_LHC24d3.root
352-
#inputfonllpred: data/fonll/DmesonLcPredictions_13TeV_y05_FFptDepLHCb_BRpythia8_PDG2020.root
340+
inputfonllpred: data/fonll/DmesonLcPredictions_13TeV_y05_FFptDepLHCb_BRpythia8_PDG2020.root
353341
dir_general_plots: analysis_plots
354342

355343
Run3analysis:
@@ -361,17 +349,14 @@ LcpKpi:
361349
sel_binmax2: [2, 4, 6, 8, 12, 24] #list of nbins
362350
var_binning2: null
363351
triggerbit: ''
364-
use_cuts: false
352+
use_cuts: False
365353
cuts:
366-
- "fMlNonPromptScore >= %fd12%"
367-
- "fMlNonPromptScore >= %fd23%"
368-
- "fMlNonPromptScore >= %fd34%"
369-
- "fMlNonPromptScore >= %fd45%"
370-
- "fMlNonPromptScore >= %fd56%"
371-
- "fMlNonPromptScore >= %fd68%"
372-
- "fMlBkgScore <= 0.20 and fMlNonPromptScore >= %fd812%"
373-
- "fMlBkgScore <= %bkg1216% and fMlNonPromptScore >= %fd1216%"
374-
- "fMlBkgScore <= %bkg1624% and fMlNonPromptScore >= %fd1624%"
354+
- "fDecayLength > 0.02"
355+
- "fDecayLength > 0.02"
356+
- "fDecayLength > 0.02"
357+
- "fDecayLength > 0.02"
358+
- "fDecayLength > 0.02"
359+
- "fDecayLength > 0.02"
375360

376361
sel_an_binmin: [1, 2, 4, 6, 8, 12]
377362
sel_an_binmax: [2, 4, 6, 8, 12, 24]
@@ -385,7 +370,7 @@ LcpKpi:
385370

386371
data:
387372
runselection: [null] #FIXME
388-
prefix_dir_res: /data8/majak/MLHEP/%resdir%/
373+
prefix_dir_res: /data2/MLhep/
389374
results: [LHC22pp/Results/prod_LHC22o/resultsdata] #list of periods
390375
resultsallp: LHC22pp/Results/resultsdatatot
391376
mc:
@@ -427,7 +412,7 @@ LcpKpi:
427412
fitcase: Lc
428413
latexnamehadron: "#Lambda_{c}^{pK#pi}"
429414
latexbin2var: "n_{trkl}"
430-
nevents: 47092223770
415+
nevents: null
431416
dodoublecross: false
432417
dobkgfromsideband: false
433418

@@ -436,7 +421,7 @@ LcpKpi:
436421
useperiod: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] #period from where to define prob cuts
437422
ncutvar: 10 #number of looser and tighter variations
438423
maxperccutvar: 0.25 #max diff in efficiency for loosest/tightest var
439-
cutvarminrange: [[0.1, 0.3], [0.1, 0.3], [0.1, 0.3], [0.1, 0.3], [0.1, 0.3], [0.1, 0.3], [0.1, 0.3], [0.7, 0.9], [0.7, 0.9]] #Min starting point for scan
440-
cutvarmaxrange: [[0.7, 0.9], [0.7, 0.9], [0.7, 0.9], [0.7, 0.9], [0.7, 0.9], [0.7, 0.9], [0.7, 0.9], [0.7, 0.9], [0.7, 0.9]] #Max starting point for scan
424+
cutvarminrange: [[0.1, 0.3], [0.1, 0.3], [0.1, 0.3], [0.1, 0.3], [0.1, 0.3], [0.7, 0.9]] #Min starting point for scan
425+
cutvarmaxrange: [[0.7, 0.9], [0.7, 0.9], [0.7, 0.9], [0.7, 0.9], [0.7, 0.9], [0.7, 0.9]] #Max starting point for scan
441426
fixedmean: True #Fix mean cutvar histo to central fit
442427
fixedsigma: True #Fix sigma cutvar histo to central fit

machine_learning_hep/submission/analyzer.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,22 +60,22 @@ analysis:
6060
# Do only merged (false)
6161
doperperiod: false
6262
data:
63-
histomass: true # processer: process_histomass
63+
histomass: false # processer: process_histomass
6464
mc:
65-
histomass: true # processer: process_histomass
66-
efficiency: true # processer: process_efficiency
65+
histomass: false # processer: process_histomass
66+
efficiency: false # processer: process_efficiency
6767
steps: # analyzer methods to run (uncomment to activate)
6868
##### Inclusive hadrons
69-
#fit:
70-
efficiency:
71-
makenormyields:
69+
# fit:
70+
# efficiency:
71+
# makenormyields:
7272
##### Jets
73-
#init:
74-
#calculate_efficiencies:
75-
#qa:
76-
#fit:
77-
#estimate_feeddown:
78-
#analyze_with_sidesub:
73+
init:
74+
calculate_efficiencies:
75+
qa:
76+
fit:
77+
estimate_feeddown:
78+
analyze_with_sidesub:
7979
# analyze_with_sigextr:
8080

8181
systematics:

0 commit comments

Comments
 (0)