ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/Development/Plotting/Modules/MetPlotting.C
Revision 1.58 - (view) (annotate) - [select for diffs]
Tue Jun 25 12:50:12 2013 UTC (11 years, 10 months ago) by buchmann
Branch: MAIN
CVS Tags: HEAD
Changes since 1.57: +27 -2 lines
Diff to previous 1.57
Also printing yields for MET>80 and MET>100 when computing MET estimates from JZB mapping

Revision 1.57 - (view) (annotate) - [select for diffs]
Mon Jun 24 10:20:56 2013 UTC (11 years, 10 months ago) by buchmann
Branch: MAIN
Changes since 1.56: +48 -25 lines
Diff to previous 1.56
Added finner binning for Z lineshape to be able to normalize more accurately

Revision 1.56 - (view) (annotate) - [select for diffs]
Thu Jun 13 07:36:08 2013 UTC (11 years, 10 months ago) by buchmann
Branch: MAIN
Changes since 1.55: +61 -13 lines
Diff to previous 1.55
Writing eta range on plots; Making DY test more globally accessible (using EventZToTaus instead of expecting specific sample name); Using both Z prediction methods to get combined prediction

Revision 1.55 - (view) (annotate) - [select for diffs]
Sun May 12 20:22:01 2013 UTC (11 years, 11 months ago) by buchmann
Branch: MAIN
Changes since 1.54: +68 -28 lines
Diff to previous 1.54
Added lepton eta cut on metJZB plots; improved functions to permit using new iJZBAnalyzer program

Revision 1.54 - (view) (annotate) - [select for diffs]
Fri May 3 09:04:24 2013 UTC (12 years ago) by buchmann
Branch: MAIN
Changes since 1.53: +0 -44 lines
Diff to previous 1.53
Moved functions to produce yields for low mass region to general toolbox

Revision 1.53 - (view) (annotate) - [select for diffs]
Fri Apr 26 11:20:25 2013 UTC (12 years ago) by buchmann
Branch: MAIN
Changes since 1.52: +1 -1 lines
Diff to previous 1.52
making it a bit less verbose

Revision 1.52 - (view) (annotate) - [select for diffs]
Fri Apr 26 06:44:13 2013 UTC (12 years ago) by buchmann
Branch: MAIN
Changes since 1.51: +161 -97 lines
Diff to previous 1.51
Added MC yields, made sure everything starts at 20 GeV in the dileptonic mass distribution (no underflow from 15); added cross-checks; added much more information about control regions 1&2, also compatibility for Aachen; adapted code not to use smeared DY for MC yields (in order to be compatible with Aachen)

Revision 1.51 - (view) (annotate) - [select for diffs]
Tue Apr 9 14:13:08 2013 UTC (12 years ago) by buchmann
Branch: MAIN
Changes since 1.50: +51 -34 lines
Diff to previous 1.50
Adapted style towards congergence: E_{T}^{miss} instead of MET, N_{jets} instead of N_{J}, mll plots starting at 20 GeV, lines at 70 GeV (end of SR), 81 and 101 (Z region)

Revision 1.50 - (view) (annotate) - [select for diffs]
Fri Mar 22 17:17:20 2013 UTC (12 years, 1 month ago) by buchmann
Branch: MAIN
Changes since 1.49: +127 -10 lines
Diff to previous 1.49
Added function to compute r_{\mu e} ; split results up into ee/mm and split OF up into em/me

Revision 1.49 - (view) (annotate) - [select for diffs]
Tue Mar 19 14:37:07 2013 UTC (12 years, 1 month ago) by buchmann
Branch: MAIN
Changes since 1.48: +8 -16 lines
Diff to previous 1.48
Aachen moved to 20/20 - so should our code reproducing their results

Revision 1.48 - (view) (annotate) - [select for diffs]
Mon Mar 18 16:14:00 2013 UTC (12 years, 1 month ago) by buchmann
Branch: MAIN
Changes since 1.47: +24 -6 lines
Diff to previous 1.47
Added nice summary (very practical overview)

Revision 1.47 - (view) (annotate) - [select for diffs]
Mon Feb 25 15:40:17 2013 UTC (12 years, 2 months ago) by buchmann
Branch: MAIN
Changes since 1.46: +5 -4 lines
Diff to previous 1.46
Only use fat lines (2) when comparing data with data, not data vs mc

Revision 1.46 - (view) (annotate) - [select for diffs]
Fri Feb 15 22:24:23 2013 UTC (12 years, 2 months ago) by buchmann
Branch: MAIN
Changes since 1.45: +92 -28 lines
Diff to previous 1.45
Super re-enforce Aachen selection when in use (to avoid accidentally restricting the eta range through 'leptoncut', or computing the peak position with tight selection etc.

Revision 1.45 - (view) (annotate) - [select for diffs]
Fri Feb 1 11:42:49 2013 UTC (12 years, 3 months ago) by buchmann
Branch: MAIN
Changes since 1.44: +77 -8 lines
Diff to previous 1.44
Added MC yields for signal regions; added selection on each canvas; adapted y range for Aachen selection

Revision 1.44 - (view) (annotate) - [select for diffs]
Fri Jan 25 14:00:32 2013 UTC (12 years, 3 months ago) by buchmann
Branch: MAIN
Changes since 1.43: +20 -1 lines
Diff to previous 1.43
Added ee/mm ratio using the 2jet bin

Revision 1.43 - (view) (annotate) - [select for diffs]
Thu Jan 24 08:20:49 2013 UTC (12 years, 3 months ago) by buchmann
Branch: MAIN
Changes since 1.42: +57 -33 lines
Diff to previous 1.42
Added new plot to illustrate JZB prediction in accordance with our 'paper style'; updated saving method

Revision 1.42 - (view) (annotate) - [select for diffs]
Mon Jan 21 14:44:22 2013 UTC (12 years, 3 months ago) by buchmann
Branch: MAIN
Changes since 1.41: +19 -25 lines
Diff to previous 1.41
New MET plot style

Revision 1.41 - (view) (annotate) - [select for diffs]
Tue Dec 11 09:11:11 2012 UTC (12 years, 4 months ago) by buchmann
Branch: MAIN
Changes since 1.40: +120 -14 lines
Diff to previous 1.40
Added ratio with systematic band

Revision 1.40 - (view) (annotate) - [select for diffs]
Tue Dec 4 12:24:02 2012 UTC (12 years, 5 months ago) by fronga
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39
Draw MC stack with option "hist"

Revision 1.39 - (view) (annotate) - [select for diffs]
Tue Nov 13 13:44:03 2012 UTC (12 years, 5 months ago) by fronga
Branch: MAIN
Changes since 1.38: +131 -58 lines
Diff to previous 1.38
Added MC expectation for CR. Some cleanup.

Revision 1.38 - (view) (annotate) - [select for diffs]
Thu Oct 11 09:05:24 2012 UTC (12 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.37: +0 -2 lines
Diff to previous 1.37
Added y range for plots; added frederic's Z+Jets r_{in/out} ratio; added check for Aachen selection; made it more verbose; added pt spectrum for comparison

Revision 1.37 - (view) (annotate) - [select for diffs]
Thu Oct 11 09:03:55 2012 UTC (12 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.36: +134 -22 lines
Diff to previous 1.36
Added y range for plots; added frederic's Z+Jets r_{in/out} ratio; added check for Aachen selection; made it more verbose; added pt spectrum for comparison

Revision 1.36 - (view) (annotate) - [select for diffs]
Fri Oct 5 14:08:42 2012 UTC (12 years, 7 months ago) by fronga
Branch: MAIN
Changes since 1.35: +168 -46 lines
Diff to previous 1.35
Added R_inout plots.

Revision 1.35 - (view) (annotate) - [select for diffs]
Wed Sep 19 17:14:23 2012 UTC (12 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.34: +9 -9 lines
Diff to previous 1.34
Changed MET prediction mode to high purity (i.e. 10 GeV window instead of 20 GeV window); added HT requirement for Aachen selection again for JZB-based MET Z estimate (what a word...)

Revision 1.34 - (view) (annotate) - [select for diffs]
Wed Sep 19 15:33:46 2012 UTC (12 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.33: +1 -6 lines
Diff to previous 1.33
box mll cut lowered to 70 in preparation of z-day

Revision 1.33 - (view) (annotate) - [select for diffs]
Wed Sep 19 11:18:09 2012 UTC (12 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.32: +9 -25 lines
Diff to previous 1.32
Adapted scaling from new Z window to low mass region

Revision 1.32 - (view) (annotate) - [select for diffs]
Wed Sep 19 09:16:24 2012 UTC (12 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.31: +32 -7 lines
Diff to previous 1.31
Updated window to 10 GeV around 91 GeV

Revision 1.31 - (view) (annotate) - [select for diffs]
Tue Sep 18 20:57:41 2012 UTC (12 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
Using JZB estimate directly in plots

Revision 1.30 - (view) (annotate) - [select for diffs]
Tue Sep 18 20:56:43 2012 UTC (12 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.29: +185 -13 lines
Diff to previous 1.29
Using JZB estimate directly in plots

Revision 1.29 - (view) (annotate) - [select for diffs]
Thu Sep 13 20:39:50 2012 UTC (12 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.28: +3 -1 lines
Diff to previous 1.28
Only restore previous over/underflow bin status, don't automatically switch it on after peak determination

Revision 1.28 - (view) (annotate) - [select for diffs]
Thu Sep 13 20:34:40 2012 UTC (12 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.27: +98 -26 lines
Diff to previous 1.27
Adapted DY MET prediction closure test style (what a sentence ... ); lowered systematic on DY in MET spectrum to 20%; added code to make it possible to switch PURW off

Revision 1.27 - (view) (annotate) - [select for diffs]
Thu Sep 13 09:44:34 2012 UTC (12 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.26: +2 -0 lines
Diff to previous 1.26
Turned off underflow bin globally. Switched on overflow bin for plots requiring it. Removed superfluous pred/obs ratio function which is in the general prediction function anyway; adapted the range of the prediction & observation histos so the overflow bin is shown

Revision 1.26 - (view) (annotate) - [select for diffs]
Thu Sep 13 07:39:57 2012 UTC (12 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.25: +19 -22 lines
Diff to previous 1.25
Cleaned up code (less verbose now)

Revision 1.25 - (view) (annotate) - [select for diffs]
Wed Sep 12 16:50:27 2012 UTC (12 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.24: +61 -52 lines
Diff to previous 1.24
Improved JZB based Z prediction for MET spectrum

Revision 1.24 - (view) (annotate) - [select for diffs]
Wed Sep 12 12:11:44 2012 UTC (12 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.23: +105 -20 lines
Diff to previous 1.23
Several changes: Direct estimate for interesting region; added high purity mode (|mll-mZ|<10); harmonized peak finding with used z window region; added safety check for aachen/eth regions; drawing systematic envelope (and twice the sys envelope as well in yellow)

Revision 1.23 - (view) (annotate) - [select for diffs]
Fri Sep 7 12:40:40 2012 UTC (12 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.22: +24 -14 lines
Diff to previous 1.22
Added explicit Aachen mode to compute Z estimate

Revision 1.22 - (view) (annotate) - [select for diffs]
Fri Sep 7 10:17:21 2012 UTC (12 years, 7 months ago) by fronga
Branch: MAIN
Changes since 1.21: +36 -40 lines
Diff to previous 1.21
Several fixes in the plots.
Set control region to NJets == 2.
CUTS FOR CR STILL NEED TO BE REVISED.

Revision 1.21 - (view) (annotate) - [select for diffs]
Thu Sep 6 15:22:54 2012 UTC (12 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.20: +26 -13 lines
Diff to previous 1.20
Deactivated JZB-based MET prediction for Z

Revision 1.20 - (view) (annotate) - [select for diffs]
Thu Sep 6 14:52:18 2012 UTC (12 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19
Fix bug!

Revision 1.19 - (view) (annotate) - [select for diffs]
Thu Sep 6 14:45:19 2012 UTC (12 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.18: +53 -42 lines
Diff to previous 1.18
Fixes.

Revision 1.18 - (view) (annotate) - [select for diffs]
Thu Sep 6 10:20:54 2012 UTC (12 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.17: +15 -10 lines
Diff to previous 1.17
Extracting peak position individually for each jet selection; refined Z peak estimate used on mll spectrum

Revision 1.17 - (view) (annotate) - [select for diffs]
Wed Sep 5 20:17:48 2012 UTC (12 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.16: +334 -127 lines
Diff to previous 1.16
Added z prediction for met spectrum with jzb-based sample splitting

Revision 1.16 - (view) (annotate) - [select for diffs]
Wed Sep 5 14:09:13 2012 UTC (12 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.15: +18 -11 lines
Diff to previous 1.15
Added protection against signal region. Unified file names. Fixed consistency in ZJets prediction for control region.

Revision 1.15 - (view) (annotate) - [select for diffs]
Tue Sep 4 16:58:12 2012 UTC (12 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.14: +5 -4 lines
Diff to previous 1.14
Fix legend for SF/OF comparison in MC.
Re-instantiate all plots by default.

Revision 1.14 - (view) (annotate) - [select for diffs]
Tue Sep 4 13:21:30 2012 UTC (12 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.13: +40 -17 lines
Diff to previous 1.13
Revert to mll>20. Add SF/OF comparison in MC.

Revision 1.13 - (view) (annotate) - [select for diffs]
Mon Sep 3 21:40:55 2012 UTC (12 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.12: +80 -6 lines
Diff to previous 1.12
Added control region subtraction plots; added r_{out/in}

Revision 1.12 - (view) (annotate) - [select for diffs]
Mon Sep 3 17:03:24 2012 UTC (12 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.11: +112 -0 lines
Diff to previous 1.11
Added jzb-based prediction studies

Revision 1.11 - (view) (annotate) - [select for diffs]
Fri Aug 31 08:02:39 2012 UTC (12 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.10: +13 -13 lines
Diff to previous 1.10
Adapt mll range to agreed selection.

Revision 1.10 - (view) (annotate) - [select for diffs]
Tue Aug 28 13:51:18 2012 UTC (12 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.9: +131 -99 lines
Diff to previous 1.9
Now with data/MC ratios!

Revision 1.9 - (view) (annotate) - [select for diffs]
Mon Aug 27 13:12:58 2012 UTC (12 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8
Re-instantiate fine binning (5 GeV) by default (sorry).

Revision 1.8 - (view) (annotate) - [select for diffs]
Mon Aug 27 13:11:21 2012 UTC (12 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.7: +92 -58 lines
Diff to previous 1.7
Also split in ee and mumu when comparing with MC.

Revision 1.7 - (view) (annotate) - [select for diffs]
Thu Aug 23 16:31:31 2012 UTC (12 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.6: +162 -58 lines
Diff to previous 1.6
Significantly pimped up the MET plots.
Now includes data/MC comparison (TODO: ratio plots!?).
Also includes MET150 region.

Marco-Andrea: please check for memory abuse ;)

Revision 1.6 - (view) (annotate) - [select for diffs]
Fri Aug 17 13:07:18 2012 UTC (12 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.5: +24 -11 lines
Diff to previous 1.5
Adapted range for Z lineshape scaling

Revision 1.5 - (view) (annotate) - [select for diffs]
Fri Aug 17 12:16:34 2012 UTC (12 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.4: +31 -3 lines
Diff to previous 1.4
Made another MET plot following Claudio's request.

Revision 1.4 - (view) (annotate) - [select for diffs]
Thu Aug 16 12:54:31 2012 UTC (12 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.3: +13 -23 lines
Diff to previous 1.3
Small refinements in MET plotting.

Revision 1.3 - (view) (annotate) - [select for diffs]
Wed Aug 15 13:52:13 2012 UTC (12 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.2: +54 -13 lines
Diff to previous 1.2
Added option to switch off sidebands for classic JZB

Revision 1.2 - (view) (annotate) - [select for diffs]
Tue Aug 14 12:09:04 2012 UTC (12 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.1: +12 -8 lines
Diff to previous 1.1
added options to met plotting

Revision 1.1 - (view) (annotate) - [select for diffs]
Mon Aug 13 15:00:52 2012 UTC (12 years, 8 months ago) by buchmann
Branch: MAIN
Added met cr/sr plots

Convenience Links

Links to HEAD: (view) (annotate) Links to MAIN: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a