ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/AnaTools/scripts/mergeHists
Revision 1.30 - (view) (annotate) - [select for diffs]
Tue Jul 9 19:25:00 2013 UTC (11 years, 9 months ago) by ahart
Branch: MAIN
CVS Tags: HEAD, V02-03-02
Changes since 1.29: +1 -1 lines
Diff to previous 1.29
In the countEvents function, return a hash from the cutflow histogram name to negative one instead of returning negative one. The return value of this function should now always be a hash.

Revision 1.29 - (view) (annotate) - [select for diffs]
Tue Jul 9 17:21:36 2013 UTC (11 years, 9 months ago) by ahart
Branch: MAIN
Changes since 1.28: +65 -33 lines
Diff to previous 1.28
Correctly output the pileup-reweighted numbers of events in numberOfEvents.txt and skimNumberOfEvents.txt. Also, delete any empty skim files.

Revision 1.28 - (view) (annotate) - [select for diffs]
Wed Jul 3 21:30:14 2013 UTC (11 years, 9 months ago) by ahart
Branch: MAIN
Changes since 1.27: +19 -2 lines
Diff to previous 1.27
If EDM files are found, calculate the number of events and output to a file called "skimNumberOfEvents.txt".

Revision 1.27 - (view) (annotate) - [select for diffs]
Tue Jun 18 02:00:39 2013 UTC (11 years, 10 months ago) by ahart
Branch: MAIN
CVS Tags: V02-03-00, V02-03-01
Changes since 1.26: +15 -2 lines
Diff to previous 1.26
Exclude EDM format ROOT files when merging with mergeTFileServiceHistograms.

Revision 1.26 - (view) (annotate) - [select for diffs]
Tue Jun 11 11:02:00 2013 UTC (11 years, 10 months ago) by ahart
Branch: MAIN
Changes since 1.25: +7 -1 lines
Diff to previous 1.25
Output the unweighted number of events for each sample in a file called numberOfEvents.txt.

Revision 1.25 - (view) (annotate) - [select for diffs]
Tue Jun 4 23:46:12 2013 UTC (11 years, 10 months ago) by ahart
Branch: MAIN
Changes since 1.24: +5 -0 lines
Diff to previous 1.24
Uses weightTrees to set the weights of all the TTree objects in the input files.

Revision 1.24 - (view) (annotate) - [select for diffs]
Fri Apr 12 05:18:05 2013 UTC (12 years ago) by ahart
Branch: MAIN
CVS Tags: V00-01-00, V01-00-00, V01-00-01, V01-01-00, V02-01-00, V02-01-01, V02-02-00
Changes since 1.23: +10 -3 lines
Diff to previous 1.23
The "weight" option can now be passed a comma-separated list of weights, one for each input file.

Revision 1.23 - (view) (annotate) - [select for diffs]
Wed Apr 10 13:34:17 2013 UTC (12 years ago) by lantonel
Branch: MAIN
Changes since 1.22: +13 -10 lines
Diff to previous 1.22
re-formatted output of cross section

Revision 1.22 - (view) (annotate) - [select for diffs]
Mon Apr 8 12:40:01 2013 UTC (12 years ago) by jbrinson
Branch: MAIN
Changes since 1.21: +9 -0 lines
Diff to previous 1.21
Added printout for crossection

Revision 1.21 - (view) (annotate) - [select for diffs]
Wed Mar 6 17:01:01 2013 UTC (12 years, 1 month ago) by ahart
Branch: MAIN
Changes since 1.20: +4 -3 lines
Diff to previous 1.20
Now outputs effective luminosities only if the sample is being weighted.

Revision 1.20 - (view) (annotate) - [select for diffs]
Mon Mar 4 11:41:57 2013 UTC (12 years, 1 month ago) by ahart
Branch: MAIN
Changes since 1.19: +9 -1 lines
Diff to previous 1.19
Check for empty ROOT files before merging.

Revision 1.19 - (view) (annotate) - [select for diffs]
Mon Feb 4 09:11:37 2013 UTC (12 years, 2 months ago) by ahart
Branch: MAIN
Changes since 1.18: +18 -9 lines
Diff to previous 1.18
Clean up output.

Revision 1.18 - (view) (annotate) - [select for diffs]
Thu Jan 31 17:32:03 2013 UTC (12 years, 2 months ago) by ahart
Branch: MAIN
Changes since 1.17: +5 -2 lines
Diff to previous 1.17
Do not output the weights when they are all one.

Revision 1.17 - (view) (annotate) - [select for diffs]
Tue Jan 29 00:23:24 2013 UTC (12 years, 3 months ago) by ahart
Branch: MAIN
Changes since 1.16: +10 -2 lines
Diff to previous 1.16
Keep track of and skip output from incomplete jobs.

Revision 1.16 - (view) (annotate) - [select for diffs]
Wed Jan 9 17:13:31 2013 UTC (12 years, 3 months ago) by ahart
Branch: MAIN
CVS Tags: V00-00-01
Changes since 1.15: +2 -2 lines
Diff to previous 1.15
Skip empty ROOT files.

Revision 1.15 - (view) (annotate) - [select for diffs]
Tue Jan 8 09:11:25 2013 UTC (12 years, 3 months ago) by ahart
Branch: MAIN
Changes since 1.14: +1 -0 lines
Diff to previous 1.14
Keep the unweighted histograms.

Revision 1.14 - (view) (annotate) - [select for diffs]
Fri Jan 4 07:35:41 2013 UTC (12 years, 3 months ago) by ahart
Branch: MAIN
Changes since 1.13: +5 -1 lines
Diff to previous 1.13
Fix bug with weight calculation.

Revision 1.13 - (view) (annotate) - [select for diffs]
Thu Jan 3 21:43:31 2013 UTC (12 years, 3 months ago) by ahart
Branch: MAIN
Changes since 1.12: +20 -39 lines
Diff to previous 1.12
Do not discard the unweighted merged files, but instead calculate upper limits for their cutflow histograms and then weight them.

Revision 1.12 - (view) (annotate) - [select for diffs]
Sun Dec 23 14:45:56 2012 UTC (12 years, 4 months ago) by ahart
Branch: MAIN
Changes since 1.11: +3 -1 lines
Diff to previous 1.11
Output the weights with five significant figures.

Revision 1.11 - (view) (annotate) - [select for diffs]
Tue Dec 18 09:25:48 2012 UTC (12 years, 4 months ago) by ahart
Branch: MAIN
Changes since 1.10: +33 -18 lines
Diff to previous 1.10
Count the number of events for each argument.

Revision 1.10 - (view) (annotate) - [select for diffs]
Mon Dec 17 21:17:35 2012 UTC (12 years, 4 months ago) by ahart
Branch: MAIN
Changes since 1.9: +14 -0 lines
Diff to previous 1.9
Output the weights.

Revision 1.9 - (view) (annotate) - [select for diffs]
Sun Dec 16 13:21:27 2012 UTC (12 years, 4 months ago) by ahart
Branch: MAIN
Changes since 1.8: +2 -7 lines
Diff to previous 1.8
Fix bug with job counting.

Revision 1.8 - (view) (annotate) - [select for diffs]
Thu Dec 13 10:51:30 2012 UTC (12 years, 4 months ago) by ahart
Branch: MAIN
Changes since 1.7: +21 -8 lines
Diff to previous 1.7
Do not skip jobs with a nonzero exit code, but do skip jobs which exited from receiving a signal.

Revision 1.7 - (view) (annotate) - [select for diffs]
Tue Sep 11 15:06:18 2012 UTC (12 years, 7 months ago) by ahart
Branch: MAIN
Changes since 1.6: +5 -6 lines
Diff to previous 1.6
Do not automatically generate cut flow tables.

Revision 1.6 - (view) (annotate) - [select for diffs]
Mon Sep 10 09:48:56 2012 UTC (12 years, 7 months ago) by ahart
Branch: MAIN
Changes since 1.5: +31 -22 lines
Diff to previous 1.5
Add a couple options for setting the cross section and the cutflow histogram name and use a more efficient method for getting the total number of events.

Revision 1.5 - (view) (annotate) - [select for diffs]
Sun Sep 9 20:05:12 2012 UTC (12 years, 7 months ago) by ahart
Branch: MAIN
Changes since 1.4: +59 -15 lines
Diff to previous 1.4
Automatically weight the histograms using the cross section from the database.

Revision 1.4 - (view) (annotate) - [select for diffs]
Tue Aug 28 17:24:06 2012 UTC (12 years, 8 months ago) by ahart
Branch: MAIN
CVS Tags: V00-00-03, mytag_0_0_0
Changes since 1.3: +14 -49 lines
Diff to previous 1.3
Get number of events from cut flow histogram instead of edmFileUtil.

Revision 1.3 - (view) (annotate) - [select for diffs]
Tue Aug 28 12:27:57 2012 UTC (12 years, 8 months ago) by ahart
Branch: MAIN
Changes since 1.2: +128 -18 lines
Diff to previous 1.2
Add a weight option, and print the number of events processed at the end.

Revision 1.2 - (view) (annotate) - [select for diffs]
Mon Jul 23 09:39:17 2012 UTC (12 years, 9 months ago) by ahart
Branch: MAIN
CVS Tags: V00-00-02
Changes since 1.1: +1 -1 lines
Diff to previous 1.1
Make the help message clearer.

Revision 1.1 - (view) (annotate) - [select for diffs]
Thu Jun 14 17:42:30 2012 UTC (12 years, 10 months ago) by ahart
Branch: MAIN
Allow fuzzy dataset names for osudb and osusub. First commit of AnaTools directory.

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