ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/AnalysisFramework/Plotting/Modules/GeneralToolBox.C
Revision 1.39 - (view) (annotate) - [select for diffs]
Thu Oct 13 09:53:54 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
CVS Tags: Honeypot, cbaf_2p1ifb
Changes since 1.38: +0 -8 lines
Diff to previous 1.38
Removed duplicate flagging function

Revision 1.38 - (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.37: +123 -1 lines
Diff to previous 1.37
Changed the way ratios are drawn; no more smoothing.

Revision 1.37 - (view) (annotate) - [select for diffs]
Thu Sep 29 14:19:30 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.36: +1 -1 lines
Diff to previous 1.36
Flagging some changes

Revision 1.36 - (view) (annotate) - [select for diffs]
Thu Sep 29 14:16:17 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.35: +7 -0 lines
Diff to previous 1.35
Added a function to allow us to flag modified code segments and to verify that they have been double checked

Revision 1.35 - (view) (annotate) - [select for diffs]
Thu Sep 29 07:38:48 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.34: +52 -0 lines
Diff to previous 1.34
Added function to visualize memory consumption

Revision 1.34 - (view) (annotate) - [select for diffs]
Thu Sep 15 09:09:40 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.33: +14 -14 lines
Diff to previous 1.33
Save CBAF top directory in PlottingSetup namespace; this can be used e.g. for limit capsules and so on

Revision 1.33 - (view) (annotate) - [select for diffs]
Tue Sep 13 09:57:26 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.32: +49 -1 lines
Diff to previous 1.32
Added feature to save all plots (canvases) to a root file. The feature is currently deactivated (ROOT complains about filenames when opening the produced file, but displays all plots perfectly; since this is not exactly elegant it is deactivated ATM)

Revision 1.32 - (view) (annotate) - [select for diffs]
Tue Sep 6 10:39:13 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.31: +20 -1 lines
Diff to previous 1.31
Implemented an 'external' capsule called LimitCapsule to calculate the limits. If this capsule fails, it returns a non-zero exit code, prompting the script to run it again (up to five times).

Revision 1.31 - (view) (annotate) - [select for diffs]
Fri Sep 2 07:41:30 2011 UTC (13 years, 8 months ago) by fronga
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30
Modified legend to match standards (see https://hypernews.cern.ch/HyperNews/CMS/get/SUS-11-015/66/1/2/1/2/1.html ).

Revision 1.30 - (view) (annotate) - [select for diffs]
Wed Aug 31 10:12:14 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.29: +1 -1 lines
Diff to previous 1.29
Little bugfix in Contains function

Revision 1.29 - (view) (annotate) - [select for diffs]
Wed Aug 31 08:08:33 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.28: +11 -2 lines
Diff to previous 1.28
Included SMS/mSUGRA info in maps as well (for plotting later on)

Revision 1.28 - (view) (annotate) - [select for diffs]
Fri Aug 26 10:37:21 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.27: +58 -0 lines
Diff to previous 1.27
Added a neat little feature to have CBAF write the limit chart in TeX for us

Revision 1.27 - (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.26: +7 -13 lines
Diff to previous 1.26
Removed unnecessary lines in PlottingFunctions, removed potential memory leaks, added new kind of header for MC

Revision 1.26 - (view) (annotate) - [select for diffs]
Thu Aug 25 13:09:38 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.25: +32 -40 lines
Diff to previous 1.25
Adapted legend function so that one can draw a legend without the header; also, the header can now be drawn with a customized luminosity though it defaults to the official luminosity.

Revision 1.25 - (view) (annotate) - [select for diffs]
Wed Aug 24 19:41:58 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24
Making the CMS Prelim stuff a tiny bit larger

Revision 1.24 - (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.23: +4 -4 lines
Diff to previous 1.23
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.23 - (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.22: +4 -3 lines
Diff to previous 1.22
First commits towards Poisson ratio plots

Revision 1.22 - (view) (annotate) - [select for diffs]
Tue Aug 16 11:49:47 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.21: +27 -1 lines
Diff to previous 1.21
Some time functions to display the grace time for the limit calculation wrapper nicely

Revision 1.21 - (view) (annotate) - [select for diffs]
Tue Aug 16 07:36:26 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.20: +4 -0 lines
Diff to previous 1.20
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.20 - (view) (annotate) - [select for diffs]
Mon Aug 15 14:27:40 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19
Minimal change to keep the directory from getting too crowded (plots now saved in Plots subdirectory)

Revision 1.19 - (view) (annotate) - [select for diffs]
Mon Aug 15 07:02:49 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.18: +68 -0 lines
Diff to previous 1.18
Adapted fill_result_histos to only have functions that root 5.18 (i.e. my local installation) also has; since IntegralAndError is not part of that version, I've implemented it myself in the general toolbox, along with DoIntegral, using the exact code from root v5.30

Revision 1.18 - (view) (annotate) - [select for diffs]
Tue Aug 9 13:49:02 2011 UTC (13 years, 9 months ago) by fronga
Branch: MAIN
Changes since 1.17: +4 -2 lines
Diff to previous 1.17
Redraw canvas axes above plots before saving (with option to switch this off).

Revision 1.17 - (view) (annotate) - [select for diffs]
Mon Aug 8 14:21:16 2011 UTC (13 years, 9 months ago) by fronga
Branch: MAIN
Changes since 1.16: +5 -2 lines
Diff to previous 1.16
Small touches to the legend and luminosity labels.

Revision 1.16 - (view) (annotate) - [select for diffs]
Mon Jul 25 15:57:41 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.15: +21 -1 lines
Diff to previous 1.15
Updated scripts to permit processing in parallel. This affects function brokers but not the functions themselves. When being called the standard way (locally), no changes are in effect

Revision 1.15 - (view) (annotate) - [select for diffs]
Fri Jul 22 10:16:02 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.14: +8 -2 lines
Diff to previous 1.14
Added function to detect infinities; adapted titlebox to fit the new style

Revision 1.14 - (view) (annotate) - [select for diffs]
Wed Jul 20 12:26:53 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.13: +3 -1 lines
Diff to previous 1.13
Error log file now in LOGerr.txt

Revision 1.13 - (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.12: +105 -68 lines
Diff to previous 1.12
Adapted the output; all output is now written on screen and to a file simultaneously

Revision 1.12 - (view) (annotate) - [select for diffs]
Tue Jul 19 15:45:28 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.11: +54 -0 lines
Diff to previous 1.11
New feature (currently disabled) : Simultaneous output to file and screen

Revision 1.11 - (view) (annotate) - [select for diffs]
Fri Jul 15 10:12:05 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.10: +10 -0 lines
Diff to previous 1.10
Added a function for rounding

Revision 1.10 - (view) (annotate) - [select for diffs]
Thu Jul 14 15:49:37 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9
Adapted the size of the CMS Preliminary text and legends; The CMS Preliminary text is now at the top

Revision 1.9 - (view) (annotate) - [select for diffs]
Thu Jul 14 06:25:07 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8
Style update

Revision 1.8 - (view) (annotate) - [select for diffs]
Wed Jul 13 14:27:09 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.7: +11 -19 lines
Diff to previous 1.7
Nicer way to present prelim text

Revision 1.7 - (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.6: +44 -2 lines
Diff to previous 1.6
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.6 - (view) (annotate) - [select for diffs]
Tue Jul 12 10:41:27 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.5: +13 -0 lines
Diff to previous 1.5
Moved newjzbexpression function to GeneralToolBox

Revision 1.5 - (view) (annotate) - [select for diffs]
Fri Jul 8 14:52:00 2011 UTC (13 years, 10 months ago) by buchmann
Branch: MAIN
Changes since 1.4: +25 -6 lines
Diff to previous 1.4
Changed the way CMS Preliminary XYZ is drawn

Revision 1.4 - (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.3: +18 -2 lines
Diff to previous 1.3
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.3 - (view) (annotate) - [select for diffs]
Tue Jul 5 13:55:47 2011 UTC (13 years, 10 months ago) by buchmann
Branch: MAIN
Changes since 1.2: +24 -4 lines
Diff to previous 1.2
Adapted makehistofromfunction function to avoid objects with the same name

Revision 1.2 - (view) (annotate) - [select for diffs]
Thu Jun 30 16:07:50 2011 UTC (13 years, 10 months ago) by buchmann
Branch: MAIN
Changes since 1.1: +21 -0 lines
Diff to previous 1.1
Added function to convert function to histo

Revision 1.1 - (view) (annotate) - [select for diffs]
Wed Jun 22 11:07:37 2011 UTC (13 years, 10 months ago) by buchmann
Branch: MAIN
Initial commit of Plotting tools

Convenience Links

Links to HEAD: (view) (annotate) Links to Honeypot: (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