Skip to content

Commit

Permalink
Merge pull request #84 from TopEFT/jet-cleaning-without-taus
Browse files Browse the repository at this point in the history
Jet cleaning without taus
  • Loading branch information
kmohrman authored Aug 24, 2021
2 parents abec9d1 + 6e29632 commit ffe9b86
Show file tree
Hide file tree
Showing 4 changed files with 145 additions and 126 deletions.
20 changes: 20 additions & 0 deletions analysis/topEFT/remake_ci_ref_yields.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This script reproduces the reference yields file that the CI compares agains
# Run this script when you want to update the reference file

# Get the file the CI uses, and move it to the directory the JSON expects
printf "\nDownloading root file...\n"
wget http://www.crc.nd.edu/~ywan2/root_files/NAOD-00000_18449.root
mv NAOD-00000_18449.root ../../NAOD-00000_18449.root

# Run the processor
printf "\nRunning the processor...\n"
time python run.py ../../topcoffea/json/test_samples/UL17_private_ttH_for_CI.json -o new_ref_histos

# Make the JSON file of the yields
printf "\nMaking the yields JSON file...\n"
python get_yield_json.py -f histos/new_ref_histos.pkl.gz -n new_ref_yields

# Replace the reference yields with the new reference yields
printf "\nReplacing ref yields JSON with new file...\n"
mv new_ref_yields.json test/UL17_private_ttH_for_CI_yields.json
printf "\n\nDone.\n\n"
32 changes: 16 additions & 16 deletions analysis/topEFT/test/UL17_private_ttH_for_CI_yields.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
{
"ttH": {
"2lss_m": [
20.677004545468762,
4.1828132785350285e-15
23.391304725093818,
4.4488922733299325e-15
],
"2lss_p": [
19.870077477553295,
4.1003832114823895e-15
22.5133505229178,
4.364602861060397e-15
],
"3l_m_offZ_1b": [
3.964872301886027,
1.8316364125419964e-15
4.012271854861266,
1.842552376950432e-15
],
"3l_m_offZ_2b": [
4.53462424039309,
1.95882356067898e-15
4.729040186898001,
2.0003738507488667e-15
],
"3l_onZ_1b": [
1.766004732614043,
1.222420425560399e-15
1.8100936561046415,
1.2375854350353434e-15
],
"3l_onZ_2b": [
1.9007979982164087,
1.2682143103404668e-15
1.9006819584409087,
1.2681755988229705e-15
],
"3l_p_offZ_1b": [
4.72934896615817,
2.000439156165079e-15
4.674642862184853,
1.98883559834224e-15
],
"3l_p_offZ_2b": [
5.609943207055785,
2.1787324345487895e-15
5.784638780146453,
2.2123956139062505e-15
],
"4l": [
0.7206380524728832,
Expand Down
Loading

0 comments on commit ffe9b86

Please sign in to comment.