ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/AnalysisFramework/Plotting/Modules/Plotting_Functions.C
Revision 1.121 - (view) (annotate) - [select for diffs]
Wed Apr 18 12:29:07 2012 UTC (13 years ago) by fronga
Branch: MAIN
CVS Tags: HEAD, cbaf_4_98ifb_paper
Changes since 1.120: +48 -32 lines
Diff to previous 1.120
Changes for the paper (merged with HEAD).

Revision 1.120 - (view) (annotate) - [select for diffs]
Wed Mar 21 16:10:59 2012 UTC (13 years, 1 month ago) by buchmann
Branch: MAIN
CVS Tags: beforeFR20120418
Changes since 1.119: +5 -5 lines
Diff to previous 1.119
Writing MC true instead of MC observed

Revision 1.119 - (view) (annotate) - [select for diffs]
Fri Mar 9 17:06:56 2012 UTC (13 years, 2 months ago) by buchmann
Branch: MAIN
Changes since 1.118: +43 -23 lines
Diff to previous 1.118
Adapted pred plot for overflow bin

Revision 1.118 - (view) (annotate) - [select for diffs]
Wed Feb 15 13:04:25 2012 UTC (13 years, 2 months ago) by buchmann
Branch: MAIN
Changes since 1.117: +1 -1 lines
Diff to previous 1.117
Slightly modified plot illustrating the composition of our background prediction (Bpred_Data_____PredictionComposition): now jzb<0 is below sidebands/emu

Revision 1.117 - (view) (annotate) - [select for diffs]
Wed Feb 15 12:43:18 2012 UTC (13 years, 2 months ago) by buchmann
Branch: MAIN
Changes since 1.116: +22 -15 lines
Diff to previous 1.116
Slightly modified plot illustrating the composition of our background prediction (Bpred_Data_____PredictionComposition)

Revision 1.116 - (view) (annotate) - [select for diffs]
Thu Feb 9 07:30:13 2012 UTC (13 years, 3 months ago) by buchmann
Branch: MAIN
Changes since 1.115: +18 -16 lines
Diff to previous 1.115
Updated 'Bpred_Data_____PredictionComposition' (i.e. composition of the prediction) to be more comprehensible and less busy

Revision 1.115 - (view) (annotate) - [select for diffs]
Wed Jan 18 14:12:06 2012 UTC (13 years, 3 months ago) by fronga
Branch: MAIN
CVS Tags: cbaf_4p7ifb
Changes since 1.114: +39 -29 lines
Diff to previous 1.114
Modified ratio plot for data.
Additional mll plot.
Consistent use of DrawMCPrelim for MC.

Revision 1.114 - (view) (annotate) - [select for diffs]
Tue Jan 10 13:49:37 2012 UTC (13 years, 3 months ago) by pablom
Branch: MAIN
Changes since 1.113: +12 -7 lines
Diff to previous 1.113
Adapted range for efficiency_curve_jzb and new option in DrawPrelim. If the input argument is 0 no luminosity tag is added to the text.

Revision 1.113 - (view) (annotate) - [select for diffs]
Thu Dec 15 10:56:20 2011 UTC (13 years, 4 months ago) by buchmann
Branch: MAIN
Changes since 1.112: +7 -5 lines
Diff to previous 1.112
Added 'cms preliminary' text to new plots; removed jzb plots with coarsest binning (never used them)

Revision 1.112 - (view) (annotate) - [select for diffs]
Thu Dec 15 09:02:48 2011 UTC (13 years, 4 months ago) by buchmann
Branch: MAIN
Changes since 1.111: +32 -20 lines
Diff to previous 1.111
Also saving JZB data vs mc for JZB>0 only (instead of full range) to compare it to Bpred plot; using mcjzb variable for mc, datajzb variable for data

Revision 1.111 - (view) (annotate) - [select for diffs]
Thu Dec 8 16:11:53 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.110: +35 -14 lines
Diff to previous 1.110
Updated Z+Jets systematics plot

Revision 1.110 - (view) (annotate) - [select for diffs]
Wed Dec 7 16:16:28 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.109: +48 -24 lines
Diff to previous 1.109
Several new features: Bpred_Data now has a new version showing the two contributions: Z+Jets and TTbar prediction; several plots now have fixed binning size that makes sense (i.e. 5 GeV bins instead of like 5.2398754839 GeV); enabled SMS signal vs bg plot (loading all SMS zones, and unloading them) [keep in mind that you need to have ScanSampleDirectory set to 'SMS/' in Setup.C for this to work in the first place]

Revision 1.109 - (view) (annotate) - [select for diffs]
Tue Dec 6 09:50:50 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.108: +4 -1 lines
Diff to previous 1.108
Added minor cleanup for new plot

Revision 1.108 - (view) (annotate) - [select for diffs]
Tue Dec 6 09:43:57 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.107: +46 -6 lines
Diff to previous 1.107
Fixed lines for mll plot (showing the Z peak window); added a plot showing the composition of the background prediction (for data) in a colorful way; adapted lower boundary of Bpred plots (MC and MC w/ S)

Revision 1.107 - (view) (annotate) - [select for diffs]
Mon Dec 5 14:26:03 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.106: +2 -1 lines
Diff to previous 1.106
Updated range for JZB plots

Revision 1.106 - (view) (annotate) - [select for diffs]
Thu Dec 1 20:21:03 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.105: +19 -15 lines
Diff to previous 1.105
Moved peak finding without PURW for z+jets systematic into the corresponding function to tidy up a bit

Revision 1.105 - (view) (annotate) - [select for diffs]
Thu Dec 1 11:31:42 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.104: +2 -3 lines
Diff to previous 1.104
Added little info line to have trigger requirement in log files; Made legend for ttbar systematics plot smaller so it won't cover points anymore ...

Revision 1.104 - (view) (annotate) - [select for diffs]
Wed Nov 30 10:35:07 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.103: +20 -26 lines
Diff to previous 1.103
Forcing the x axis range for JZB plot (with ratio); adapted the line position for the ttbar systematic uncertainty plot; reset mll comparison plot x range

Revision 1.103 - (view) (annotate) - [select for diffs]
Tue Nov 29 10:12:33 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.102: +9 -0 lines
Diff to previous 1.102
TTbar systematics ratio plot now has a y axis label that makes sense; binning for ttbar systematics shape plot goes to -125 (as before); legend is in the same place for both systematics plots

Revision 1.102 - (view) (annotate) - [select for diffs]
Mon Nov 28 16:18:03 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.101: +145 -23 lines
Diff to previous 1.101
Adapted binning for ttbar systematics plot so tails become more easily interpretable

Revision 1.101 - (view) (annotate) - [select for diffs]
Thu Nov 24 08:22:59 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.100: +8 -0 lines
Diff to previous 1.100
Make sure the ResultLibrary is loaded in configuration template

Revision 1.100 - (view) (annotate) - [select for diffs]
Wed Nov 23 13:50:56 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.99: +1 -1 lines
Diff to previous 1.99
Always producing ratio plot for kin plots

Revision 1.99 - (view) (annotate) - [select for diffs]
Tue Nov 22 14:52:51 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.98: +2 -3 lines
Diff to previous 1.98
Some minor fixes (correct dataname for kin plots, correct right margin for exclusion plots

Revision 1.98 - (view) (annotate) - [select for diffs]
Tue Nov 22 13:03:01 2011 UTC (13 years, 5 months ago) by fronga
Branch: MAIN
Changes since 1.97: +89 -3 lines
Diff to previous 1.97
Added JZB efficiency plot and possibility to get peak without PU reweighting

Revision 1.97 - (view) (annotate) - [select for diffs]
Wed Nov 16 09:25:40 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.96: +1 -1 lines
Diff to previous 1.96
Updated todo list (ratio plot on same canvas implemented; need to have a second look at the x range though)

Revision 1.96 - (view) (annotate) - [select for diffs]
Wed Nov 9 12:13:46 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.95: +12 -12 lines
Diff to previous 1.95
Reduced verbose compiling output (e.g. double instead of float and such)

Revision 1.95 - (view) (annotate) - [select for diffs]
Tue Nov 8 13:01:20 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.94: +51 -4 lines
Diff to previous 1.94
Added a plot to illustrate the jet energy scale uncertainty

Revision 1.94 - (view) (annotate) - [select for diffs]
Tue Nov 8 08:42:06 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.93: +7 -8 lines
Diff to previous 1.93
Saving to template updated for BZJ

Revision 1.93 - (view) (annotate) - [select for diffs]
Mon Nov 7 15:19:19 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.92: +2 -2 lines
Diff to previous 1.92
Extended y range for prediction ratio plot

Revision 1.92 - (view) (annotate) - [select for diffs]
Mon Nov 7 11:25:20 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.91: +102 -27 lines
Diff to previous 1.91
Ratio plot (with jzb ratio binning) directly on bpred plot; adapted draw_ratio_on_canvas to more intuitive save_with_ratio (which saves the canvas along with a canvas also containing the ratio [suffix _withratio); implemented saving of flipped template; and some extras ...

Revision 1.91 - (view) (annotate) - [select for diffs]
Thu Nov 3 10:41:08 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.90: +106 -2 lines
Diff to previous 1.90
Added --met option to display yields for a given jzb / met cut

Revision 1.90 - (view) (annotate) - [select for diffs]
Fri Oct 28 14:55:48 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.89: +9 -4 lines
Diff to previous 1.89
Writing 'Opposite flavor' instead of 'OSOF' and 'Same flavor' instead of 'OSSF'; also adapted legend size for those two cases so the font is the same size

Revision 1.89 - (view) (annotate) - [select for diffs]
Thu Oct 27 08:11:20 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.88: +5 -2 lines
Diff to previous 1.88
region comparison plots now go up to 200 GeV

Revision 1.88 - (view) (annotate) - [select for diffs]
Wed Oct 26 13:43:51 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.87: +38 -14 lines
Diff to previous 1.87
Also draw background only background prediction on b+s background prediction plot

Revision 1.87 - (view) (annotate) - [select for diffs]
Tue Oct 25 11:17:40 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.86: +16 -14 lines
Diff to previous 1.86
Doing ttbar comparison also for offpeak analysis

Revision 1.86 - (view) (annotate) - [select for diffs]
Tue Oct 25 10:04:56 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.85: +4 -6 lines
Diff to previous 1.85
Can now easily switch between versions

Revision 1.85 - (view) (annotate) - [select for diffs]
Tue Oct 25 06:49:07 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.84: +1 -2 lines
Diff to previous 1.84
only delete lm4 histo if it was actually created

Revision 1.84 - (view) (annotate) - [select for diffs]
Tue Oct 25 06:28:33 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.83: +8 -5 lines
Diff to previous 1.83
Potential memory leak fix conditional: only needed when RTMP

Revision 1.83 - (view) (annotate) - [select for diffs]
Mon Oct 24 15:05:37 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.82: +180 -104 lines
Diff to previous 1.82
Upgrade from HoneyPot to IceCreamBowl: merged in offpeak stuff, different warning color for frederic, saving to rootfile, only 3 attempts when computing limits and much, much more

Revision 1.82 - (view) (annotate) - [select for diffs]
Mon Oct 24 12:15:06 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
CVS Tags: Honeypot
Changes since 1.81: +28 -2 lines
Diff to previous 1.81
Added option which automatically generates the table with the total number of events observed in the auxiliary region |JZB|>30 GeV u |JZB|< 50 GeV for the OFZP and OFSB

Revision 1.81 - (view) (annotate) - [select for diffs]
Fri Oct 14 15:47:32 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
CVS Tags: cbaf_2p1ifb
Changes since 1.80: +66 -0 lines
Diff to previous 1.80
Added MC yield computation function (can be called via --yield)

Revision 1.80 - (view) (annotate) - [select for diffs]
Thu Oct 13 11:11:55 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.79: +6 -6 lines
Diff to previous 1.79
Adapted ratio plot for ttbar sideband comparison to make it more easily readable

Revision 1.79 - (view) (annotate) - [select for diffs]
Thu Oct 13 09:51:31 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.78: +15 -4 lines
Diff to previous 1.78
Changed the way ratios are drawn; no more smoothing.

Revision 1.78 - (view) (annotate) - [select for diffs]
Thu Oct 13 07:44:34 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.77: +30 -4 lines
Diff to previous 1.77
Drawing lines on mll plots to illustrate sidebands

Revision 1.77 - (view) (annotate) - [select for diffs]
Wed Oct 12 15:40:43 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.76: +1 -1 lines
Diff to previous 1.76
Changed y axis label for sideband comparison plot (Pas v4 fig 4b

Revision 1.76 - (view) (annotate) - [select for diffs]
Mon Sep 26 15:51:13 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.75: +2 -4 lines
Diff to previous 1.75
Updated todo list

Revision 1.75 - (view) (annotate) - [select for diffs]
Thu Sep 22 11:39:53 2011 UTC (13 years, 7 months ago) by fronga
Branch: MAIN
Changes since 1.74: +7 -1 lines
Diff to previous 1.74
TTbar comparison: make shape comparison with finer bins.

Revision 1.74 - (view) (annotate) - [select for diffs]
Wed Sep 21 12:50:02 2011 UTC (13 years, 7 months ago) by fronga
Branch: MAIN
Changes since 1.73: +23 -37 lines
Diff to previous 1.73
Reverted back to fixed binning, but use 50GeV bins.

Revision 1.73 - (view) (annotate) - [select for diffs]
Tue Sep 20 21:52:34 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.72: +34 -19 lines
Diff to previous 1.72
Optimized binning only for ttbar sideband ratio plot, the other one gets the old binning back (separate histos)

Revision 1.72 - (view) (annotate) - [select for diffs]
Tue Sep 20 16:45:44 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.71: +46 -18 lines
Diff to previous 1.71
Passing ratio binning to sideband comparison

Revision 1.71 - (view) (annotate) - [select for diffs]
Tue Sep 20 14:00:54 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.70: +3 -1 lines
Diff to previous 1.70
also doing ratio plot for mll_osof;

Revision 1.70 - (view) (annotate) - [select for diffs]
Tue Sep 20 12:25:08 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.69: +3 -3 lines
Diff to previous 1.69
Also doing ratio plot for m_{ee} and m_{mm}; for response plot in MC explicitly writing CMS MC Preliminary (...)

Revision 1.69 - (view) (annotate) - [select for diffs]
Mon Sep 19 15:37:13 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.68: +9 -2 lines
Diff to previous 1.68
Adapted ratio plot so the axes are legible and the ratio plot doesn't cover the mll histo anymore

Revision 1.68 - (view) (annotate) - [select for diffs]
Mon Sep 19 14:03:20 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.67: +20 -2 lines
Diff to previous 1.67
Saving the y scale for the mll (ossf) plot, and reusing it for the osof mll plot

Revision 1.67 - (view) (annotate) - [select for diffs]
Thu Sep 15 15:50:34 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.66: +7 -5 lines
Diff to previous 1.66
All plots containing a ratio plot are saved twice, once with and once without the ratio plot (referring to kin. vars)

Revision 1.66 - (view) (annotate) - [select for diffs]
Thu Sep 15 15:05:53 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.65: +2 -0 lines
Diff to previous 1.65
Updated y range for OSOF mll plots

Revision 1.65 - (view) (annotate) - [select for diffs]
Thu Sep 15 15:03:01 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.64: +9 -9 lines
Diff to previous 1.64
Updated binning and range for mll plots

Revision 1.64 - (view) (annotate) - [select for diffs]
Tue Sep 13 15:30:19 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.63: +9 -1 lines
Diff to previous 1.63
Added a variable (RestrictToMassPeak) to switch off peak analysis option on and off; at the moment there are only warnings as placeholders in order to avoid any possible interference with the current (pre)approval workflow

Revision 1.63 - (view) (annotate) - [select for diffs]
Mon Sep 12 14:34:47 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.62: +6 -2 lines
Diff to previous 1.62
Reacting to several comments about plots: The ratio plot for MC now has the standard MC header (the legend is thus drawn without the prelim header), and the number of bins in the ratio plot of the sideband comparison is reduced (now 20 GeV bins instead of 10 GeV)

Revision 1.62 - (view) (annotate) - [select for diffs]
Fri Sep 9 14:53:18 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.61: +22 -2 lines
Diff to previous 1.61
Adapted ttbar sideband comparison legend; providing good start parameters for Bpred fit function that can be used instead of partial fitting to go right to the final fitting

Revision 1.61 - (view) (annotate) - [select for diffs]
Fri Sep 9 09:28:57 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.60: +5 -2 lines
Diff to previous 1.60
Not drawing legend anymore for ratio plots

Revision 1.60 - (view) (annotate) - [select for diffs]
Fri Sep 9 08:44:25 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.59: +14 -4 lines
Diff to previous 1.59
For plots without PURW the weight is now automatically set to 1 (no need to change the config every time); the n(vtx) plot now goes up to 20; ratio legend is smaller;

Revision 1.59 - (view) (annotate) - [select for diffs]
Thu Sep 8 15:44:39 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.58: +9 -8 lines
Diff to previous 1.58
Ratio plot: Neither fit nor 50% syst drawn on ratio plot anymore. Scale from 0 to 4

Revision 1.58 - (view) (annotate) - [select for diffs]
Wed Sep 7 19:55:44 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57
simulated lumi defaults to official lumi

Revision 1.57 - (view) (annotate) - [select for diffs]
Tue Sep 6 12:22:47 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56
Don't draw lm4 for official plots

Revision 1.56 - (view) (annotate) - [select for diffs]
Mon Sep 5 16:12:01 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.55: +5 -0 lines
Diff to previous 1.55
Now also drawing LM4 on comparison plots

Revision 1.55 - (view) (annotate) - [select for diffs]
Mon Sep 5 14:28:17 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.54: +4 -0 lines
Diff to previous 1.54
Activating over/underflow bins for comparison plots

Revision 1.54 - (view) (annotate) - [select for diffs]
Mon Sep 5 14:02:25 2011 UTC (13 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.53: +1 -1 lines
Diff to previous 1.53
Use 1/fb as benchmark for signal vs. bkgd comparison.

Revision 1.53 - (view) (annotate) - [select for diffs]
Mon Sep 5 13:59:33 2011 UTC (13 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.52: +1 -2 lines
Diff to previous 1.52
Also use standard CMS style for LM4 signal vs. bkgd comparison.

Revision 1.52 - (view) (annotate) - [select for diffs]
Mon Sep 5 13:31:57 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.51: +9 -9 lines
Diff to previous 1.51
Adapted y axis of comparison plots for 2 /fb

Revision 1.51 - (view) (annotate) - [select for diffs]
Fri Sep 2 09:41:51 2011 UTC (13 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.50: +16 -15 lines
Diff to previous 1.50
Make zjets and ttbar legends in line with standards.

Revision 1.50 - (view) (annotate) - [select for diffs]
Thu Sep 1 13:18:18 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.49: +1 -5 lines
Diff to previous 1.49
Removing doublechecks and drawing lm4

Revision 1.49 - (view) (annotate) - [select for diffs]
Thu Sep 1 12:57:59 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.48: +7 -1 lines
Diff to previous 1.48
LM4 now also on SMS bg vs sig plot (and dirty hack to get Create_All_Plots working)

Revision 1.48 - (view) (annotate) - [select for diffs]
Thu Aug 25 19:53:17 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.47: +1 -1 lines
Diff to previous 1.47
Changed the search name for data in the response correction as this could have triggered a problem when replacing the data sample (possible segfault)

Revision 1.47 - (view) (annotate) - [select for diffs]
Thu Aug 25 14:24:00 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.46: +11 -60 lines
Diff to previous 1.46
Removed unnecessary lines in PlottingFunctions, removed potential memory leaks, added new kind of header for MC

Revision 1.46 - (view) (annotate) - [select for diffs]
Thu Aug 25 14:10:19 2011 UTC (13 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.45: +7 -0 lines
Diff to previous 1.45
Set minimum in Bpred so that 1 event in one of the control regions still appears.
Also, always plot observed distribution on top (re-drawing).

Revision 1.45 - (view) (annotate) - [select for diffs]
Thu Aug 25 13:34:15 2011 UTC (13 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.44: +172 -78 lines
Diff to previous 1.44
Added plots for Z+jets systematics estimate.
Improved signal+bkgd plots (LM4 and SMSes).

Revision 1.44 - (view) (annotate) - [select for diffs]
Thu Aug 25 13:08:52 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.43: +23 -20 lines
Diff to previous 1.43
Adapted signal vs background plots so they are normalized to 1 /fb

Revision 1.43 - (view) (annotate) - [select for diffs]
Thu Aug 25 10:30:44 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42
Adapted ttbar ratio plot as well to conform with official notation

Revision 1.42 - (view) (annotate) - [select for diffs]
Thu Aug 25 10:26:23 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.41: +9 -7 lines
Diff to previous 1.41
Adapted ttbar comparison plot in accordance with the official notation

Revision 1.41 - (view) (annotate) - [select for diffs]
Thu Aug 25 08:46:06 2011 UTC (13 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40
Correcting legend for "cool plot" (this is obviously not only the ZP region...)

Revision 1.40 - (view) (annotate) - [select for diffs]
Wed Aug 24 19:43:54 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.39: +111 -0 lines
Diff to previous 1.39
Added ttbar comparison plot (sidebands vs peak etc.)

Revision 1.39 - (view) (annotate) - [select for diffs]
Wed Aug 24 15:13:41 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.38: +28 -27 lines
Diff to previous 1.38
Changed the signal vs background plot (it's now normalized); changed the analytical background prediction procedure (more changes coming up though)

Revision 1.38 - (view) (annotate) - [select for diffs]
Tue Aug 23 07:29:46 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.37: +129 -14 lines
Diff to previous 1.37
Adding several features and cleaning up a bit: \n - Added a new analytical description of the prediction shape, based on a Z+Jets crystal ball fit and a ttbar logpar fit; the two are combined (see code for more info or ask me) \n - Changed name of template function (which essentially writes a template of the results to a file for use in the context of simplified model scans \n - Updated todo list (will hopefully get less entries soon) \n - Removed some unncessary lines

Revision 1.37 - (view) (annotate) - [select for diffs]
Fri Aug 19 17:05:20 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.36: +2 -0 lines
Diff to previous 1.36
Fixing an issue with similarly named variables (lumi and luminosity; the former is now called gentoolboxlumi, as it is only set in the general toolbox at one point and forgotten afterwards)

Revision 1.36 - (view) (annotate) - [select for diffs]
Wed Aug 17 14:14:45 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.35: +1 -1 lines
Diff to previous 1.35
First commits towards Poisson ratio plots

Revision 1.35 - (view) (annotate) - [select for diffs]
Wed Aug 17 09:58:37 2011 UTC (13 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.34: +50 -17 lines
Diff to previous 1.34
- Add posibility to include ratio plot in insert frame.
- Remove CB fit from Bpred plot.
- Add bin width in y-axis labels.
- Adapt histogram range in comparison plots.

Revision 1.34 - (view) (annotate) - [select for diffs]
Wed Aug 17 09:22:58 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.33: +2 -0 lines
Diff to previous 1.33
Fixed two potential memory leaks

Revision 1.33 - (view) (annotate) - [select for diffs]
Tue Aug 16 14:54:55 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.32: +1 -1 lines
Diff to previous 1.32
cometic change:removed a std::setprecision(2) entry

Revision 1.32 - (view) (annotate) - [select for diffs]
Tue Aug 16 14:51:41 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.31: +29 -16 lines
Diff to previous 1.31
Adapted response correction function; basically it now calculates the response in one go directly from the fit to the histo that gets drawn; furthermore, the result gets written on the canvas

Revision 1.31 - (view) (annotate) - [select for diffs]
Tue Aug 16 11:49:03 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.30: +99 -2 lines
Diff to previous 1.30
Added some more plots of signal vs background, using SMS with different mass deltas (100,200,400,800)

Revision 1.30 - (view) (annotate) - [select for diffs]
Tue Aug 16 07:36:11 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.29: +23 -0 lines
Diff to previous 1.29
Now providing the option to run ./Create_All_Plots.exec 1 to calculate peak positions, observed and predicted yields, and save all information in a file that can then be used for the susy model scans; this means that all these steps are just once and the data can then be used, instead of having each job redo this.

Revision 1.29 - (view) (annotate) - [select for diffs]
Mon Aug 15 12:36:14 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28
Removed compatibility with root v5.18

Revision 1.28 - (view) (annotate) - [select for diffs]
Mon Aug 15 08:11:01 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.27: +5 -5 lines
Diff to previous 1.27
Getting rid of some potential memory leaks (due to cloning) and a seg fault

Revision 1.27 - (view) (annotate) - [select for diffs]
Mon Aug 15 07:40:17 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.26: +3 -2 lines
Diff to previous 1.26
Fixed segfault in make_comp_plot (from rev 1.24) and potential memory leak in make_comp_plot (from rev. 1.25)

Revision 1.26 - (view) (annotate) - [select for diffs]
Wed Aug 10 10:52:21 2011 UTC (13 years, 9 months ago) by fronga
Branch: MAIN
Changes since 1.25: +32 -20 lines
Diff to previous 1.25
Improved response plot.
Improved region comparison plots.

Revision 1.25 - (view) (annotate) - [select for diffs]
Tue Aug 9 13:51:34 2011 UTC (13 years, 9 months ago) by fronga
Branch: MAIN
Changes since 1.24: +66 -19 lines
Diff to previous 1.24
Added function to make comparison plots between different regions.

Revision 1.24 - (view) (annotate) - [select for diffs]
Mon Aug 8 14:20:06 2011 UTC (13 years, 9 months ago) by fronga
Branch: MAIN
Changes since 1.23: +151 -104 lines
Diff to previous 1.23
Several updates for the AN:
- Implement name and color conventions for the control and signal regions;
- improved legends and generally plots' style;
- add switch to overlay LM4 signal or not;
- make sure plots have the same scale (e.g., by always plotting data first);
- removed 1-sigma poisson envelope in Bpred plot (needs some work);
- harmonized x-axis ranges;
- added function for ZP region [is_ZP(TCut& cut)];

Revision 1.23 - (view) (annotate) - [select for diffs]
Wed Jul 27 14:04:45 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.22: +33 -25 lines
Diff to previous 1.22
Unified binning between ratio and jzb plots; the corresponding jzb plots now have a postfix 'coarse' as they are x2 coarser than the original binning with 10GeV bins instead of 5 GeV

Revision 1.22 - (view) (annotate) - [select for diffs]
Wed Jul 20 14:36:08 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.21: +6 -1 lines
Diff to previous 1.21
Added a todo function to keep sight of tasks ahead

Revision 1.21 - (view) (annotate) - [select for diffs]
Wed Jul 20 08:51:33 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.20: +24 -23 lines
Diff to previous 1.20
Adapted the output; all output is now written on screen and to a file simultaneously

Revision 1.20 - (view) (annotate) - [select for diffs]
Tue Jul 19 08:15:45 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.19: +1 -361 lines
Diff to previous 1.19
Moved different limit calculation functions to separate module to unclutter Plotting_Functions; moved unneeded functions to the dusty module

Revision 1.19 - (view) (annotate) - [select for diffs]
Fri Jul 15 14:43:33 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.18: +25 -3 lines
Diff to previous 1.18
Adapted naming of pt1 plot; added skeleton of computation of upper limits based on counting experiment

Revision 1.18 - (view) (annotate) - [select for diffs]
Fri Jul 15 06:52:40 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.17: +11 -0 lines
Diff to previous 1.17
Added more plots (mll split up for ee/mm); fixed one potential memory leak

Revision 1.17 - (view) (annotate) - [select for diffs]
Thu Jul 14 15:48:51 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.16: +143 -118 lines
Diff to previous 1.16
Several style improvements (e.g. [GeV] instead of (GeV), larger markers (more easily visible) etc.

Revision 1.16 - (view) (annotate) - [select for diffs]
Wed Jul 13 14:23:57 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15
Updated style: exponent is now legible, cut isn't drawn on top anymore. CMS Preliminary 2011 (etc.) is now right above the plot, allowing the legend to take up more space.

Revision 1.15 - (view) (annotate) - [select for diffs]
Tue Jul 12 12:57:45 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.14: +0 -282 lines
Diff to previous 1.14
Moved away deprecated functions and studies

Revision 1.14 - (view) (annotate) - [select for diffs]
Mon Jul 11 22:03:09 2011 UTC (13 years, 10 months ago) by buchmann
Branch: MAIN
Changes since 1.13: +1 -0 lines
Diff to previous 1.13
Response plot now with log z

Revision 1.13 - (view) (annotate) - [select for diffs]
Mon Jul 11 21:57:48 2011 UTC (13 years, 10 months ago) by buchmann
Branch: MAIN
Changes since 1.12: +125 -8 lines
Diff to previous 1.12
Updated background prediction definition to reflect latest definition; introduced response correction plots

Revision 1.12 - (view) (annotate) - [select for diffs]
Fri Jul 8 14:53:46 2011 UTC (13 years, 10 months ago) by buchmann
Branch: MAIN
Changes since 1.11: +39 -27 lines
Diff to previous 1.11
Added several plots to understand sidebands better; made sideband definition global (now in Setup.C)

Revision 1.11 - (view) (annotate) - [select for diffs]
Fri Jul 8 06:20:31 2011 UTC (13 years, 10 months ago) by buchmann
Branch: MAIN
Changes since 1.10: +153 -26 lines
Diff to previous 1.10
Introduced some very early and preliminary sideband checks; fixed bug in Create_All_Plots (global canvas was passed to a lot of functions and at some point wasn't saved correctly anymore); added response correction function (correcting for |pfmet-pt|/pt deficiency); changed the fitting function (cb_fit_...) to return the result (functions) as a vector with 0 being the down variation, 1 the central and 2 the up variation instead of using global tf1s that could be (falsely) misused; updated to sample with 1068 /pb; introduced very simplistic histo integral function (to be improved); other changes ...

Revision 1.10 - (view) (annotate) - [select for diffs]
Wed Jul 6 13:00:26 2011 UTC (13 years, 10 months ago) by buchmann
Branch: MAIN
Changes since 1.9: +47 -148 lines
Diff to previous 1.9
Updated the ttbar extraction function to get rid of old stuff and take advantage of the new cb_fit function

Revision 1.9 - (view) (annotate) - [select for diffs]
Wed Jul 6 11:32:16 2011 UTC (13 years, 10 months ago) by buchmann
Branch: MAIN
Changes since 1.8: +46 -35 lines
Diff to previous 1.8
Updated pt dependent jzb correction

Revision 1.8 - (view) (annotate) - [select for diffs]
Wed Jul 6 10:58:41 2011 UTC (13 years, 10 months ago) by buchmann
Branch: MAIN
Changes since 1.7: +108 -34 lines
Diff to previous 1.7
Changed ttbar test algorithm as well; Introduced correction term for jzb (based on pt)

Revision 1.7 - (view) (annotate) - [select for diffs]
Tue Jul 5 16:28:17 2011 UTC (13 years, 10 months ago) by buchmann
Branch: MAIN
Changes since 1.6: +56 -14 lines
Diff to previous 1.6
Now obtaining ttbar normalization thru fit with a combined CrystalBall function instead of using TFractionFitter

Revision 1.6 - (view) (annotate) - [select for diffs]
Tue Jul 5 13:07:36 2011 UTC (13 years, 10 months ago) by buchmann
Branch: MAIN
Changes since 1.5: +154 -40 lines
Diff to previous 1.5
TTbar presentation update

Revision 1.5 - (view) (annotate) - [select for diffs]
Mon Jul 4 08:10:04 2011 UTC (13 years, 10 months ago) by buchmann
Branch: MAIN
Changes since 1.4: +19 -25 lines
Diff to previous 1.4
Adapted fitting with signal contamination

Revision 1.4 - (view) (annotate) - [select for diffs]
Sun Jul 3 16:03:31 2011 UTC (13 years, 10 months ago) by buchmann
Branch: MAIN
Changes since 1.3: +80 -112 lines
Diff to previous 1.3
Taking signal contamination into account

Revision 1.3 - (view) (annotate) - [select for diffs]
Thu Jun 30 15:22:45 2011 UTC (13 years, 10 months ago) by buchmann
Branch: MAIN
Changes since 1.2: +178 -9 lines
Diff to previous 1.2
Shapes of backgrounds (from data) added and updated

Revision 1.2 - (view) (annotate) - [select for diffs]
Thu Jun 30 09:37:29 2011 UTC (13 years, 10 months ago) by buchmann
Branch: MAIN
Changes since 1.1: +77 -1 lines
Diff to previous 1.1
Looking into Z+Jets and TTbar shapes (from data); Added band for LogParabola

Revision 1.1 - (view) (annotate) - [select for diffs]
Thu Jun 30 08:25:56 2011 UTC (13 years, 10 months ago) by buchmann
Branch: MAIN
Moved Setup and Functions into separate files in order to make central file short and crisp

Convenience Links

Links to HEAD: (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