validated
Bug fixes for included stochastic smearing term in parametric model
Merge pull request #271 from matthewkenzie/stocastic_smearing_mods

Bug fixes for included stochastic smearing term in parametric model
Merge pull request #268 from capalmer85/topic_7TeV_validiated

validated
Chi2 with toys

Low stats categories will have toys run for them when calculating p-val of fit.
Added python submission and merging scripts to avoid slowdown with toys
truths in envelope
Additional clause to include the Truth order function even if p-val (chi2) < 1%
Merge pull request #272 from nucleosynthesis/nckw-runtoys-for-low-stat-chi2

Nckw runtoys for low stat chi2
These changes are for running the legacy spin analysis.
Several commits are squashed as I merged with martina's 7TeV setup and the h2gglobe master.
The modification summary is:
	- added 7TeV datfiles for the spin analysis
	- modified spin plotting scripts to include 7 TeV
	- modified spin combine interface to allow for 7 TeV
	- modified globe interface with combine to fix some issues regarding spin (and some other changes for multipdf)
	- fixed some conflicts

Squashed commit of the following:

commit dceb6a65b0bf892de0322e6fbb0ed4665190bff9
Merge: 1dc8ca4 635a16f
Author: Matthew <matthew.william.kenzie@cern.ch>
Date:   Fri Nov 15 17:25:00 2013 +0100

    Modifications for running legacy spin analysis.
    	- Merged with current h2gglobe master for 7TeV
    	- additions to interface with combine

    Merge branch 'spin_legacy_run' of github.com:matthewkenzie/h2gglobe into merge_spin_changes

    Conflicts:
    	AnalysisScripts/baseline/datafiles_cutbased_legacy_7TeV.dat
    	AnalysisScripts/baseline/datafiles_cutbased_legacy_7TeV_systs.dat
    	Macros/FinalResults/makeCombinePlots.py

commit 635a16fd9f6969a397a5426cc0dc163a8b0ee587
Author: Matthew <matthew.william.kenzie@cern.ch>
Date:   Fri Nov 15 16:33:38 2013 +0100

    More changes for combine, card making etc.

commit c2c1979460ffe7bfbfbd8a19966bd2ec01172f76
Author: Matthew <matthew.william.kenzie@cern.ch>
Date:   Thu Nov 14 14:19:20 2013 +0100

    Including splitVH

commit b04a2ec6c5123ae6e4255c1ea971ecac5ea50665
Author: Matthew <matthew.william.kenzie@cern.ch>
Date:   Thu Nov 14 13:37:04 2013 +0100

    Updates for spin legacy run. Includes :

    	- a bug fix to cosThetaDependentInterferenceSmearer which caused a crash on fitter.py exit.
    	- modified datfiles for legacy_8TeV and to allow running also with 7TeV
    	- can now save cic cut level in spin trees if a looser requirement is required
    	- cleaner script for making cos theta distribution plots and effAcc plot

commit b68b237b4a3c5db1a8ddca34dc8e07a1a56cbecf
Merge: 7ef2332 2ad1d67
Author: Matthew <matthew.william.kenzie@cern.ch>
Date:   Sat Nov 9 15:52:44 2013 +0100

    Merge branch 'branch_cic_forANfreezing' of github.com:martinamalberti/h2gglobe into spin_legacy_run

commit 2ad1d675b0435fc1ab415722fd537953101f8018
Author: Martina <martina.malberti@cern.ch>
Date:   Mon Nov 4 22:23:59 2013 +0100

    bug fix r9 reweightinggit statusgit status

commit 36e20c03f06ec37b238e9ba46335b424c69a1f16
Author: Martina <martina.malberti@cern.ch>
Date:   Mon Nov 4 21:48:28 2013 +0100

    fix

commit c79997ff65f3dc7aebde0b64efa3959e282357ab
Author: Martina <martina.malberti@cern.ch>
Date:   Mon Nov 4 20:34:09 2013 +0100

    update

commit af04dbb7b8d9e3374e7fe809f3b62c483bf44ea5
Author: Martina <martina.malberti@cern.ch>
Date:   Mon Nov 4 20:30:07 2013 +0100

    update

commit 21a31690e6ec80ef3baf10e9f363c8341a59a3a1
Author: Martina <martina.malberti@cern.ch>
Date:   Mon Nov 4 20:13:53 2013 +0100

    update efficiency files

commit 4854234dfed80a7eadfd342f6aedf6dabb2fefc4
Author: Martina <martina.malberti@cern.ch>
Date:   Mon Nov 4 20:05:08 2013 +0100

    vtx reweighting should get as input the ouput file of makeVtxReweight.py

commit 06d477b300f5828fd78062c26d125de2d9b68fd3
Author: Martina <martina.malberti@cern.ch>
Date:   Mon Nov 4 20:04:05 2013 +0100

    reweightings for cutbased analysis

commit 3a206f47c15d5a14ddec95933eb93a7371a3763a
Author: Martina <martina.malberti@cern.ch>
Date:   Mon Nov 4 20:02:53 2013 +0100

    update eff for 8 TeV

commit 51bf7dd5bb63e57f4b26b9a5393698bb571d678b
Author: Martina <martina.malberti@cern.ch>
Date:   Mon Nov 4 20:02:28 2013 +0100

    first version of eff for 7 TeV

commit 771d2ba9e85d9069254c9330f3cf89d4d6140dbb
Author: Martina <martina.malberti@cern.ch>
Date:   Mon Nov 4 17:25:55 2013 +0100

    fix tth cats from francesco

commit 110f9ab090a4863a4b320643575aa34ede10a76a
Author: Martina <martina.malberti@cern.ch>
Date:   Mon Nov 4 17:25:49 2013 +0100

    fix tth cats from francesco

commit 26ab549a10599394f68110c94df2c4a4f73a012a
Author: Martina <martina.malberti@cern.ch>
Date:   Mon Nov 4 17:25:43 2013 +0100

    fix tth cats from francesco

commit d6815e9cea29126663d3ab3f1d961440c7ece81a
Author: Martina <martina.malberti@cern.ch>
Date:   Mon Nov 4 15:32:46 2013 +0100

    fix DY bkg sample

commit 857c6179657f86bffc5180df54640e34acc709d0
Author: Martina <martina.malberti@cern.ch>
Date:   Mon Nov 4 15:19:26 2013 +0100

    dat files for systs

commit fee08090a9be18a6411c266c374719712ce11975
Author: Martina <martina.malberti@cern.ch>
Date:   Mon Nov 4 15:19:18 2013 +0100

    dat files for systs

commit 8e656b611b84075c539ee2a18097bff1e3f6480a
Author: Martina <martina.malberti@cern.ch>
Date:   Mon Nov 4 14:05:29 2013 +0100

    config 8 TeV update

commit 8e430dac25de83a5de9e1da5151bf90a68b618f5
Author: Martina <martina.malberti@cern.ch>
Date:   Mon Nov 4 14:04:44 2013 +0100

    configuration for cic 7 TeV

commit 6ff67dc52ead9fd281a5d0da3b579806646ccabb
Author: Martina <martina.malberti@cern.ch>
Date:   Mon Nov 4 14:04:03 2013 +0100

    update r9 scaling for 7 TeV
With one additional minor modification for limits
145 dataset in 7TeV (mismatch in name)
Changes to accomodate skipping masses in the signal fit.
Merge pull request #273 from matthewkenzie/spin_legacy_mods

These changes are for running the legacy spin analysis.
Had to merge back with head changes for skipping 145 mass in 7TeV
Merge pull request #275 from matthewkenzie/cic_legacy_freeze

Cic legacy freeze
changed 8TeV in sqrtS
datafiles for syst + small fix
mods for channel comp
Adding toy data checks for various p-val calculations which are used
(cleaned up fTest code)
Fixed merging of MultiPdfWorkspace to include sqrtS and IntLumi
Fixes for submitting Bias Studies and skipping missing files etc
Merge pull request #285 from nucleosynthesis/nckw-cleanup-of-ftest-code

Nckw cleanup of ftest code