Merge pull request #23 from gpetruc/master

fix overflows in TH1Keys
avoid the hard max on counting experiments
Removed N_OBS_MAX
Completely removed N_OBS_MAX
Merge branch 'master' of git://github.com/cms-analysis/HiggsAnalysis-CombinedLimit
add RooBernsteinFast
only update basis change vector if coefficients have actually changed
update comments
Merge pull request #25 from bendavid/master

Add RooBernsteinFast class
Merge remote-tracking branch 'upstream/master'
RooErfExp improvements
Merge branch 'master' of git://github.com/cms-analysis/HiggsAnalysis-CombinedLimit
Trashing old files to make sure no one is picking those up.
1 - Updated XS and BR to values available in LHC H XSWG YR3 (arXiv:1307.1347)
2 - Files BR and BR1 brought up to speed with BR2bosons and BR2fermions.
3 - Still missing BR2 and BR3 files for 4fermion branching fractions.
NB: All files formats should be back-compatible.

Notable changes in contents:
- All ranges of mH extended up and down, and refined to a grid of 0.1 GeV around 125.5 GeV.
- ZH cross-sections up by 5 to 6%.
- WH cross-sections up by ~1%.
- WH and ZH uncertainties slightly reduced (larger scale variation, smaller PDF+alpha_s).
- ggH cross sections down by 1.3 to 1.5%.
- ttH cross sections at 8 TeV down by ~1% and PDF uncertainty increased by the same amount.
- BR(ssbar) down by factor of almost 2.
- BR(ssbar) uncertainties added.
- Replaced "total uncertainties" (which were the linear addition) with dummy values.

More details on the differences for mH=125.5:

for f in `git status | grep modified| cut -d':' -f2`; do echo; echo $f; head -n1 $f; git diff $f | grep 125.5; done

data/lhc-hxswg/sm/br/BR.txt
mH_GeV	H_gg	    H_gamgam	H_Zgam		H_WW	    H_ZZ	    Total_Width_GeV
-125.5 	8.50E-02    2.29E-03 	1.59E-03 	2.24E-01    2.79E-02 	    4.11E-03
+125.5 	8.52E-02    2.28E-03	1.58E-03	2.23E-01    2.76E-02	    4.14E-03

data/lhc-hxswg/sm/br/BR1.txt
mH_GeV	H_bb	    H_tautau    H_mumu      H_ssbar     H_ccbar     H_ttbar
-125.5 	5.69E-01    6.28E-02 	2.18E-04    4.33E-04 	2.64E-02    0.00E+00
+125.5	5.69E-01    6.24E-02	2.16E-04    2.43E-04	2.87E-02    0.00E+00

data/lhc-hxswg/sm/br/BR2bosons.txt
mH_GeV	H_gg	    Err_Hi  Err_Lo  H_gamgam    Err_Hi  Err_Lo  H_Zgam      Err_Hi  Err_Lo  H_WW        Err_Hi  Err_Lo  H_ZZ        Err_Hi  Err_Lo  Total_Width_GeV Err_Hi Err_Lo
-125.5 	8.52E-02    +10.2   -9.9    2.28E-03	+4.9	-4.8 	1.58E-03    +8.9    -8.8    2.23E-01	+4.2	-4.1 	2.76E-02    +4.3    -4.1    4.14E-03	    +3.9   -3.9
+125.5	8.52E-02    +10.18  -9.94   2.28E-03	+4.91	-4.88	1.58E-03    +8.94   -8.82   2.23E-01	+4.20	-4.14	2.76E-02    +4.22   -4.11   4.14E-03	    +3.92  -3.88

data/lhc-hxswg/sm/br/BR2fermions.txt
mH_GeV	H_bb	    Err_Hi  Err_Lo  H_tautau    Err_Hi  Err_Lo  H_mumu      Err_Hi  Err_Lo  H_ccbar     Err_Hi  Err_Lo  H_ttbar     Err_Hi  Err_Lo  H_ssbar     Err_Hi  Err_Lo
-125.5 	5.69E-01    +3.3    -3.3    6.24E-02	+5.7	-5.6 	2.17E-04    +6.0    -5.8    2.87E-02	+12.2	-12.2 	0.00E+00    +0.0    -0.0
+125.5	5.69E-01    +3.26   -3.32   6.24E-02	+5.70	-5.60	2.16E-04    +5.97   -5.83   2.87E-02	+12.20	-12.19	0.00E+00    +0.00   -0.00 2.43E-04 +4.82 -4.87

data/lhc-hxswg/sm/xs/7TeV/7TeV-WH.txt
mH_GeV  XS_pb         Err_Hi    Err_Lo Sca_Hi  Sca_Lo  Pdf_Hi  Pdf_Lo
-125.5 	0.5652        3.7 	-4.3   0.2     -0.8    3.5     -3.5
+125.5	0.5703	      +999	-999   +1.0    -1.0    +2.6    -2.6

data/lhc-hxswg/sm/xs/7TeV/7TeV-ZH.txt
mH_GeV  XS_pb         Err_Hi    Err_Lo Sca_Hi  Sca_Lo  Pdf_Hi  Pdf_Lo
-125.5 	0.3117          4.9 	-5.1   1.4     -1.6    3.5     -3.5
+125.5	0.3309		+999	-999   +2.9    -2.9    +2.6    -2.6

data/lhc-hxswg/sm/xs/7TeV/7TeV-ggH.txt
mH_GeV  XS_pb         Err_Hi     Err_Lo Sca_Hi  Sca_Lo  Pdf_Hi  Pdf_Lo
-125.5	15.20	      +14.7	 -14.9	+7.1	-7.8	+7.6	-7.1
+125.5	15.01	      +999	 -999	+7.1	-7.8	+7.6	-7.1

data/lhc-hxswg/sm/xs/7TeV/7TeV-ttH.txt
mH_GeV  XS_pb         Err_Hi    Err_Lo Sca_Hi  Sca_Lo  Pdf_Hi  Pdf_Lo
-125.5	 0.08530       11.8	 -17.8  3.3     -9.3    8.5     -8.5
+125.5	 0.08528       +999	 -999	+3.2	-9.3	+8.4	-8.4

data/lhc-hxswg/sm/xs/7TeV/7TeV-vbfH.txt
mH_GeV  XS_pb          Err_Hi  Err_Lo  Sca_Hi  Sca_Lo  Pdf_Hi  Pdf_Lo
-125.5	1.219	       +2.8    -2.4    +0.3    -0.3    +2.5    -2.1
+125.5	1.219	       +999    -999    +0.3    -0.3    +2.5    -2.1

data/lhc-hxswg/sm/xs/8TeV/8TeV-WH.txt
mH_GeV  XS_pb   Err_Hi    Err_Lo Sca_Hi  Sca_Lo  Pdf_Hi  Pdf_Lo
-125.5	0.6873	+3.7	  -4.1	 +0.2	 -0.6	 +3.5	 -3.5
+125.5	0.6951	+999	  -999	 +1.0	 -1.0	 +2.4	 -2.4

data/lhc-hxswg/sm/xs/8TeV/8TeV-ZH.txt
mH_GeV  XS_pb   Err_Hi    Err_Lo Sca_Hi  Sca_Lo  Pdf_Hi  Pdf_Lo
-125.5	0.3893	+5.1	  -5.0	 +1.6	 -1.5	 +3.5	 -3.5
+125.5	0.4102	+999	  -999	 +3.1	 -3.1	 +2.5	 -2.5

data/lhc-hxswg/sm/xs/8TeV/8TeV-ggH.txt
mH_GeV  XS_pb    Err_Hi     Err_Lo Sca_Hi  Sca_Lo  Pdf_Hi  Pdf_Lo
-125.5	19.37 	 +14.7	    -14.7  +7.2	   -7.8	   +7.5	   -6.9
+125.5	19.12	 +999	    -999   +7.2	   -7.8	   +7.5	   -6.9

data/lhc-hxswg/sm/xs/8TeV/8TeV-ttH.txt
mH_GeV  XS_pb         Err_Hi    Err_Lo Sca_Hi  Sca_Lo  Pdf_Hi  Pdf_Lo
-125.5	0.1287	      +11.6	-17.1  +3.8    -9.3    +7.8    -7.8
+125.5	0.1277	      +999	-999   +3.8    -9.3    +8.1    -8.1

data/lhc-hxswg/sm/xs/8TeV/8TeV-vbfH.txt
mH_GeV  XS_pb   Err_Hi     Err_Lo Sca_Hi  Sca_Lo  Pdf_Hi  Pdf_Lo
-125.5	1.573	+2.8	   -3.0	  +0.2	  -0.2	  +2.6	  -2.8
+125.5	1.573	+999	   -999	  +0.2	  -0.2	  +2.6	  -2.8
Fixed newlines at end of file and a lot of \r (^M) in 7TeV ggH.
Merge pull request #39 from adavidzh/update_xsbr_yr3

Update XS and BR values to YR3. Thanks to Guillelmo for the cross-check.