Merge remote-tracking branch 'michelif/topic_fixcorrsmearingfile'
Merge remote-tracking branch 'amarini/m1457TeV'
Merge remote-tracking branch 'amarini/sqrtS'
commit for legacy freeze v2
145->150 only for ggH at 7TeV
RD Weights x Lumi
Syntax refinements
changing diphoMVA values for 7 TeV excl cat
Two bug-fixes for stocastic smsearing:

- wrong sqrt(<ET>) term
- swapped sin and cos phi
Merge pull request #295 from musella/fix_stocastic_smearing_mistakes

Two bug-fixes for stocastic smsearing:
Merge branch 'tagme_legacy_paper_freezing_massfact_ws_v2' of https://github.com/amarini/h2gglobe
Lots of Fixes for ftest and Bias studies
Squashed commit of the following:

commit a0f34ab311ab9c31dfb89dc110eb3cdcd935b6ed
Author: nick <n.c.k.wardle@googlemail.com>
Date:   Thu Nov 28 10:16:18 2013 +0100

    removed removeRange

commit dc23dd903602fa49b97c7a21ee6395cff4282873
Author: nick <n.c.k.wardle@googlemail.com>
Date:   Thu Nov 28 10:12:41 2013 +0100

    RooFit bug if using removeRange

commit 039d052f231d92090ea96abce6bd68a55a779770
Author: nick <n.c.k.wardle@googlemail.com>
Date:   Thu Nov 28 10:02:49 2013 +0100

    Add injected mu to output plot names

commit 8616bec5e244ef1b4bfee1efbfeeb6bf2be50c18
Author: nick <n.c.k.wardle@googlemail.com>
Date:   Wed Nov 27 18:29:10 2013 +0100

    Lots of aesthetics for Bias studies
    add record of best fitting pdf to outputs

commit b5a4d8db2096ac704652aeb174f84d4d0c0c05aa
Author: nick <n.c.k.wardle@googlemail.com>
Date:   Wed Nov 27 17:59:50 2013 +0100

    fTest submission script accepts -q option for batch submission

commit 3c5c2c5ff29577e9b5d6b4767d89d4a1899b4841
Author: nick <n.c.k.wardle@googlemail.com>
Date:   Wed Nov 27 17:21:07 2013 +0100

    additional iterations for choosing best fitting pdf also

commit 08d7fc1e411be652f2b37ac9c05aace74ff62dc4
Author: nick <n.c.k.wardle@googlemail.com>
Date:   Wed Nov 27 15:43:59 2013 +0100

    Iterate fit until status is good otherwise spit out a warning

commit 573b99bec67fbba768a019199e7782da21898207
Author: nick <n.c.k.wardle@googlemail.com>
Date:   Tue Nov 26 23:37:40 2013 +0100

    More usage of cats= keyword (picked up with {cat})

commit 1592784051b7e093e22f8d5385cc4868eea5f81d
Author: nick <n.c.k.wardle@googlemail.com>
Date:   Tue Nov 26 01:08:26 2013 +0100

    Merging submission can now take special dat file with {cat} keywords

commit 7f404a1b6766fd13bf18cc3acea89976c8c0d9d9
Author: nick <n.c.k.wardle@googlemail.com>
Date:   Tue Nov 26 00:06:17 2013 +0100

    Smarter choice for scanning based on where best fit is
    always includ best fit as one of the points to scan

commit 3244cebc498618cfa87cf9c968264fe52d5f9993
Author: nick <n.c.k.wardle@googlemail.com>
Date:   Sat Nov 23 21:36:32 2013 +0100

    Fix for parameter names in construction of RooMultiPdf (allows for 7+8TeV combinations)

commit 0bfefe2e3b213f6bfcc74dcbd0e356a25be23469
Author: nick <n.c.k.wardle@googlemail.com>
Date:   Fri Nov 22 14:20:39 2013 +0100

    Multipdf plots now cycle through MultiPdf (since order doesnt matter now from maps) when plotting.
    Need to re-fit each pdf since only the best fit pdf will look right

commit e2375b21ea590f2efbfb1a643e529bc924727b6d
Author: nick <n.c.k.wardle@googlemail.com>
Date:   Fri Nov 22 11:47:12 2013 +0100

    Putting toys back for GOF test in low stat categories

commit 41fe59aecbd212603cd21828faa997408196861f
Author: nick <n.c.k.wardle@googlemail.com>
Date:   Fri Nov 22 11:15:26 2013 +0100

    Adding option string to subfTest.py submission script

commit 919acf0348a192335a281b9a75c55d6414a8be05
Author: nick <n.c.k.wardle@googlemail.com>
Date:   Fri Nov 22 10:07:56 2013 +0100

    Add iterative fit for fTest toys to improve status

commit 81e27ba4e3b1e45b47a8ef4b162c5e91594252d0
Author: nick <n.c.k.wardle@googlemail.com>
Date:   Wed Nov 20 21:56:22 2013 +0100

    Shouldnt delete data in call for GOF test
145->150 for ggH @ 7TeV
Merge pull request #293 from michelif/7TeV_MVAexclCat

changing diphoMVA values for 7 TeV excl cat
Merge pull request #294 from amarini/RD_Weights_Lumi

Rd weights lumi
Merge pull request #297 from amarini/sigfix_cutbased_7TeV

145->150 for ggH @ 7TeV
Lots of Fixes for ftest and Bias studies: confilct resolved keeping nick's changes
Fixed bug in computation of non-stocastic smearings.

Protect againsto sqrt(<ET>) = 0
Merge pull request #300 from musella/fix_nonstocastic_smearing

Fixed bug in computation of non-stocastic smearings.
Fixed bug in reading mass-resolution smearings for BDT.

Stocastic smearing pivot was not propagated.
Default mass-resoltion smearings were set to MC smearings.