ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/RateMonShiftTool_dev/DatabaseRatePredictor.py
Revision 1.60 - (view) (annotate) - [select for diffs]
Wed Oct 3 11:36:09 2012 UTC (12 years, 7 months ago) by grchrist
Branch: MAIN
CVS Tags: V00-02-03
Changes since 1.59: +1 -1 lines
Diff to previous 1.59
changes for P5 deployment

Revision 1.59 - (view) (annotate) - [select for diffs]
Wed Sep 26 13:43:30 2012 UTC (12 years, 7 months ago) by grchrist
Branch: MAIN
CVS Tags: V00-02-01
Changes since 1.58: +71 -32 lines
Diff to previous 1.58
L1 monitoring

Revision 1.58 - (view) (annotate) - [select for diffs]
Wed Sep 12 08:57:10 2012 UTC (12 years, 7 months ago) by grchrist
Branch: MAIN
Changes since 1.57: +10 -6 lines
Diff to previous 1.57
New monitor list and cleaned up fits

Revision 1.57 - (view) (annotate) - [select for diffs]
Tue Sep 11 16:53:43 2012 UTC (12 years, 7 months ago) by awoodard
Branch: MAIN
Changes since 1.56: +8 -7 lines
Diff to previous 1.56
Fixing sigma calc in secondary mode to account for possibility num_ls != 1

Revision 1.56 - (view) (annotate) - [select for diffs]
Mon Aug 27 13:40:24 2012 UTC (12 years, 8 months ago) by awoodard
Branch: MAIN
Changes since 1.55: +6 -5 lines
Diff to previous 1.55
Fixing divide by zero error on line 580.

Revision 1.55 - (view) (annotate) - [select for diffs]
Thu Aug 23 17:18:46 2012 UTC (12 years, 8 months ago) by awoodard
Branch: MAIN
Changes since 1.54: +1 -5 lines
Diff to previous 1.54
bug fix

Revision 1.54 - (view) (annotate) - [select for diffs]
Thu Aug 23 16:58:31 2012 UTC (12 years, 8 months ago) by awoodard
Branch: MAIN
CVS Tags: V-00-01-10, V00-01-10
Changes since 1.53: +14 -9 lines
Diff to previous 1.53
fixing bug in rate mon sigma calculation

Revision 1.53 - (view) (annotate) - [select for diffs]
Wed Aug 22 16:28:48 2012 UTC (12 years, 8 months ago) by awoodard
Branch: MAIN
CVS Tags: V00-01-09
Changes since 1.52: +6 -3 lines
Diff to previous 1.52
Adding '--ShowAllBadRates' option

Revision 1.52 - (view) (annotate) - [select for diffs]
Thu Aug 16 15:10:07 2012 UTC (12 years, 8 months ago) by awoodard
Branch: MAIN
CVS Tags: V00-01-08
Changes since 1.51: +5 -5 lines
Diff to previous 1.51
changing certification plot default back to rawrate

Revision 1.51 - (view) (annotate) - [select for diffs]
Thu Aug 16 07:55:40 2012 UTC (12 years, 8 months ago) by awoodard
Branch: MAIN
Changes since 1.50: +4 -2 lines
Diff to previous 1.50
Changing deadtime correction to be consistent for rate and rawrate

Revision 1.50 - (view) (annotate) - [select for diffs]
Wed Aug 15 14:12:46 2012 UTC (12 years, 8 months ago) by awoodard
Branch: MAIN
Changes since 1.49: +20 -9 lines
Diff to previous 1.49
Adding back --AllTriggers option

Revision 1.49 - (view) (annotate) - [select for diffs]
Tue Aug 14 13:29:08 2012 UTC (12 years, 8 months ago) by awoodard
Branch: MAIN
Changes since 1.48: +0 -1 lines
Diff to previous 1.48
Removing testing print statement

Revision 1.48 - (view) (annotate) - [select for diffs]
Tue Aug 14 11:12:58 2012 UTC (12 years, 8 months ago) by awoodard
Branch: MAIN
Changes since 1.47: +37 -54 lines
Diff to previous 1.47
Fixing sigma calculation to account for number of ls averaged over

Revision 1.47 - (view) (annotate) - [select for diffs]
Thu Aug 9 12:01:40 2012 UTC (12 years, 8 months ago) by awoodard
Branch: MAIN
CVS Tags: V00-01-07
Changes since 1.46: +42 -103 lines
Diff to previous 1.46
Now makes a fit for prompt stream A if 'HLT_Stream_A' is included in the trigger list

Revision 1.46 - (view) (annotate) - [select for diffs]
Thu Aug 9 08:58:26 2012 UTC (12 years, 8 months ago) by muell149
Branch: MAIN
CVS Tags: V00-01-06
Changes since 1.45: +29 -7 lines
Diff to previous 1.45
updated module to rank nonlinear triggers

Revision 1.45 - (view) (annotate) - [select for diffs]
Fri Jul 20 10:01:21 2012 UTC (12 years, 9 months ago) by awoodard
Branch: MAIN
CVS Tags: V00-01-01, V00-01-02, V00-01-03, V00-01-04, V00-01-05
Changes since 1.44: +13 -9 lines
Diff to previous 1.44
Updating error calculation to use Chi2 error instead of percent difference for RateMonitor

Revision 1.44 - (view) (annotate) - [select for diffs]
Wed Jul 18 09:18:20 2012 UTC (12 years, 9 months ago) by grchrist
Branch: MAIN
CVS Tags: V00-00-34
Changes since 1.43: +2 -2 lines
Diff to previous 1.43
fixed fitting bug

Revision 1.43 - (view) (annotate) - [select for diffs]
Mon Jul 16 09:15:33 2012 UTC (12 years, 9 months ago) by grchrist
Branch: MAIN
CVS Tags: V00-00-33
Changes since 1.42: +33 -21 lines
Diff to previous 1.42
now does all fits, fixed bug in reconstruction of expo fits

Revision 1.42 - (view) (annotate) - [select for diffs]
Mon Jul 2 10:04:04 2012 UTC (12 years, 10 months ago) by grchrist
Branch: MAIN
CVS Tags: MenuAnalyzer_V00-00-01, MenuAnalyzer_V00-00-02, MenuAnalyzer_V1
Changes since 1.41: +1 -1 lines
Diff to previous 1.41
fixed zero expected rate and lt zero expected rate bug

Revision 1.41 - (view) (annotate) - [select for diffs]
Tue May 29 09:35:54 2012 UTC (12 years, 11 months ago) by grchrist
Branch: MAIN
Changes since 1.40: +39 -40 lines
Diff to previous 1.40
latest predictions and new forbidden columns

Revision 1.40 - (view) (annotate) - [select for diffs]
Thu May 3 11:28:54 2012 UTC (13 years ago) by grchrist
Branch: MAIN
CVS Tags: V00-00-32
Changes since 1.39: +52 -27 lines
Diff to previous 1.39
for Alex G

Revision 1.39 - (view) (annotate) - [select for diffs]
Tue Apr 17 20:26:05 2012 UTC (13 years ago) by grchrist
Branch: MAIN
CVS Tags: V00-00-31
Changes since 1.38: +8 -4 lines
Diff to previous 1.38
No Version cleaned up

Revision 1.38 - (view) (annotate) - [select for diffs]
Fri Apr 13 09:47:36 2012 UTC (13 years ago) by grchrist
Branch: MAIN
CVS Tags: V00-00-29, V00-00-30
Changes since 1.37: +69 -25 lines
Diff to previous 1.37
bug fixes in predictor and monitor, mkTMDfits

Revision 1.37 - (view) (annotate) - [select for diffs]
Tue Apr 10 14:26:04 2012 UTC (13 years ago) by grchrist
Branch: MAIN
CVS Tags: V00-00-27, V00-00-28
Changes since 1.36: +5 -3 lines
Diff to previous 1.36
changes for certification

Revision 1.36 - (view) (annotate) - [select for diffs]
Mon Apr 9 10:53:10 2012 UTC (13 years ago) by grchrist
Branch: MAIN
CVS Tags: V00-00-26
Changes since 1.35: +1 -1 lines
Diff to previous 1.35
latest and greated fit file

Revision 1.35 - (view) (annotate) - [select for diffs]
Sat Apr 7 10:21:57 2012 UTC (13 years ago) by grchrist
Branch: MAIN
Changes since 1.34: +22 -5 lines
Diff to previous 1.34
added option to make linear fits of rate in RatePredictor, added the linear fit file

Revision 1.34 - (view) (annotate) - [select for diffs]
Fri Apr 6 11:28:31 2012 UTC (13 years ago) by grchrist
Branch: MAIN
Changes since 1.33: +57 -31 lines
Diff to previous 1.33
added --NoVersion option to rate predictor and added core trigger list

Revision 1.33 - (view) (annotate) - [select for diffs]
Thu Apr 5 22:51:47 2012 UTC (13 years ago) by grchrist
Branch: MAIN
Changes since 1.32: +3 -1 lines
Diff to previous 1.32
more changes

Revision 1.32 - (view) (annotate) - [select for diffs]
Thu Apr 5 14:17:17 2012 UTC (13 years ago) by grchrist
Branch: MAIN
Changes since 1.31: +5 -5 lines
Diff to previous 1.31
latest predictions

Revision 1.31 - (view) (annotate) - [select for diffs]
Wed Apr 4 09:40:02 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
Changes since 1.30: +0 -2 lines
Diff to previous 1.30
cleaned up out put and exception messages in rate monitor and parser

Revision 1.30 - (view) (annotate) - [select for diffs]
Wed Apr 4 08:57:55 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
Changes since 1.29: +5 -1 lines
Diff to previous 1.29
put an exception message in GetLatestRunNumber where there is no trigger key

Revision 1.29 - (view) (annotate) - [select for diffs]
Tue Apr 3 13:25:47 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
Changes since 1.28: +24 -12 lines
Diff to previous 1.28
changed year=2011 to global var called thisyear

Revision 1.28 - (view) (annotate) - [select for diffs]
Tue Apr 3 12:38:39 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
Changes since 1.27: +3 -2 lines
Diff to previous 1.27
mkTMD_predictions takes tmd predictions and makes pickle files

Revision 1.27 - (view) (annotate) - [select for diffs]
Thu Mar 29 17:55:31 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
CVS Tags: V00-00-23, V00-00-24
Changes since 1.26: +1 -1 lines
Diff to previous 1.26
changed bad predicttion threshold

Revision 1.26 - (view) (annotate) - [select for diffs]
Tue Mar 27 12:55:06 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
CVS Tags: V00-00-21, V00-00-22
Changes since 1.25: +49 -28 lines
Diff to previous 1.25
again comparing triggers by version, get latest run now passes when can't find runs. Print LS with bad predictions

Revision 1.25 - (view) (annotate) - [select for diffs]
Mon Mar 26 20:11:55 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
Changes since 1.24: +39 -6 lines
Diff to previous 1.24
a few more changes to make things clearer

Revision 1.24 - (view) (annotate) - [select for diffs]
Mon Mar 26 16:19:34 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
Changes since 1.23: +4 -1 lines
Diff to previous 1.23
fixed bug where we couldn't find fit file

Revision 1.23 - (view) (annotate) - [select for diffs]
Mon Mar 26 16:09:02 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
Changes since 1.22: +4 -8 lines
Diff to previous 1.22
got rid of a few extra printing that wasn't needed

Revision 1.22 - (view) (annotate) - [select for diffs]
Mon Mar 26 13:52:09 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
Changes since 1.21: +206 -187 lines
Diff to previous 1.21
easier to mess up with run range

Revision 1.21 - (view) (annotate) - [select for diffs]
Mon Mar 26 12:40:43 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
Changes since 1.20: +79 -17 lines
Diff to previous 1.20
a bit more user friendly

Revision 1.20 - (view) (annotate) - [select for diffs]
Wed Mar 21 16:11:02 2012 UTC (13 years, 1 month ago) by amott
Branch: MAIN
CVS Tags: V00-00-17, V00-00-18, V00-00-19, V00-00-20
Changes since 1.19: +35 -25 lines
Diff to previous 1.19
Fixed lots of bugs

Revision 1.19 - (view) (annotate) - [select for diffs]
Wed Mar 21 15:21:47 2012 UTC (13 years, 1 month ago) by amott
Branch: MAIN
CVS Tags: V00-00-16
Changes since 1.18: +0 -3 lines
Diff to previous 1.18
bug fix

Revision 1.18 - (view) (annotate) - [select for diffs]
Wed Mar 21 15:04:17 2012 UTC (13 years, 1 month ago) by amott
Branch: MAIN
CVS Tags: V00-00-15
Changes since 1.17: +178 -80 lines
Diff to previous 1.17
Lots of updates for the secondary shifter

Revision 1.17 - (view) (annotate) - [select for diffs]
Tue Mar 20 12:15:43 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
Changes since 1.16: +69 -80 lines
Diff to previous 1.16
added beam veto on fitted ls and deadtime beam active now parsed directly from db

Revision 1.16 - (view) (annotate) - [select for diffs]
Mon Mar 19 16:13:02 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
Changes since 1.15: +26 -24 lines
Diff to previous 1.15
still messing with RatePredictor, but added StreamA ceiling in cfg file

Revision 1.15 - (view) (annotate) - [select for diffs]
Fri Mar 16 18:23:04 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
Changes since 1.14: +77 -53 lines
Diff to previous 1.14
bug causing ps cols 3 and above to be set to 0 fixed and commented out ps set to zero when none is found

Revision 1.14 - (view) (annotate) - [select for diffs]
Fri Mar 16 10:11:38 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
Changes since 1.13: +22 -14 lines
Diff to previous 1.13
added versions and output for fitting

Revision 1.13 - (view) (annotate) - [select for diffs]
Thu Mar 15 16:43:57 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
Changes since 1.12: +48 -44 lines
Diff to previous 1.12
included dt in fitting to remove bad points

Revision 1.12 - (view) (annotate) - [select for diffs]
Thu Mar 15 14:23:11 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
Changes since 1.11: +64 -47 lines
Diff to previous 1.11
fixed fitting so now works again

Revision 1.11 - (view) (annotate) - [select for diffs]
Mon Mar 12 16:04:13 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
CVS Tags: V00-00-14
Changes since 1.10: +136 -88 lines
Diff to previous 1.10
more debugged version of masking

Revision 1.10 - (view) (annotate) - [select for diffs]
Sat Mar 10 16:25:20 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
Changes since 1.9: +153 -44 lines
Diff to previous 1.9
masking by subsystem

Revision 1.9 - (view) (annotate) - [select for diffs]
Fri Mar 9 17:06:34 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
Changes since 1.8: +55 -6 lines
Diff to previous 1.8
half way through getting all lumi info, script still works fine

Revision 1.8 - (view) (annotate) - [select for diffs]
Thu Mar 8 12:41:29 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
CVS Tags: V00-00-13
Changes since 1.7: +78 -14 lines
Diff to previous 1.7
now draws triggers from list, change of pkl in RateMonitor, new function (not yet called) to get additional lumi info in DataBaseParser

Revision 1.7 - (view) (annotate) - [select for diffs]
Wed Mar 7 21:56:46 2012 UTC (13 years, 1 month ago) by abrinke1
Branch: MAIN
CVS Tags: V00-00-11, V00-00-12
Changes since 1.6: +42 -27 lines
Diff to previous 1.6
Fixes for divide by zero, other tweaks

Revision 1.6 - (view) (annotate) - [select for diffs]
Wed Mar 7 14:39:45 2012 UTC (13 years, 1 month ago) by grchrist
Branch: MAIN
CVS Tags: V00-00-10
Changes since 1.5: +1 -1 lines
Diff to previous 1.5
pointed to new .pkl in RatePredictor and relaxed AllowedRateDiff in RateMonitor

Revision 1.5 - (view) (annotate) - [select for diffs]
Wed Mar 7 12:21:26 2012 UTC (13 years, 1 month ago) by abrinke1
Branch: MAIN
CVS Tags: V00-00-09
Changes since 1.4: +428 -302 lines
Diff to previous 1.4
Many changes

Revision 1.4 - (view) (annotate) - [select for diffs]
Wed Mar 7 08:09:27 2012 UTC (13 years, 1 month ago) by amott
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3
Added back in the last PS Col functionality

Revision 1.3 - (view) (annotate) - [select for diffs]
Fri Mar 2 09:28:14 2012 UTC (13 years, 2 months ago) by grchrist
Branch: MAIN
CVS Tags: V00-00-08
Changes since 1.2: +11 -6 lines
Diff to previous 1.2
made everything run so we can use this version for beta secondardy shifter training

Revision 1.2 - (view) (annotate) - [select for diffs]
Tue Feb 28 18:28:09 2012 UTC (13 years, 2 months ago) by abrinke1
Branch: MAIN
Changes since 1.1: +79 -18 lines
Diff to previous 1.1
Corrected live/deliv reversal error, added Phys/Active option, better fits

Revision 1.1 - (view) (annotate) - [select for diffs]
Thu Feb 23 16:44:36 2012 UTC (13 years, 2 months ago) by abrinke1
Branch: MAIN
CVS Tags: V00-00-07
Branch point for: V00-00-06
Creates and stores rate histories, predictions, and overlays

Convenience Links

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