ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/AnalysisFramework/Plotting/Modules/SUSYScan.C
Revision 1.68 - (view) (annotate) - [select for diffs]
Thu Jan 19 08:45:48 2012 UTC (13 years, 3 months ago) by buchmann
Branch: MAIN
CVS Tags: HEAD, beforeFR20120418, cbaf_4_98ifb_paper, cbaf_4p7ifb
Changes since 1.67: +25 -5 lines
Diff to previous 1.67
Added maps containing the imposed x value (read from directory name) and the measured x value (if available); adapted CRAB caching method (for retries)

Revision 1.67 - (view) (annotate) - [select for diffs]
Thu Dec 15 12:34:39 2011 UTC (13 years, 4 months ago) by buchmann
Branch: MAIN
Changes since 1.66: +3 -2 lines
Diff to previous 1.66
Fixed exception when downloading the first file fails to download (initilize variable is only set after the first file is successfully loaded)

Revision 1.66 - (view) (annotate) - [select for diffs]
Sun Nov 27 11:08:55 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.65: +10 -6 lines
Diff to previous 1.65
Updated v4 data; switched to GMSB

Revision 1.65 - (view) (annotate) - [select for diffs]
Fri Nov 25 17:19:49 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.64: +3 -1 lines
Diff to previous 1.64
Update to be ready for GMSB

Revision 1.64 - (view) (annotate) - [select for diffs]
Fri Nov 25 17:13:28 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.63: +66 -39 lines
Diff to previous 1.63
Update to be ready for GMSB

Revision 1.63 - (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.62: +19 -5 lines
Diff to previous 1.62
New MET efficiency added.

Revision 1.62 - (view) (annotate) - [select for diffs]
Mon Nov 21 22:14:04 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.61: +46 -48 lines
Diff to previous 1.61
Switched from 'fill' to 'setbincontent' to avoid filling any quantity twice

Revision 1.61 - (view) (annotate) - [select for diffs]
Mon Nov 21 19:03:53 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60
Removed potential memory leak in PartialEfficiency; removed possible double counting when only computing systematics in scans

Revision 1.60 - (view) (annotate) - [select for diffs]
Wed Nov 16 14:50:33 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.59: +0 -2 lines
Diff to previous 1.59
Removed remaining calls to getaddrinfo to improve site compatibilty

Revision 1.59 - (view) (annotate) - [select for diffs]
Wed Nov 16 13:41:30 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.58: +1 -0 lines
Diff to previous 1.58
Two new features: the time limit for the limit capsule algorithm is raised for the crab case (1h); if the algorithm runs into this limit three times (i.e. fails completely) a file is placed in 'exchange' which is then detected by the run script, as the algorithm counts as failed at this point, and the CRAB jobs will be considered failed

Revision 1.58 - (view) (annotate) - [select for diffs]
Sun Nov 13 18:45:31 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.57: +1 -0 lines
Diff to previous 1.57
Avoid confusion by aso printing loade file

Revision 1.57 - (view) (annotate) - [select for diffs]
Thu Nov 10 17:09:32 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.56: +8 -4 lines
Diff to previous 1.56
Switched back from full hostname to only hostname; the reason is that quite a few sites have problems with getaddrinfo leading to crashes

Revision 1.56 - (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.55: +51 -51 lines
Diff to previous 1.55
Reduced verbose compiling output (e.g. double instead of float and such)

Revision 1.55 - (view) (annotate) - [select for diffs]
Wed Nov 9 10:56:59 2011 UTC (13 years, 5 months ago) by buchmann
Branch: MAIN
Changes since 1.54: +9 -6 lines
Diff to previous 1.54
Scan sample is now defined in Setup; this is to ensure that the same directory is used everywhere (to switch between sms&msugra you still need to adapt the name in activesamples though)

Revision 1.54 - (view) (annotate) - [select for diffs]
Tue Nov 8 08:45:29 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53
Better detection of host for scans (plus safety check before deleting anything)

Revision 1.53 - (view) (annotate) - [select for diffs]
Tue Nov 8 08:43:18 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.52: +14 -10 lines
Diff to previous 1.52
Better detection of host for scans (plus safety check before deleting anything)

Revision 1.52 - (view) (annotate) - [select for diffs]
Mon Nov 7 15:22:22 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.51: +34 -18 lines
Diff to previous 1.51
Updated scans for flipped analysis

Revision 1.51 - (view) (annotate) - [select for diffs]
Fri Nov 4 10:41:32 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.50: +16 -1 lines
Diff to previous 1.50
change in susy scan (systematics&efficiencies): when using crab try to load the file from cscs; if it fails, retry up to 4 times. in case of constant failure give up and report error

Revision 1.50 - (view) (annotate) - [select for diffs]
Thu Nov 3 10:39:40 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.49: +76 -83 lines
Diff to previous 1.49
Updated usage of cross section reader code; updated susy scan code for usage with crab

Revision 1.49 - (view) (annotate) - [select for diffs]
Fri Oct 28 14:54:46 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.48: +8 -2 lines
Diff to previous 1.48
Also added absolute cross section (simple sum of unweighted channel xs)

Revision 1.48 - (view) (annotate) - [select for diffs]
Thu Oct 27 13:56:29 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.47: +39 -13 lines
Diff to previous 1.47
Updated mSUGRA xs

Revision 1.47 - (view) (annotate) - [select for diffs]
Thu Oct 27 08:53:43 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.46: +71 -4 lines
Diff to previous 1.46
Merging Pablo's changes to obtain partial scan efficiencies in the framework

Revision 1.46 - (view) (annotate) - [select for diffs]
Thu Oct 27 08:13:32 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
Changes since 1.45: +21 -56 lines
Diff to previous 1.45
Remove previous limit calculation wrappers for SUSY scans (now using timed limit capsule); implemented weighted xs

Revision 1.45 - (view) (annotate) - [select for diffs]
Wed Oct 19 10:34:40 2011 UTC (13 years, 6 months ago) by buchmann
Branch: MAIN
CVS Tags: Honeypot, cbaf_2p1ifb
Changes since 1.44: +1 -1 lines
Diff to previous 1.44
evaluate PDF uncertainties for SMS and mSUGRA not only for mSUGRA

Revision 1.44 - (view) (annotate) - [select for diffs]
Thu Sep 29 09:46:45 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.43: +4 -4 lines
Diff to previous 1.43
Removing diagonal requirement for mSUGRA (only necessary for SMS)

Revision 1.43 - (view) (annotate) - [select for diffs]
Thu Sep 29 07:40:43 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.42: +13 -4 lines
Diff to previous 1.42
Loading only required scan zone; unloading the previous one when getting to the next point if required (reducing memory consumption)

Revision 1.42 - (view) (annotate) - [select for diffs]
Wed Sep 28 19:45:35 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.41: +20 -7 lines
Diff to previous 1.41
Loading only the scan files we need and not all of them; this optimizes both memory usage and startup times

Revision 1.41 - (view) (annotate) - [select for diffs]
Wed Sep 28 16:35:29 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.40: +1 -1 lines
Diff to previous 1.40
Activating susy scan zones for systematics computation

Revision 1.40 - (view) (annotate) - [select for diffs]
Wed Sep 28 15:31:25 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.39: +19 -11 lines
Diff to previous 1.39
Adapted the susy scan algorithm for testing to be able to split scan into zones

Revision 1.39 - (view) (annotate) - [select for diffs]
Tue Sep 27 12:10:33 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.38: +6 -2 lines
Diff to previous 1.38
Defining jzbsel for the systematics->limits step as well; switching automatized mode off;

Revision 1.38 - (view) (annotate) - [select for diffs]
Tue Sep 27 08:09:32 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.37: +4 -8 lines
Diff to previous 1.37
Corrected some book keeping variable ('ipoint')

Revision 1.37 - (view) (annotate) - [select for diffs]
Mon Sep 26 15:43:37 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.36: +86 -23 lines
Diff to previous 1.36
Several improvements: 1) Added expected limits (as requested); 2) Added efficiency without signal contamination as an additional th2; 3) Changed label of histos; 4) changed the order of the systematics (to establish compatibility with older files without PDF); 5) Added a 'timemap' so we can see which points take up the most time; 6) Switched expected limits on; 7) Switched XS weighting off completely for the moment (it's for mSUGRA scans later on)

Revision 1.36 - (view) (annotate) - [select for diffs]
Thu Sep 22 14:41:00 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.35: +17 -4 lines
Diff to previous 1.35
Added time map illustrating how long each point took for processing (to find ressource hogs)

Revision 1.35 - (view) (annotate) - [select for diffs]
Tue Sep 13 09:18:42 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.34: +108 -81 lines
Diff to previous 1.34
Added functions to allowe exclusion plot (get_xs)

Revision 1.34 - (view) (annotate) - [select for diffs]
Mon Sep 12 19:06:15 2011 UTC (13 years, 7 months ago) by buchmann
Branch: MAIN
Changes since 1.33: +9 -4 lines
Diff to previous 1.33
Checking limit before entering it into limit map (check to see if it's not an error code); providing more output; TEMPORARILY switched to Pablo's naming convention (to be reverted, the code will complain automatically); informing the user when skipping a point. Systematics2Limits now pretty much ready for review.

Revision 1.33 - (view) (annotate) - [select for diffs]
Wed Sep 7 06:37:47 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.32: +2 -4 lines
Diff to previous 1.32
Fixed bug in efficiency map

Revision 1.32 - (view) (annotate) - [select for diffs]
Wed Sep 7 06:30:25 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.31: +31 -4 lines
Diff to previous 1.31
This version contains the new format for systematics files; these files are then used by the LimitsFromSystematics scripts to compute upper limits and make exclusion plots. The systematics scan part is done, the part computing exclusion maps and so on is still being worked on

Revision 1.31 - (view) (annotate) - [select for diffs]
Tue Sep 6 20:23:00 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.30: +130 -5 lines
Diff to previous 1.30
Fixed issue in systematics only workflow which could lead to mc efficiencies not being recorded correctly

Revision 1.30 - (view) (annotate) - [select for diffs]
Tue Sep 6 11:01:35 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29
SUSY points are skipped if they have less than 10 events

Revision 1.29 - (view) (annotate) - [select for diffs]
Fri Sep 2 12:52:56 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.28: +4 -2 lines
Diff to previous 1.28
Updated limit patience algorithm; it now floods the log files about 80% less

Revision 1.28 - (view) (annotate) - [select for diffs]
Fri Sep 2 09:45:40 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.27: +2 -1 lines
Diff to previous 1.27
Now also saving pileup information in standard limit scenario. Corrected remaining time output (only user experience modification, no 'active code')

Revision 1.27 - (view) (annotate) - [select for diffs]
Thu Sep 1 16:23:46 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.26: +25 -1 lines
Diff to previous 1.26
Added more maps for susy scan (for systematics)

Revision 1.26 - (view) (annotate) - [select for diffs]
Thu Sep 1 15:43:46 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25
Adapted plot names for limits

Revision 1.25 - (view) (annotate) - [select for diffs]
Thu Sep 1 11:01:42 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.24: +6 -4 lines
Diff to previous 1.24
General overhaul to move to the roostats_cl95 script; this means changes in all parts using limits such as the SUSY scan module and the limits module but also all modules and parts loading these parts. Changes in: SUSYModule, Create_All_Plots, various_studies, LimitCalculation, DistributedModelCalculation/{Systematics/SystematicsWorkerScript,Limits/LimitWorkerScript,Efficiency/EfficiencyWorkerScript} . This will require quite a bit of testing ....

Revision 1.24 - (view) (annotate) - [select for diffs]
Wed Aug 31 11:38:26 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.23: +13 -4 lines
Diff to previous 1.23
Updated the way an mSUGRA scan is identified (via title instead of filename); added an ipoint map so that any possible holes in a map can be easily traced back to the individual point

Revision 1.23 - (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.22: +9 -7 lines
Diff to previous 1.22
Included SMS/mSUGRA info in maps as well (for plotting later on)

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: +55 -141 lines
Diff to previous 1.21
Readied SUSY scan, setup and systematics; included PDF placeholder

Revision 1.21 - (view) (annotate) - [select for diffs]
Tue Aug 23 07:07:47 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.20: +0 -2 lines
Diff to previous 1.20
Removing superfluous second fill of Nevents

Revision 1.20 - (view) (annotate) - [select for diffs]
Fri Aug 19 17:15:37 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19
Providing more information on screen about points that passed the basic test

Revision 1.19 - (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.18: +1 -1 lines
Diff to previous 1.18
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.18 - (view) (annotate) - [select for diffs]
Fri Aug 19 16:21:52 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.17: +7 -0 lines
Diff to previous 1.17
Also writing systematics and Nevents as well as the efficiency to the output, not just filling the histos ...

Revision 1.17 - (view) (annotate) - [select for diffs]
Wed Aug 17 17:27:40 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.16: +11 -5 lines
Diff to previous 1.16
Now storing everything we calculate in simplified model scans (though not plotting afterwards) so we can recycle the files

Revision 1.16 - (view) (annotate) - [select for diffs]
Wed Aug 17 11:08:31 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.15: +0 -1 lines
Diff to previous 1.15
Skipping empty points now with a message instead of silently ignoring them

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: +7 -6 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 17:08:40 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.13: +4 -76 lines
Diff to previous 1.13
Changed the way the efficiencies are calculated; merged susy scan for efficiencies, nevents, limits, and systematics into one function

Revision 1.13 - (view) (annotate) - [select for diffs]
Tue Aug 16 11:47:31 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.12: +47 -12 lines
Diff to previous 1.12
Updated SUSY scan functions to provide the new possbilities ('pre-fetching') and significantly speed up limit, efficiency and systematics calculations

Revision 1.12 - (view) (annotate) - [select for diffs]
Mon Aug 15 12:38:15 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.11: +3 -1 lines
Diff to previous 1.11
Adapted name for systematics only calculation

Revision 1.11 - (view) (annotate) - [select for diffs]
Mon Aug 15 12:35:49 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.10: +5 -5 lines
Diff to previous 1.10
Minor bugfix (else in the wrong place)

Revision 1.10 - (view) (annotate) - [select for diffs]
Mon Aug 15 11:54:29 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.9: +5 -2 lines
Diff to previous 1.9
Providing an additional argument if we only want to compute the systematics

Revision 1.9 - (view) (annotate) - [select for diffs]
Mon Aug 15 09:19:45 2011 UTC (13 years, 8 months ago) by buchmann
Branch: MAIN
Changes since 1.8: +85 -34 lines
Diff to previous 1.8
Adapted SUSY scan to also permit only getting systematics instead of limit calculation (see also DistributeModelCalculation/Systematics)

Revision 1.8 - (view) (annotate) - [select for diffs]
Mon Aug 8 14:12:09 2011 UTC (13 years, 9 months ago) by fronga
Branch: MAIN
Changes since 1.7: +1 -2 lines
Diff to previous 1.7
Making gcc happy...

Revision 1.7 - (view) (annotate) - [select for diffs]
Wed Jul 27 16:30:45 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.6: +57 -7 lines
Diff to previous 1.6
Now using threads and limit calculation wrapper to stop calculation for points where the algorithm encounters local minima

Revision 1.6 - (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.5: +38 -7 lines
Diff to previous 1.5
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.5 - (view) (annotate) - [select for diffs]
Mon Jul 25 06:49:34 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.4: +10 -6 lines
Diff to previous 1.4
Not adding zeros for nan anymore but simply skipping nan's (for upper limits and efficiencies)

Revision 1.4 - (view) (annotate) - [select for diffs]
Fri Jul 22 21:41:03 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.3: +79 -14 lines
Diff to previous 1.3
Introduced SUSY space search (limits)

Revision 1.3 - (view) (annotate) - [select for diffs]
Fri Jul 22 13:11:49 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.2: +4 -24 lines
Diff to previous 1.2
Deleted superfluous test function; changed binning to 'real' binning;

Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Jul 22 10:25:58 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Changes since 1.1: +19 -2 lines
Diff to previous 1.1
Now also plotting the number of events per point; adapted canvas layout to make n(events) fit; stretched the gradient a bit so that the maximum won't be white anymore

Revision 1.1 - (view) (annotate) - [select for diffs]
Fri Jul 22 10:15:34 2011 UTC (13 years, 9 months ago) by buchmann
Branch: MAIN
Moved SUSY space scan related functions to separate file

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