-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #202 from EmyrClement/mergeTau
Merge tau unfolding into run 2 branch
- Loading branch information
Showing
52 changed files
with
2,020 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#!/bin/bash | ||
# This script is meant to be called by the "before_install" step defined in | ||
# .travis.yml. See http://docs.travis-ci.com/ for more details. | ||
# The behaviour of the script is controlled by environment variabled defined | ||
# in the .travis.yml in the top level folder of the project. | ||
|
||
#set -e | ||
|
||
# Check if we are running Python 2 or 3. This is needed for the apt-get package names | ||
if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then | ||
export PYTHON_SUFFIX="3"; | ||
fi | ||
|
||
sudo add-apt-repository --yes ppa:kalakris/cmake | ||
# add repositories for gcc ${GCC_VERSION} and clang $CLANG_VERSION (set in .travis.yml) | ||
sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test | ||
sudo add-apt-repository --yes 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise main' | ||
sudo add-apt-repository --yes 'deb http://ppa.launchpad.net/boost-latest/ppa/ubuntu precise main' | ||
wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - | ||
# Needed because sometimes travis' repositories get out of date | ||
sudo apt-get update -q | ||
# Install the dependencies we need | ||
time sudo apt-get -q install cmake clang-${CLANG_VERSION} libclang-${CLANG_VERSION}-dev gcc-${GCC_VERSION} g++-${GCC_VERSION} boost${BOOST_VERSION} libboost${BOOST_VERSION}-dev libboost-test${BOOST_VERSION}-dev \ | ||
python${PYTHON_SUFFIX}-numpy python${PYTHON_SUFFIX}-sphinx python${PYTHON_SUFFIX}-nose python${PYTHON_SUFFIX}-pip cython${PYTHON_SUFFIX} | ||
if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then | ||
time sudo apt-get install -qq python-matplotlib python-tables; | ||
fi | ||
|
||
pip install nose --upgrade | ||
nosetests -V | ||
|
||
# setup newer compilers ( we need gcc >= 4.7 for c++11 | ||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${GCC_VERSION} 50; | ||
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-${GCC_VERSION} 50; | ||
sudo update-alternatives --set gcc /usr/bin/gcc-${GCC_VERSION}; | ||
sudo update-alternatives --set g++ /usr/bin/g++-${GCC_VERSION}; | ||
|
||
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${CLANG_VERSION} 50; | ||
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${CLANG_VERSION} 50; | ||
sudo update-alternatives --set clang /usr/bin/clang-${CLANG_VERSION}; | ||
sudo update-alternatives --set clang++ /usr/bin/clang++-${CLANG_VERSION}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"config_for" : "src/unfolding_tests/get_best_regularisation.py", | ||
"truth" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/7TeV/unfolding/unfolding_TTJets_7TeV_asymmetric.root", | ||
"histogram": "unfolding_HT_analyser_electron_channel/truth" | ||
}, | ||
"gen_vs_reco" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/7TeV/unfolding/unfolding_TTJets_7TeV_asymmetric.root", | ||
"histogram": "unfolding_HT_analyser_electron_channel/response_without_fakes" | ||
}, | ||
"measured" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/7TeV/unfolding/unfolding_TTJets_7TeV_asymmetric.root", | ||
"histogram": "unfolding_HT_analyser_electron_channel/measured" | ||
}, | ||
"data" : { | ||
"file": "data/absolute_eta_M3_angle_bl/7TeV/HT/fit_results/central/fit_results_electron_patType1CorrectedPFMet.txt", | ||
"histogram": "TTJet" | ||
}, | ||
"output_folder": "plots/7TeV/unfolding_tests", | ||
"output_format": ["png", "pdf"], | ||
"centre-of-mass energy" : 7, | ||
"channel": "electron", | ||
"variable": "HT" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"config_for" : "src/unfolding_tests/get_best_regularisation.py", | ||
"truth" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/7TeV/unfolding/unfolding_TTJets_7TeV_asymmetric.root", | ||
"histogram": "unfolding_HT_analyser_muon_channel/truth" | ||
}, | ||
"gen_vs_reco" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/7TeV/unfolding/unfolding_TTJets_7TeV_asymmetric.root", | ||
"histogram": "unfolding_HT_analyser_muon_channel/response_without_fakes" | ||
}, | ||
"measured" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/7TeV/unfolding/unfolding_TTJets_7TeV_asymmetric.root", | ||
"histogram": "unfolding_HT_analyser_muon_channel/measured" | ||
}, | ||
"data" : { | ||
"file": "data/absolute_eta_M3_angle_bl/7TeV/HT/fit_results/central/fit_results_muon_patType1CorrectedPFMet.txt", | ||
"histogram": "TTJet" | ||
}, | ||
"output_folder": "plots/7TeV/unfolding_tests", | ||
"output_format": ["png", "pdf"], | ||
"centre-of-mass energy" : 7, | ||
"channel": "muon", | ||
"variable": "HT" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"config_for" : "src/unfolding_tests/get_best_regularisation.py", | ||
"truth" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/8TeV/unfolding/unfolding_TTJets_8TeV_asymmetric.root", | ||
"histogram": "unfolding_HT_analyser_electron_channel/truth" | ||
}, | ||
"gen_vs_reco" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/8TeV/unfolding/unfolding_TTJets_8TeV_asymmetric.root", | ||
"histogram": "unfolding_HT_analyser_electron_channel/response_without_fakes" | ||
}, | ||
"measured" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/8TeV/unfolding/unfolding_TTJets_8TeV_asymmetric.root", | ||
"histogram": "unfolding_HT_analyser_electron_channel/measured" | ||
}, | ||
"data" : { | ||
"file": "data/absolute_eta_M3_angle_bl/8TeV/HT/fit_results/central/fit_results_electron_patType1CorrectedPFMet.txt", | ||
"histogram": "TTJet" | ||
}, | ||
"output_folder": "plots/8TeV/unfolding_tests", | ||
"output_format": ["png", "pdf"], | ||
"centre-of-mass energy" : 8, | ||
"channel": "electron", | ||
"variable": "HT" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"config_for" : "src/unfolding_tests/get_best_regularisation.py", | ||
"truth" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/8TeV/unfolding/unfolding_TTJets_8TeV_asymmetric.root", | ||
"histogram": "unfolding_HT_analyser_muon_channel/truth" | ||
}, | ||
"gen_vs_reco" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/8TeV/unfolding/unfolding_TTJets_8TeV_asymmetric.root", | ||
"histogram": "unfolding_HT_analyser_muon_channel/response_without_fakes" | ||
}, | ||
"measured" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/8TeV/unfolding/unfolding_TTJets_8TeV_asymmetric.root", | ||
"histogram": "unfolding_HT_analyser_muon_channel/measured" | ||
}, | ||
"data" : { | ||
"file": "data/absolute_eta_M3_angle_bl/8TeV/HT/fit_results/central/fit_results_muon_patType1CorrectedPFMet.txt", | ||
"histogram": "TTJet" | ||
}, | ||
"output_folder": "plots/8TeV/unfolding_tests", | ||
"output_format": ["png", "pdf"], | ||
"centre-of-mass energy" : 8, | ||
"channel": "muon", | ||
"variable": "HT" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"config_for" : "src/unfolding_tests/get_best_regularisation.py", | ||
"truth" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/7TeV/unfolding/unfolding_TTJets_7TeV_asymmetric.root", | ||
"histogram": "unfolding_MET_analyser_electron_channel_patType1CorrectedPFMet/truth" | ||
}, | ||
"gen_vs_reco" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/7TeV/unfolding/unfolding_TTJets_7TeV_asymmetric.root", | ||
"histogram": "unfolding_MET_analyser_electron_channel_patType1CorrectedPFMet/response_without_fakes" | ||
}, | ||
"measured" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/7TeV/unfolding/unfolding_TTJets_7TeV_asymmetric.root", | ||
"histogram": "unfolding_MET_analyser_electron_channel_patType1CorrectedPFMet/measured" | ||
}, | ||
"data" : { | ||
"file": "data/absolute_eta_M3_angle_bl/7TeV/MET/fit_results/central/fit_results_electron_patType1CorrectedPFMet.txt", | ||
"histogram": "TTJet" | ||
}, | ||
"output_folder": "plots/7TeV/unfolding_tests", | ||
"output_format": ["png", "pdf"], | ||
"centre-of-mass energy" : 7, | ||
"channel": "electron", | ||
"variable": "MET", | ||
"n_toy": 1000, | ||
"n_tau_scan_points": 100 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"config_for" : "src/unfolding_tests/get_best_regularisation.py", | ||
"truth" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/7TeV/unfolding/unfolding_TTJets_7TeV_asymmetric.root", | ||
"histogram": "unfolding_MET_analyser_muon_channel_patType1CorrectedPFMet/truth" | ||
}, | ||
"gen_vs_reco" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/7TeV/unfolding/unfolding_TTJets_7TeV_asymmetric.root", | ||
"histogram": "unfolding_MET_analyser_muon_channel_patType1CorrectedPFMet/response_without_fakes" | ||
}, | ||
"measured" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/7TeV/unfolding/unfolding_TTJets_7TeV_asymmetric.root", | ||
"histogram": "unfolding_MET_analyser_muon_channel_patType1CorrectedPFMet/measured" | ||
}, | ||
"data" : { | ||
"file": "data/absolute_eta_M3_angle_bl/7TeV/MET/fit_results/central/fit_results_muon_patType1CorrectedPFMet.txt", | ||
"histogram": "TTJet" | ||
}, | ||
"output_folder": "plots/7TeV/unfolding_tests", | ||
"output_format": ["png", "pdf"], | ||
"centre-of-mass energy" : 7, | ||
"channel": "muon", | ||
"variable": "MET", | ||
"n_toy": 1000, | ||
"n_tau_scan_points": 100 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"config_for" : "src/unfolding_tests/get_best_regularisation.py", | ||
"truth" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/8TeV/unfolding/unfolding_TTJets_8TeV_asymmetric.root", | ||
"histogram": "unfolding_MET_analyser_electron_channel_patType1CorrectedPFMet/truth" | ||
}, | ||
"gen_vs_reco" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/8TeV/unfolding/unfolding_TTJets_8TeV_asymmetric.root", | ||
"histogram": "unfolding_MET_analyser_electron_channel_patType1CorrectedPFMet/response_without_fakes" | ||
}, | ||
"measured" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/8TeV/unfolding/unfolding_TTJets_8TeV_asymmetric.root", | ||
"histogram": "unfolding_MET_analyser_electron_channel_patType1CorrectedPFMet/measured" | ||
}, | ||
"data" : { | ||
"file": "data/absolute_eta_M3_angle_bl/8TeV/MET/fit_results/central/fit_results_electron_patType1CorrectedPFMet.txt", | ||
"histogram": "TTJet" | ||
}, | ||
"output_folder": "plots/8TeV/unfolding_tests", | ||
"output_format": ["png", "pdf"], | ||
"centre-of-mass energy" : 8, | ||
"channel": "electron", | ||
"variable": "MET", | ||
"n_toy": 1000, | ||
"n_tau_scan_points": 100 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"config_for" : "src/unfolding_tests/get_best_regularisation.py", | ||
"truth" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/8TeV/unfolding/unfolding_TTJets_8TeV_asymmetric.root", | ||
"histogram": "unfolding_MET_analyser_muon_channel_patType1CorrectedPFMet/truth" | ||
}, | ||
"gen_vs_reco" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/8TeV/unfolding/unfolding_TTJets_8TeV_asymmetric.root", | ||
"histogram": "unfolding_MET_analyser_muon_channel_patType1CorrectedPFMet/response_without_fakes" | ||
}, | ||
"measured" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/8TeV/unfolding/unfolding_TTJets_8TeV_asymmetric.root", | ||
"histogram": "unfolding_MET_analyser_muon_channel_patType1CorrectedPFMet/measured" | ||
}, | ||
"data" : { | ||
"file": "data/absolute_eta_M3_angle_bl/8TeV/MET/fit_results/central/fit_results_muon_patType1CorrectedPFMet.txt", | ||
"histogram": "TTJet" | ||
}, | ||
"output_folder": "plots/8TeV/unfolding_tests", | ||
"output_format": ["png", "pdf"], | ||
"centre-of-mass energy" : 8, | ||
"channel": "muon", | ||
"variable": "MET", | ||
"n_toy": 1000, | ||
"n_tau_scan_points": 100 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"config_for" : "src/unfolding_tests/get_best_regularisation.py", | ||
"truth" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/7TeV/unfolding/unfolding_TTJets_7TeV_asymmetric.root", | ||
"histogram": "unfolding_MT_analyser_electron_channel_patType1CorrectedPFMet/truth" | ||
}, | ||
"gen_vs_reco" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/7TeV/unfolding/unfolding_TTJets_7TeV_asymmetric.root", | ||
"histogram": "unfolding_MT_analyser_electron_channel_patType1CorrectedPFMet/response_without_fakes" | ||
}, | ||
"measured" : { | ||
"file": "/hdfs/TopQuarkGroup/results/histogramfiles/AN-14-071_6th_draft/7TeV/unfolding/unfolding_TTJets_7TeV_asymmetric.root", | ||
"histogram": "unfolding_MT_analyser_electron_channel_patType1CorrectedPFMet/measured" | ||
}, | ||
"data" : { | ||
"file": "data/absolute_eta_M3_angle_bl/7TeV/MT/fit_results/central/fit_results_electron_patType1CorrectedPFMet.txt", | ||
"histogram": "TTJet" | ||
}, | ||
"output_folder": "plots/7TeV/unfolding_tests", | ||
"output_format": ["png", "pdf"], | ||
"centre-of-mass energy" : 7, | ||
"channel": "electron", | ||
"variable": "MT", | ||
"n_toy": 1000, | ||
"n_tau_scan_points": 100 | ||
} |
Oops, something went wrong.