Skip to content

Commit

Permalink
Merge pull request #1002 from cesarecazzaniga/tutorial_abcd_rooparame…
Browse files Browse the repository at this point in the history
…trichist

Tutorial ABCD method with RooParamtricHist
  • Loading branch information
kcormi authored Sep 26, 2024
2 parents 6cf6c02 + 758d434 commit a3e3b6c
Show file tree
Hide file tree
Showing 24 changed files with 1,627 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Combination of mPhi_1500_Catany_2018_CR_B.txt mPhi_1500_Catany_2018_CR_C.txt mPhi_1500_Catany_2018_CR_D.txt mPhi_1500_Catany_2018_SR.txt
imax 4 number of bins
jmax 1 number of processes minus 1
kmax 2 number of nuisance parameters
----------------------------------------------------------------------------------------------------------------------------------
shapes Bkg ch1 param_ws.root wspace:bkg_B
shapes data_obs ch1 param_ws.root wspace:data_obs_B
shapes mPhi_1500 ch1 param_ws.root wspace:mPhi_1500_B
shapes Bkg ch2 param_ws.root wspace:bkg_C
shapes data_obs ch2 param_ws.root wspace:data_obs_C
shapes mPhi_1500 ch2 param_ws.root wspace:mPhi_1500_C
shapes Bkg ch3 param_ws.root wspace:bkg_D
shapes data_obs ch3 param_ws.root wspace:data_obs_D
shapes mPhi_1500 ch3 param_ws.root wspace:mPhi_1500_D
shapes Bkg ch4 param_ws.root wspace:bkg_A
shapes data_obs ch4 param_ws.root wspace:data_obs_A
shapes mPhi_1500 ch4 param_ws.root wspace:mPhi_1500_A
----------------------------------------------------------------------------------------------------------------------------------
bin ch1 ch2 ch3 ch4
observation -1 -1 -1 -1
----------------------------------------------------------------------------------------------------------------------------------
bin ch1 ch1 ch2 ch2 ch3 ch3 ch4 ch4
process mPhi_1500 Bkg mPhi_1500 Bkg mPhi_1500 Bkg mPhi_1500 Bkg
process 0 1 0 1 0 1 0 1
rate -1 1 -1 1 -1 1 -1 1
----------------------------------------------------------------------------------------------------------------------------------
BkgRate lnN - - - - - - - 1.05
lumi lnN 1.016 - 1.016 - 1.016 - 1.016 -
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
imax * number of bins
jmax * number of processes minus 1
kmax * number of nuisance parameters
-----------------------------------------------------------------------------------
shapes data_obs B param_ws.root wspace:data_obs_B
shapes Bkg B param_ws.root wspace:bkg_B
shapes mPhi_1500 B param_ws.root wspace:mPhi_1500_B
-----------------------------------------------------------------------------------
bin B
observation -1
-----------------------------------------------------------------------------------
bin B B
process Bkg mPhi_1500
process 1 0
rate 1 -1
-----------------------------------------------------------------------------------
lumi lnN -- 1.016
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
imax * number of bins
jmax * number of processes minus 1
kmax * number of nuisance parameters
-----------------------------------------------------------------------------------
shapes data_obs C param_ws.root wspace:data_obs_C
shapes Bkg C param_ws.root wspace:bkg_C
shapes mPhi_1500 C param_ws.root wspace:mPhi_1500_C
-----------------------------------------------------------------------------------
bin C
observation -1
-----------------------------------------------------------------------------------
bin C C
process Bkg mPhi_1500
process 1 0
rate 1 -1
-----------------------------------------------------------------------------------
lumi lnN -- 1.016
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
imax * number of bins
jmax * number of processes minus 1
kmax * number of nuisance parameters
-----------------------------------------------------------------------------------
shapes data_obs D param_ws.root wspace:data_obs_D
shapes Bkg D param_ws.root wspace:bkg_D
shapes mPhi_1500 D param_ws.root wspace:mPhi_1500_D
-----------------------------------------------------------------------------------
bin D
observation -1
-----------------------------------------------------------------------------------
bin D D
process Bkg mPhi_1500
process 1 0
rate 1 -1
-----------------------------------------------------------------------------------
lumi lnN -- 1.016
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
imax * number of bins
jmax * number of processes minus 1
kmax * number of nuisance parameters
-----------------------------------------------------------------------------------
shapes data_obs A param_ws.root wspace:data_obs_A
shapes Bkg A param_ws.root wspace:bkg_A
shapes mPhi_1500 A param_ws.root wspace:mPhi_1500_A
-----------------------------------------------------------------------------------
bin A
observation -1
-----------------------------------------------------------------------------------
bin A A
process Bkg mPhi_1500
process 1 0
rate 1 -1
-----------------------------------------------------------------------------------
lumi lnN -- 1.016
BkgRate lnN 1.05 --
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Combination of mPhi_1500_Catany_2018_CR_B.txt mPhi_1500_Catany_2018_CR_C.txt mPhi_1500_Catany_2018_CR_D.txt mPhi_1500_Catany_2018_SR.txt
imax 4 number of bins
jmax 1 number of processes minus 1
kmax 2 number of nuisance parameters
----------------------------------------------------------------------------------------------------------------------------------
shapes Bkg ch1 param_ws.root wspace:bkg_B
shapes data_obs ch1 param_ws.root wspace:data_obs_B
shapes mPhi_1500 ch1 param_ws.root wspace:mPhi_1500_B
shapes Bkg ch2 param_ws.root wspace:bkg_C
shapes data_obs ch2 param_ws.root wspace:data_obs_C
shapes mPhi_1500 ch2 param_ws.root wspace:mPhi_1500_C
shapes Bkg ch3 param_ws.root wspace:bkg_D
shapes data_obs ch3 param_ws.root wspace:data_obs_D
shapes mPhi_1500 ch3 param_ws.root wspace:mPhi_1500_D
shapes Bkg ch4 param_ws.root wspace:bkg_A
shapes data_obs ch4 param_ws.root wspace:data_obs_A
shapes mPhi_1500 ch4 param_ws.root wspace:mPhi_1500_A
----------------------------------------------------------------------------------------------------------------------------------
bin ch1 ch2 ch3 ch4
observation -1 -1 -1 -1
----------------------------------------------------------------------------------------------------------------------------------
bin ch1 ch1 ch2 ch2 ch3 ch3 ch4 ch4
process mPhi_1500 Bkg mPhi_1500 Bkg mPhi_1500 Bkg mPhi_1500 Bkg
process 0 1 0 1 0 1 0 1
rate -1 1 -1 1 -1 1 -1 1
----------------------------------------------------------------------------------------------------------------------------------
BkgRate lnN - - - - - - - 1.05
lumi lnN 1.016 - 1.016 - 1.016 - 1.016 -
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
imax * number of bins
jmax * number of processes minus 1
kmax * number of nuisance parameters
-----------------------------------------------------------------------------------
shapes data_obs B param_ws.root wspace:data_obs_B
shapes Bkg B param_ws.root wspace:bkg_B
shapes mPhi_1500 B param_ws.root wspace:mPhi_1500_B
-----------------------------------------------------------------------------------
bin B
observation -1
-----------------------------------------------------------------------------------
bin B B
process Bkg mPhi_1500
process 1 0
rate 1 -1
-----------------------------------------------------------------------------------
lumi lnN -- 1.016
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
imax * number of bins
jmax * number of processes minus 1
kmax * number of nuisance parameters
-----------------------------------------------------------------------------------
shapes data_obs C param_ws.root wspace:data_obs_C
shapes Bkg C param_ws.root wspace:bkg_C
shapes mPhi_1500 C param_ws.root wspace:mPhi_1500_C
-----------------------------------------------------------------------------------
bin C
observation -1
-----------------------------------------------------------------------------------
bin C C
process Bkg mPhi_1500
process 1 0
rate 1 -1
-----------------------------------------------------------------------------------
lumi lnN -- 1.016
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
imax * number of bins
jmax * number of processes minus 1
kmax * number of nuisance parameters
-----------------------------------------------------------------------------------
shapes data_obs D param_ws.root wspace:data_obs_D
shapes Bkg D param_ws.root wspace:bkg_D
shapes mPhi_1500 D param_ws.root wspace:mPhi_1500_D
-----------------------------------------------------------------------------------
bin D
observation -1
-----------------------------------------------------------------------------------
bin D D
process Bkg mPhi_1500
process 1 0
rate 1 -1
-----------------------------------------------------------------------------------
lumi lnN -- 1.016
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
imax * number of bins
jmax * number of processes minus 1
kmax * number of nuisance parameters
-----------------------------------------------------------------------------------
shapes data_obs A param_ws.root wspace:data_obs_A
shapes Bkg A param_ws.root wspace:bkg_A
shapes mPhi_1500 A param_ws.root wspace:mPhi_1500_A
-----------------------------------------------------------------------------------
bin A
observation -1
-----------------------------------------------------------------------------------
bin A A
process Bkg mPhi_1500
process 1 0
rate 1 -1
-----------------------------------------------------------------------------------
lumi lnN -- 1.016
BkgRate lnN 1.05 --
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a3e3b6c

Please sign in to comment.