ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/AnaTools/plugins/OSUAnalysis.h
Revision 1.56 - (view) (annotate) - [select for diffs]
Tue Sep 3 09:19:54 2013 UTC (11 years, 8 months ago) by lantonel
Branch: MAIN
CVS Tags: HEAD
Changes since 1.55: +7 -0 lines
Diff to previous 1.55 , to selected 1.23
added top pt reweighting and an overall event scale factor

Revision 1.55 - (view) (annotate) - [select for diffs]
Wed Jul 31 09:38:33 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.54: +2 -0 lines
Diff to previous 1.54 , to selected 1.23
Add new tag for secMuons collection, to allow for specifying a different input collection

Revision 1.54 - (view) (annotate) - [select for diffs]
Wed Jul 31 09:28:26 2013 UTC (11 years, 9 months ago) by lantonel
Branch: MAIN
Changes since 1.53: +9 -0 lines
Diff to previous 1.53 , to selected 1.23
added electron-mcparticle pair definition

Revision 1.53 - (view) (annotate) - [select for diffs]
Thu Jul 25 11:22:58 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.52: +3 -0 lines
Diff to previous 1.52 , to selected 1.23
Save in BNTree the run, lumi, event values as int's and long, instead of just as floats

Revision 1.52 - (view) (annotate) - [select for diffs]
Wed Jul 24 16:23:49 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.51: +7 -3 lines
Diff to previous 1.51 , to selected 1.23
Add verbose option, change cut isVeto behavior

Revision 1.51 - (view) (annotate) - [select for diffs]
Tue Jul 23 11:10:47 2013 UTC (11 years, 9 months ago) by jbrinson
Branch: MAIN
Changes since 1.50: +2 -0 lines
Diff to previous 1.50 , to selected 1.23
Added functions for getTrkIsoRhoCorr

Revision 1.50 - (view) (annotate) - [select for diffs]
Mon Jul 22 15:39:13 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.49: +3 -0 lines
Diff to previous 1.49 , to selected 1.23
Only print warning about Turning off pile-up reweighting for data for the first event

Revision 1.49 - (view) (annotate) - [select for diffs]
Thu Jul 11 16:40:01 2013 UTC (11 years, 9 months ago) by biliu
Branch: MAIN
CVS Tags: V02-03-02
Changes since 1.48: +1 -0 lines
Diff to previous 1.48 , to selected 1.23
Add a Ht (scalar sum of the jet pt) into event valueLookup function.It will calculate that value once event histogram is added and all the jets( no matter whether there exist cuts on jets) would be included.

Revision 1.48 - (view) (annotate) - [select for diffs]
Thu Jul 11 16:20:38 2013 UTC (11 years, 9 months ago) by ahart
Branch: MAIN
Changes since 1.47: +5 -0 lines
Diff to previous 1.47 , to selected 1.23
Added include statements for TVector2 and TVector3 and prototypes for the chosenHT, leadMuonPair, and leadElectronPair functions.

Revision 1.47 - (view) (annotate) - [select for diffs]
Tue Jul 9 20:24:07 2013 UTC (11 years, 9 months ago) by biliu
Branch: MAIN
Changes since 1.46: +1 -1 lines
Diff to previous 1.46 , to selected 1.23
Add muon-event collection.

Revision 1.46 - (view) (annotate) - [select for diffs]
Tue Jul 9 08:36:11 2013 UTC (11 years, 9 months ago) by lantonel
Branch: MAIN
Changes since 1.45: +2 -0 lines
Diff to previous 1.45 , to selected 1.23
added 'objectsToFlag' vector, to use for setting flags instead of 'objectsToCut'

Revision 1.45 - (view) (annotate) - [select for diffs]
Wed Jul 3 09:30:38 2013 UTC (11 years, 10 months ago) by jbrinson
Branch: MAIN
CVS Tags: V02-03-01
Changes since 1.44: +1 -0 lines
Diff to previous 1.44 , to selected 1.23
Added track-jet value lookup and fixed typo in met-jet value lookup

Revision 1.44 - (view) (annotate) - [select for diffs]
Tue Jun 25 09:35:49 2013 UTC (11 years, 10 months ago) by wulsin
Branch: MAIN
CVS Tags: V02-03-00
Changes since 1.43: +1 -0 lines
Diff to previous 1.43 , to selected 1.23
Add dPhiMet variable for jet collection; add met-jet collection

Revision 1.43 - (view) (annotate) - [select for diffs]
Thu Jun 20 16:21:59 2013 UTC (11 years, 10 months ago) by biliu
Branch: MAIN
Changes since 1.42: +3 -0 lines
Diff to previous 1.42 , to selected 1.23
Added SFs for light jets and electron-photon, muon-photon, photon-jet collections.

Revision 1.42 - (view) (annotate) - [select for diffs]
Wed Jun 19 22:42:22 2013 UTC (11 years, 10 months ago) by lantonel
Branch: MAIN
Changes since 1.41: +16 -10 lines
Diff to previous 1.41 , to selected 1.23
added option to add a bool, isVeto, to a cut definition.  This will cause only things FAILING this cut to be plotted

Revision 1.41 - (view) (annotate) - [select for diffs]
Tue Jun 11 00:35:34 2013 UTC (11 years, 10 months ago) by ahart
Branch: MAIN
Changes since 1.40: +4 -3 lines
Diff to previous 1.40 , to selected 1.23
Changed OSUAnalysis to an EDProducer.

Revision 1.40 - (view) (annotate) - [select for diffs]
Wed Jun 5 03:19:42 2013 UTC (11 years, 11 months ago) by biliu
Branch: MAIN
Changes since 1.39: +6 -1 lines
Diff to previous 1.39 , to selected 1.23
Added BtagScalingFactors.

Revision 1.39 - (view) (annotate) - [select for diffs]
Tue Jun 4 15:53:14 2013 UTC (11 years, 11 months ago) by wulsin
Branch: MAIN
Changes since 1.38: +1 -0 lines
Diff to previous 1.38 , to selected 1.23
add printAllTriggers option to print all available triggers (for first event only)

Revision 1.38 - (view) (annotate) - [select for diffs]
Fri May 31 13:54:38 2013 UTC (11 years, 11 months ago) by wulsin
Branch: MAIN
Changes since 1.37: +0 -1 lines
Diff to previous 1.37 , to selected 1.23
remove flag for filling BNTree

Revision 1.37 - (view) (annotate) - [select for diffs]
Fri May 31 11:24:31 2013 UTC (11 years, 11 months ago) by wulsin
Branch: MAIN
CVS Tags: V02-02-00
Changes since 1.36: +1 -0 lines
Diff to previous 1.36 , to selected 1.23
add flag to fill the BNTree or not

Revision 1.36 - (view) (annotate) - [select for diffs]
Fri May 31 09:15:04 2013 UTC (11 years, 11 months ago) by wulsin
Branch: MAIN
Changes since 1.35: +0 -10 lines
Diff to previous 1.35 , to selected 1.23
Remove comments and debug statemets

Revision 1.35 - (view) (annotate) - [select for diffs]
Fri May 31 09:05:53 2013 UTC (11 years, 11 months ago) by wulsin
Branch: MAIN
Changes since 1.34: +23 -0 lines
Diff to previous 1.34 , to selected 1.23
Fill a BNTree for each event passing selection

Revision 1.34 - (view) (annotate) - [select for diffs]
Wed May 29 18:19:30 2013 UTC (11 years, 11 months ago) by biliu
Branch: MAIN
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 , to selected 1.23
Added triggersToVeto.

Revision 1.33 - (view) (annotate) - [select for diffs]
Fri May 24 18:51:20 2013 UTC (11 years, 11 months ago) by biliu
Branch: MAIN
CVS Tags: V02-01-01
Changes since 1.32: +4 -3 lines
Diff to previous 1.32 , to selected 1.23
Added GetPlotsAfterEachCut Parameter and change oneDHists_(twoDHists_) to vector<vector<map<string, TH1D*>>>.

Revision 1.32 - (view) (annotate) - [select for diffs]
Tue May 14 19:34:42 2013 UTC (11 years, 11 months ago) by ahart
Branch: MAIN
CVS Tags: V02-01-00
Changes since 1.31: +2 -0 lines
Diff to previous 1.31 , to selected 1.23
Added global variables to hold electron and muon scale factors.

Revision 1.31 - (view) (annotate) - [select for diffs]
Tue May 7 02:41:34 2013 UTC (12 years ago) by ahart
Branch: MAIN
CVS Tags: V01-00-00, V01-00-01, V01-01-00
Changes since 1.30: +48 -41 lines
Diff to previous 1.30 , to selected 1.23
Added "trigobjs", "electron-trigobj pairs", and "muon-trigobj pairs" as collections whose members you can plot and cut on. Added necessary machinery to handle objects with members which are strings.

Revision 1.30 - (view) (annotate) - [select for diffs]
Sun May 5 23:40:58 2013 UTC (12 years ago) by ahart
Branch: MAIN
Changes since 1.29: +2 -0 lines
Diff to previous 1.29 , to selected 1.23
Added variableBins vectors to the histogram struct.

Revision 1.29 - (view) (annotate) - [select for diffs]
Fri May 3 20:10:07 2013 UTC (12 years ago) by ahart
Branch: MAIN
Changes since 1.28: +5 -8 lines
Diff to previous 1.28 , to selected 1.23
Got rid of the DISPLACED_SUSY macro.

Revision 1.28 - (view) (annotate) - [select for diffs]
Wed May 1 19:49:33 2013 UTC (12 years ago) by ahart
Branch: MAIN
Changes since 1.27: +1 -0 lines
Diff to previous 1.27 , to selected 1.23
Added applyLeptonSF_.

Revision 1.27 - (view) (annotate) - [select for diffs]
Wed May 1 16:18:54 2013 UTC (12 years ago) by biliu
Branch: MAIN
Changes since 1.26: +1 -0 lines
Diff to previous 1.26 , to selected 1.23
Add jet-jet pair into the head file

Revision 1.26 - (view) (annotate) - [select for diffs]
Sat Apr 27 15:53:06 2013 UTC (12 years ago) by lantonel
Branch: MAIN
CVS Tags: V00-01-00
Changes since 1.25: +4 -5 lines
Diff to previous 1.25 , to selected 1.23
\f\i\x\e\d\ \b\u\g\ \w\h\i\c\h\ \w\a\s\ \b\r\e\a\k\i\n\g\ \t\h\i\n\g\s\ \f\o\r\ \p\e\o\p\l\e\ \n\o\t\ \u\s\i\n\g\ \t\h\e\ \'\D\i\s\p\l\a\c\e\d\S\U\S\Y\'\ \f\l\a\g\ \i\n\ \t\h\e\i\r\ \B\u\i\l\d\f\i\l\e\.\x\m\l

Revision 1.25 - (view) (annotate) - [select for diffs]
Thu Apr 25 08:32:26 2013 UTC (12 years ago) by lantonel
Branch: MAIN
Changes since 1.24: +2 -0 lines
Diff to previous 1.24 , to selected 1.23
added lepton-jet pair collections

Revision 1.24 - (view) (annotate) - [select for diffs]
Thu Apr 25 07:51:24 2013 UTC (12 years ago) by lantonel
Branch: MAIN
Changes since 1.23: +6 -0 lines
Diff to previous 1.23
added secondary electrons, id vs Gma id histogram, and BNstop valueLookup function

Revision 1.23 - (view) (annotate) - [selected]
Wed Apr 17 15:39:43 2013 UTC (12 years ago) by wulsin
Branch: MAIN
Changes since 1.22: +3 -1 lines
Diff to previous 1.22
When cut is applied to a pair of objects, set object flags for each constituent object in the setObjectFlags() function called for the pair.  This should ensure that only individual objects passing the paired-object cuts are used to fill histograms.

Revision 1.22 - (view) (annotate) - [select for diffs]
Thu Apr 11 15:52:25 2013 UTC (12 years ago) by jbrinson
Branch: MAIN
Changes since 1.21: +1 -0 lines
Diff to previous 1.21 , to selected 1.23
Added tau-track pair

Revision 1.21 - (view) (annotate) - [select for diffs]
Thu Apr 11 00:56:49 2013 UTC (12 years ago) by ahart
Branch: MAIN
Changes since 1.20: +9 -2 lines
Diff to previous 1.20 , to selected 1.23
Implemented stop <c*tau> reweighting. This machinery has no effect if the DISPLACED_SUSY macro is not defined.

Revision 1.20 - (view) (annotate) - [select for diffs]
Wed Mar 27 22:38:08 2013 UTC (12 years, 1 month ago) by wulsin
Branch: MAIN
Changes since 1.19: +4 -0 lines
Diff to previous 1.19 , to selected 1.23
add PU-correction of isolation energy for BNtrack, also added track-event pair input collection

Revision 1.19 - (view) (annotate) - [select for diffs]
Wed Mar 27 16:52:25 2013 UTC (12 years, 1 month ago) by jbrinson
Branch: MAIN
Changes since 1.18: +4 -0 lines
Diff to previous 1.18 , to selected 1.23
Added d0wrtPV and dZwrtPV to BNtrack; Added several valuelookup functions for pairs of objects

Revision 1.18 - (view) (annotate) - [select for diffs]
Tue Mar 26 13:17:54 2013 UTC (12 years, 1 month ago) by wulsin
Branch: MAIN
Changes since 1.17: +1 -0 lines
Diff to previous 1.17 , to selected 1.23
add option printEventInfo for debugging and event studies

Revision 1.17 - (view) (annotate) - [select for diffs]
Wed Mar 20 12:56:37 2013 UTC (12 years, 1 month ago) by jbrinson
Branch: MAIN
Changes since 1.16: +3 -0 lines
Diff to previous 1.16 , to selected 1.23
Added funiton getGenDeltaRLowest

Revision 1.16 - (view) (annotate) - [select for diffs]
Mon Mar 18 10:21:44 2013 UTC (12 years, 1 month ago) by ahart
Branch: MAIN
Changes since 1.15: +33 -24 lines
Diff to previous 1.15 , to selected 1.23
Added parameters for applying lepton SFs, although *they are currently not applied*. Also added code for selecting a single object on demand, e.g., a vertex or MET, from a collection to be used in calculations with objects from another collection.

Revision 1.15 - (view) (annotate) - [select for diffs]
Fri Mar 15 13:08:45 2013 UTC (12 years, 1 month ago) by lantonel
Branch: MAIN
Changes since 1.14: +1 -0 lines
Diff to previous 1.14 , to selected 1.23
added flag to turn on and off pileup reweighting

Revision 1.14 - (view) (annotate) - [select for diffs]
Thu Mar 14 10:06:38 2013 UTC (12 years, 1 month ago) by jbrinson
Branch: MAIN
Changes since 1.13: +5 -3 lines
Diff to previous 1.13 , to selected 1.23
Added functions for calculating ptRes, added members to BNtrack

Revision 1.13 - (view) (annotate) - [select for diffs]
Tue Mar 5 10:27:02 2013 UTC (12 years, 2 months ago) by jbrinson
Branch: MAIN
Changes since 1.12: +20 -1 lines
Diff to previous 1.12 , to selected 1.23
Added track isolation function and deadEcalChannel function for disappTrks

Revision 1.12 - (view) (annotate) - [select for diffs]
Mon Mar 4 22:42:22 2013 UTC (12 years, 2 months ago) by lantonel
Branch: MAIN
Changes since 1.11: +5 -3 lines
Diff to previous 1.11 , to selected 1.23
*** empty log message ***

Revision 1.11 - (view) (annotate) - [select for diffs]
Sun Mar 3 17:14:18 2013 UTC (12 years, 2 months ago) by lantonel
Branch: MAIN
Changes since 1.10: +21 -1 lines
Diff to previous 1.10 , to selected 1.23
moved object collections to be global variables, so they can be accessed by any function

Revision 1.10 - (view) (annotate) - [select for diffs]
Thu Feb 21 16:37:09 2013 UTC (12 years, 2 months ago) by lantonel
Branch: MAIN
Changes since 1.9: +16 -8 lines
Diff to previous 1.9 , to selected 1.23
added cuts and histograms using dilepton pairs as input

Revision 1.9 - (view) (annotate) - [select for diffs]
Wed Feb 13 12:51:21 2013 UTC (12 years, 2 months ago) by lantonel
Branch: MAIN
Changes since 1.8: +12 -5 lines
Diff to previous 1.8 , to selected 1.23
added pile-up reweighting

Revision 1.8 - (view) (annotate) - [select for diffs]
Wed Feb 13 10:05:48 2013 UTC (12 years, 2 months ago) by lantonel
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 , to selected 1.23
added plotAllObjectsInPassingEvents parameter

Revision 1.7 - (view) (annotate) - [select for diffs]
Fri Feb 8 11:07:51 2013 UTC (12 years, 2 months ago) by ahart
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 , to selected 1.23
Store the first primary vertex of the event as a global variable to be used in user-defined variables.

Revision 1.6 - (view) (annotate) - [select for diffs]
Thu Feb 7 14:52:37 2013 UTC (12 years, 2 months ago) by lantonel
Branch: MAIN
Changes since 1.5: +4 -2 lines
Diff to previous 1.5 , to selected 1.23
added 2D histograms and some warnings

Revision 1.5 - (view) (annotate) - [select for diffs]
Mon Feb 4 17:08:34 2013 UTC (12 years, 3 months ago) by lantonel
Branch: MAIN
Changes since 1.4: +1 -0 lines
Diff to previous 1.4 , to selected 1.23
added global variable for vertex in event

Revision 1.4 - (view) (annotate) - [select for diffs]
Thu Jan 31 22:05:56 2013 UTC (12 years, 3 months ago) by lantonel
Branch: MAIN
Changes since 1.3: +25 -15 lines
Diff to previous 1.3 , to selected 1.23
moved the defining of histograms to the configuration level

Revision 1.3 - (view) (annotate) - [select for diffs]
Wed Jan 30 20:07:49 2013 UTC (12 years, 3 months ago) by lantonel
Branch: MAIN
Changes since 1.2: +2 -0 lines
Diff to previous 1.2 , to selected 1.23
fixed it so andrew won't yell at me anymore

Revision 1.2 - (view) (annotate) - [select for diffs]
Mon Jan 28 13:31:44 2013 UTC (12 years, 3 months ago) by lantonel
Branch: MAIN
Changes since 1.1: +17 -14 lines
Diff to previous 1.1 , to selected 1.23
added trigger cut and abs function

Revision 1.1 - (view) (annotate) - [select for diffs]
Mon Jan 21 10:39:36 2013 UTC (12 years, 3 months ago) by lantonel
Branch: MAIN
CVS Tags: V01-00-02
Diff to selected 1.23
\m\o\v\e\d\ \f\r\o\m\ \s\r\c

Convenience Links

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