ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/AnalysisFramework/Plotting/Modules/Systematics.C
Revision 1.57 - (view) (annotate) - [select for diffs]
Thu Dec 1 11:29:48 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
CVS Tags: HEAD, beforeFR20120418, cbaf_4_98ifb_paper, cbaf_4p7ifb
Changes since 1.56: +7 -7 lines
Diff to previous 1.56
Removed Weight from Setup (possible confusion since primary weight is defined in SampleClass [cutWeight]); now only one weight is present, cutWeight, in SampleClass. Adapted systematics calculation to use cutWeight instead of PlottingSetup::Weight

Revision 1.56 - (view) (annotate) - [select for diffs]
Fri Nov 25 17:07:41 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.55: +7 -7 lines
Diff to previous 1.55
Update to be ready for GMSB

Revision 1.55 - (view) (annotate) - [select for diffs]
Thu Nov 24 08:15:39 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.54: +1 -1 lines
Diff to previous 1.54
Only display peak error result if requested (i.e. automatized mode is off)

Revision 1.54 - (view) (annotate) - [select for diffs]
Wed Nov 23 16:39:56 2011 UTC (13 years, 5 months ago) by pablom
Branch: MAIN
Changes since 1.53: +8 -2 lines
Diff to previous 1.53
New MET efficiency added.

Revision 1.53 - (view) (annotate) - [select for diffs]
Tue Nov 22 13:02:09 2011 UTC (13 years, 5 months ago) by fronga
Branch: MAIN
Changes since 1.52: +12 -11 lines
Diff to previous 1.52
Added JZB efficiency plot

Revision 1.52 - (view) (annotate) - [select for diffs]
Mon Nov 21 19:04:28 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51
Removed potential memory leak in PartialEfficiency

Revision 1.51 - (view) (annotate) - [select for diffs]
Thu Nov 10 15:16:32 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.50: +6 -8 lines
Diff to previous 1.50
Corrected bug when using experimental flipped mode (lead to problem when evaluating JES and JSU, giving infinity)

Revision 1.50 - (view) (annotate) - [select for diffs]
Wed Nov 9 16:50:36 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.49: +20 -17 lines
Diff to previous 1.49
Updated systematic treatment to have trigger eff considered

Revision 1.49 - (view) (annotate) - [select for diffs]
Wed Nov 9 14:25:05 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.48: +1 -0 lines
Diff to previous 1.48
Keeping return format intact for special uses (i.e. replace original reso entry by 0)

Revision 1.48 - (view) (annotate) - [select for diffs]
Wed Nov 9 14:18:17 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.47: +12 -13 lines
Diff to previous 1.47
Adapted systematics (updated JES, removed unused resolution)

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

Revision 1.46 - (view) (annotate) - [select for diffs]
Wed Nov 9 10:55:25 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.45: +0 -2 lines
Diff to previous 1.45
Deactivated automatized mode a long time ago (since we actually want to have this information in the logs for scans) so no need for special warnings

Revision 1.45 - (view) (annotate) - [select for diffs]
Mon Nov 7 15:08:39 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.44: +81 -49 lines
Diff to previous 1.44
Updated Systematics to allow 'flipping' (BZJ)

Revision 1.44 - (view) (annotate) - [select for diffs]
Thu Nov 3 10:38:18 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.43: +1 -1 lines
Diff to previous 1.43
Only write warning that we're in verbose mode once for PDFs

Revision 1.43 - (view) (annotate) - [select for diffs]
Thu Oct 27 10:19:41 2011 UTC (13 years, 6 months ago) by pablom
Branch: MAIN
Changes since 1.42: +70 -2 lines
Diff to previous 1.42
Calculation of partial efficiencies.

Revision 1.42 - (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.41: +107 -66 lines
Diff to previous 1.41
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.41 - (view) (annotate) - [select for diffs]
Wed Oct 19 10:36:31 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
CVS Tags: Honeypot, cbaf_2p1ifb
Changes since 1.40: +2 -4 lines
Diff to previous 1.40
fixing an issue that appeared for 2 points in mSUGRA space

Revision 1.40 - (view) (annotate) - [select for diffs]
Thu Sep 29 07:36:13 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.39: +5 -0 lines
Diff to previous 1.39
Added warning for invalid trees

Revision 1.39 - (view) (annotate) - [select for diffs]
Thu Sep 29 07:34:20 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.38: +20 -17 lines
Diff to previous 1.38
Only evaluating all systematics if the efficiency is not zero

Revision 1.38 - (view) (annotate) - [select for diffs]
Wed Sep 28 16:00:49 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37
Also specifying goff (was removed for tests)

Revision 1.37 - (view) (annotate) - [select for diffs]
Wed Sep 28 15:59:39 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.36: +2 -5 lines
Diff to previous 1.36
Removing some comments

Revision 1.36 - (view) (annotate) - [select for diffs]
Wed Sep 28 15:58:09 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.35: +13 -4 lines
Diff to previous 1.35
Improving the user experience by clearly separating the summary box from the rest of the information

Revision 1.35 - (view) (annotate) - [select for diffs]
Mon Sep 26 15:37:39 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.34: +5 -5 lines
Diff to previous 1.34
Activated efficiencies as a part of the return value (was previously still commented out)

Revision 1.34 - (view) (annotate) - [select for diffs]
Mon Sep 26 15:28:38 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.33: +7 -2 lines
Diff to previous 1.33
Returning efficiency without signalcontamination along with all other information in do_systematics_for_one_file

Revision 1.33 - (view) (annotate) - [select for diffs]
Mon Sep 26 15:09:41 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.32: +8 -3 lines
Diff to previous 1.32
 Corrected output to console; MCEfficiency now also returns efficiencies without signal contamination (for efficiencyWOsigcont map)

Revision 1.32 - (view) (annotate) - [select for diffs]
Tue Sep 20 12:17:24 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.31: +22 -8 lines
Diff to previous 1.31
Preparing for mSUGRA: If the number of JZB>X events is small, fitting will cause problems (avoiding this now); per lepton efficiency adapted

Revision 1.31 - (view) (annotate) - [select for diffs]
Wed Sep 7 13:30:58 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.30: +2 -0 lines
Diff to previous 1.30
Making Systematics.C compile on Macs as well

Revision 1.30 - (view) (annotate) - [select for diffs]
Wed Sep 7 06:43:24 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.29: +1 -1 lines
Diff to previous 1.29
Updated function description so others and future me will still know what the processMCefficiency function is supposed to do

Revision 1.29 - (view) (annotate) - [select for diffs]
Wed Sep 7 06:42:21 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.28: +17 -1 lines
Diff to previous 1.28
Added advanced MC efficiency calculation for individual processes (to compute total XS)

Revision 1.28 - (view) (annotate) - [select for diffs]
Mon Sep 5 13:48:42 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.27: +1 -1 lines
Diff to previous 1.27
Uncertainty from trigger efficiency updated (now 5%)

Revision 1.27 - (view) (annotate) - [select for diffs]
Thu Sep 1 15:41:32 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.26: +2 -1 lines
Diff to previous 1.26
Don't retrieve nPDFs either for LM points

Revision 1.26 - (view) (annotate) - [select for diffs]
Thu Sep 1 09:27:46 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.25: +7 -4 lines
Diff to previous 1.25
Establishing backward compatibility for LM points

Revision 1.25 - (view) (annotate) - [select for diffs]
Wed Aug 31 13:04:10 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.24: +1 -4 lines
Diff to previous 1.24
This is the definitive implementation of the PDF uncertainties

Revision 1.24 - (view) (annotate) - [select for diffs]
Wed Aug 31 11:34:16 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.23: +34 -18 lines
Diff to previous 1.23
Adapted PDF uncertainty; this is note definitive yet, only a first study

Revision 1.23 - (view) (annotate) - [select for diffs]
Wed Aug 31 10:21:17 2011 UTC (13 years, 8 months ago) by pablom
Branch: MAIN
Changes since 1.22: +89 -6 lines
Diff to previous 1.22
Added calculation of PDF uncertainty.

Revision 1.22 - (view) (annotate) - [select for diffs]
Wed Aug 31 06:53:52 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.21: +7 -1 lines
Diff to previous 1.21
Readied SUSY scan, setup and systematics; included PDF placeholder

Revision 1.21 - (view) (annotate) - [select for diffs]
Mon Aug 29 06:30:21 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.20: +12 -4 lines
Diff to previous 1.20
Implemented switch for signal contamination

Revision 1.20 - (view) (annotate) - [select for diffs]
Fri Aug 26 12:16:43 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19
Updated MC efficiency error (for signal contamination)

Revision 1.19 - (view) (annotate) - [select for diffs]
Wed Aug 17 17:15:14 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.18: +8 -5 lines
Diff to previous 1.18
Less output and combined error

Revision 1.18 - (view) (annotate) - [select for diffs]
Wed Aug 17 17:07:18 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.17: +30 -29 lines
Diff to previous 1.17
Replaced the percent jungle with numbers in the [0,1] range, making the code much more legible

Revision 1.17 - (view) (annotate) - [select for diffs]
Wed Aug 17 14:55:51 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16
Provide a bit more information about the MC efficiency

Revision 1.16 - (view) (annotate) - [select for diffs]
Wed Aug 17 11:07:24 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.15: +0 -1 lines
Diff to previous 1.15
Removed cout used during testing

Revision 1.15 - (view) (annotate) - [select for diffs]
Wed Aug 17 11:06:50 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14
Fixed a bug in the efficiency calculation which lead to a problem with the limit computation

Revision 1.14 - (view) (annotate) - [select for diffs]
Tue Aug 16 19:03:48 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.13: +6 -3 lines
Diff to previous 1.13
Adapted systematics; now MC eff is based on Nentries

Revision 1.13 - (view) (annotate) - [select for diffs]
Tue Aug 16 17:08:40 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.12: +7 -6 lines
Diff to previous 1.12
Changed the way the efficiencies are calculated; merged susy scan for efficiencies, nevents, limits, and systematics into one function

Revision 1.12 - (view) (annotate) - [select for diffs]
Mon Aug 15 12:04:27 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.11: +4 -2 lines
Diff to previous 1.11
Now also in systematics vector (3rd argument) of do_systematics_for_one_file : JES, JSU, Resolution; this is so that SUSYScan functions can retrieve this information

Revision 1.11 - (view) (annotate) - [select for diffs]
Fri Jul 22 21:40:21 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10
Requiring 3 jets in selection explicitly now for MC efficiency

Revision 1.10 - (view) (annotate) - [select for diffs]
Fri Jul 22 14:47:39 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.9: +26 -16 lines
Diff to previous 1.9
Version compatible with SUSY scan

Revision 1.9 - (view) (annotate) - [select for diffs]
Fri Jul 22 10:14:16 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.8: +2 -1 lines
Diff to previous 1.8
Generalized MC efficiency a tidbit by allowing additional cuts (required for SUSY scan files to cut on gluon and LSP mass)

Revision 1.8 - (view) (annotate) - [select for diffs]
Thu Jul 21 08:26:12 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.7: +34 -24 lines
Diff to previous 1.7
Added option for systematics to require a Z explicitly

Revision 1.7 - (view) (annotate) - [select for diffs]
Wed Jul 20 13:58:05 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.6: +49 -29 lines
Diff to previous 1.6
Adapted peak systematic (now activated by default)

Revision 1.6 - (view) (annotate) - [select for diffs]
Wed Jul 20 12:28:08 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.5: +86 -20 lines
Diff to previous 1.5
Added possibly superfluous additional systematic uncertainty; the value is calculated but currently deactivated, thus doesn't go into the total systematic at the moment (this can be changed easily by removing // on line 362

Revision 1.5 - (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.4: +35 -34 lines
Diff to previous 1.4
Adapted the output; all output is now written on screen and to a file simultaneously

Revision 1.4 - (view) (annotate) - [select for diffs]
Tue Jul 19 15:00:10 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.3: +44 -32 lines
Diff to previous 1.3
Adapted systematics treatment (just output) and formats to pass them to the limit calculation

Revision 1.3 - (view) (annotate) - [select for diffs]
Tue Jul 19 09:28:30 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.2: +5 -5 lines
Diff to previous 1.2
Changed jet number

Revision 1.2 - (view) (annotate) - [select for diffs]
Tue Jul 19 07:04:41 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.1: +21 -14 lines
Diff to previous 1.1
Adapted systematic calculation by introducing the possibility to calculate both JZB >X GeV and JZB <X GeV; adapted to include peak and response correction

Revision 1.1 - (view) (annotate) - [select for diffs]
Fri Jul 15 10:40:43 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Initial commit of systematics script

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