ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/AnaTools/plugins/OSUAnalysis.cc
Revision 1.67 - (view) (annotate) - [select for diffs]
Tue May 28 21:35:43 2013 UTC (11 years, 11 months ago) by wulsin
Branch: MAIN
CVS Tags: V02-01-01
Changes since 1.66: +16 -11 lines
Diff to previous 1.66
add secondary jets collection

Revision 1.66 - (view) (annotate) - [select for diffs]
Tue May 28 12:29:43 2013 UTC (11 years, 11 months ago) by qpython
Branch: MAIN
Changes since 1.65: +1 -0 lines
Diff to previous 1.65
added isPFMuon in the tightIDdisplaced definition

Revision 1.65 - (view) (annotate) - [select for diffs]
Fri May 24 18:49:24 2013 UTC (11 years, 11 months ago) by biliu
Branch: MAIN
Changes since 1.64: +294 -277 lines
Diff to previous 1.64
Added a feature that histograms after appllying each cut are ploted. Turned on or off by a bool parameter:GetPlotsAfterEachCut, set to false as default.

Revision 1.64 - (view) (annotate) - [select for diffs]
Sun May 19 00:04:50 2013 UTC (11 years, 11 months ago) by ahart
Branch: MAIN
Changes since 1.63: +29 -9 lines
Diff to previous 1.63
Added pfElectronsFromVertex and pfMuonsFromVertex boolean variables for electrons and muons. These variables recreate the EDFilter of the same name which is normally applied by PF2PAT during ntuple production but which was removed from the loose lepton collections in the most recent BEANs.

Revision 1.63 - (view) (annotate) - [select for diffs]
Tue May 14 19:35:16 2013 UTC (11 years, 11 months ago) by ahart
Branch: MAIN
CVS Tags: V02-01-00
Changes since 1.62: +18 -20 lines
Diff to previous 1.62
Fixed a bug that caused seg-faults for certain regions of parameter space.

Revision 1.62 - (view) (annotate) - [select for diffs]
Tue May 14 10:58:21 2013 UTC (11 years, 11 months ago) by jbrinson
Branch: MAIN
Changes since 1.61: +38 -34 lines
Diff to previous 1.61
Added bin to genMatchedPdgId for QCD string (pdgId = 92)

Revision 1.61 - (view) (annotate) - [select for diffs]
Fri May 10 15:03:48 2013 UTC (11 years, 11 months ago) by ahart
Branch: MAIN
Changes since 1.60: +42 -28 lines
Diff to previous 1.60
Now multiplies scale factors in the case of multiple electrons or multiple muons. Also corrected the definition of "metMT".

Revision 1.60 - (view) (annotate) - [select for diffs]
Thu May 9 10:28:52 2013 UTC (11 years, 11 months ago) by jbrinson
Branch: MAIN
CVS Tags: V01-00-01, V01-01-00
Changes since 1.59: +34 -19 lines
Diff to previous 1.59
Added charge product to object-track pairs and member to BNtrack

Revision 1.59 - (view) (annotate) - [select for diffs]
Wed May 8 10:59:17 2013 UTC (11 years, 11 months ago) by jbrinson
Branch: MAIN
Changes since 1.58: +1 -1 lines
Diff to previous 1.58
Fixed bug in getTrkIsMatchedDeadEcal

Revision 1.58 - (view) (annotate) - [select for diffs]
Tue May 7 20:35:02 2013 UTC (12 years ago) by ahart
Branch: MAIN
Changes since 1.57: +13 -12 lines
Diff to previous 1.57
Fixed a bug which was causing pileup and lepton scale factors to be applied more than once if multiple channels are defined.

Revision 1.57 - (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
Changes since 1.56: +535 -408 lines
Diff to previous 1.56
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.56 - (view) (annotate) - [select for diffs]
Sun May 5 23:41:30 2013 UTC (12 years ago) by ahart
Branch: MAIN
Changes since 1.55: +27 -5 lines
Diff to previous 1.55
Made the "bins" parameter in the histogram PSet's an untracked parameter so that it can be omitted and variable bins given instead.

Revision 1.55 - (view) (annotate) - [select for diffs]
Fri May 3 20:10:39 2013 UTC (12 years ago) by ahart
Branch: MAIN
Changes since 1.54: +8 -22 lines
Diff to previous 1.54
Got rid of the DISPLACED_SUSY macro. <c*tau> reweighting is now done only if datasetType_ == "signalMC" and dataset_ matches "stop.*to.*_.*mm.*".

Revision 1.54 - (view) (annotate) - [select for diffs]
Wed May 1 19:49:01 2013 UTC (12 years ago) by ahart
Branch: MAIN
Changes since 1.53: +54 -39 lines
Diff to previous 1.53
Added a parameter applyLeptonSF for turning on application of lepton scale factors. This functionality currently only works if there is exactly one electron and/or exactly one muon; i.e., it's not correct when there are multiple muons or multiple electrons.

Revision 1.53 - (view) (annotate) - [select for diffs]
Wed May 1 16:17:56 2013 UTC (12 years ago) by biliu
Branch: MAIN
Changes since 1.52: +47 -1 lines
Diff to previous 1.52
Add jet-jet pair input collections.

Revision 1.52 - (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.51: +14 -8 lines
Diff to previous 1.51
\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.51 - (view) (annotate) - [select for diffs]
Thu Apr 25 08:39:52 2013 UTC (12 years ago) by lantonel
Branch: MAIN
Changes since 1.50: +138 -23 lines
Diff to previous 1.50
added lepton-jet pair collections

Revision 1.50 - (view) (annotate) - [select for diffs]
Thu Apr 25 07:52:02 2013 UTC (12 years ago) by lantonel
Branch: MAIN
Changes since 1.49: +218 -5 lines
Diff to previous 1.49
added secondary electrons, id vs Gma id histogram, and BNstop valueLookup function

Revision 1.49 - (view) (annotate) - [select for diffs]
Wed Apr 17 15:39:43 2013 UTC (12 years ago) by wulsin
Branch: MAIN
Changes since 1.48: +121 -44 lines
Diff to previous 1.48
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.48 - (view) (annotate) - [select for diffs]
Tue Apr 16 16:30:19 2013 UTC (12 years ago) by lantonel
Branch: MAIN
Changes since 1.47: +88 -39 lines
Diff to previous 1.47
added 'secondary muon' collection

Revision 1.47 - (view) (annotate) - [select for diffs]
Mon Apr 15 09:01:46 2013 UTC (12 years ago) by wulsin
Branch: MAIN
Changes since 1.46: +2 -4 lines
Diff to previous 1.46
remove underscore from caloTotDeltaRp5RhoCorr and caloTotDeltaRp5ByPRhoCorr

Revision 1.46 - (view) (annotate) - [select for diffs]
Thu Apr 11 15:51:01 2013 UTC (12 years ago) by jbrinson
Branch: MAIN
Changes since 1.45: +26 -1 lines
Diff to previous 1.45
Added tau-track pair

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

Revision 1.44 - (view) (annotate) - [select for diffs]
Tue Apr 9 16:17:50 2013 UTC (12 years ago) by lantonel
Branch: MAIN
Changes since 1.43: +13 -1 lines
Diff to previous 1.43
added object pair deltaEta

Revision 1.43 - (view) (annotate) - [select for diffs]
Thu Mar 28 10:17:32 2013 UTC (12 years, 1 month ago) by wulsin
Branch: MAIN
Changes since 1.42: +219 -79 lines
Diff to previous 1.42
merge changes from v1.39 that were lost in v1.40

Revision 1.42 - (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.41: +89 -32 lines
Diff to previous 1.41
add PU-correction of isolation energy for BNtrack, also added track-event pair input collection

Revision 1.41 - (view) (annotate) - [select for diffs]
Wed Mar 27 20:16:13 2013 UTC (12 years, 1 month ago) by biliu
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40
Change Et() to Pt() for electron pair pt and muon pair pt as well.

Revision 1.40 - (view) (annotate) - [select for diffs]
Wed Mar 27 20:13:56 2013 UTC (12 years, 1 month ago) by biliu
Branch: MAIN
Changes since 1.39: +13 -154 lines
Diff to previous 1.39
Change Et() to Pt() for electron-muon pt.

Revision 1.39 - (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.38: +153 -12 lines
Diff to previous 1.38
Added d0wrtPV and dZwrtPV to BNtrack; Added several valuelookup functions for pairs of objects

Revision 1.38 - (view) (annotate) - [select for diffs]
Wed Mar 27 15:45:41 2013 UTC (12 years, 1 month ago) by lantonel
Branch: MAIN
Changes since 1.37: +15 -0 lines
Diff to previous 1.37
added pt for pairs of objects

Revision 1.37 - (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.36: +16 -2 lines
Diff to previous 1.36
add option printEventInfo for debugging and event studies

Revision 1.36 - (view) (annotate) - [select for diffs]
Thu Mar 21 21:12:21 2013 UTC (12 years, 1 month ago) by lantonel
Branch: MAIN
Changes since 1.35: +101 -18 lines
Diff to previous 1.35
added 2D gen-matching histograms, changed BNtrack 'genId' to 'genMatchedPdgId'

Revision 1.35 - (view) (annotate) - [select for diffs]
Wed Mar 20 20:19:55 2013 UTC (12 years, 1 month ago) by wulsin
Branch: MAIN
Changes since 1.34: +0 -6 lines
Diff to previous 1.34
Remove PUWeight debug printouts accidentally added.

Revision 1.34 - (view) (annotate) - [select for diffs]
Wed Mar 20 20:18:43 2013 UTC (12 years, 1 month ago) by wulsin
Branch: MAIN
Changes since 1.33: +9 -3 lines
Diff to previous 1.33
Remove printout of deltaRtemp values.

Revision 1.33 - (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.32: +25 -3 lines
Diff to previous 1.32
Added funiton getGenDeltaRLowest

Revision 1.32 - (view) (annotate) - [select for diffs]
Tue Mar 19 18:05:23 2013 UTC (12 years, 1 month ago) by qpython
Branch: MAIN
Changes since 1.31: +15 -0 lines
Diff to previous 1.31
added variables muon1correctedD0Vertex and muon1correctedD0 for dimuon

Revision 1.31 - (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.30: +454 -312 lines
Diff to previous 1.30
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.30 - (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.29: +4 -3 lines
Diff to previous 1.29
added flag to turn on and off pileup reweighting

Revision 1.29 - (view) (annotate) - [select for diffs]
Thu Mar 14 13:43:25 2013 UTC (12 years, 1 month ago) by lantonel
Branch: MAIN
Changes since 1.28: +52 -62 lines
Diff to previous 1.28
fixed a bug which was incorrectly applying cuts with 3 or more requirements, as well as some minor formatting changes

Revision 1.28 - (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.27: +47 -10 lines
Diff to previous 1.27
Added functions for calculating ptRes, added members to BNtrack

Revision 1.27 - (view) (annotate) - [select for diffs]
Mon Mar 11 14:06:33 2013 UTC (12 years, 1 month ago) by qpython
Branch: MAIN
Changes since 1.26: +36 -5 lines
Diff to previous 1.26
added few variables and the 'log10' function

Revision 1.26 - (view) (annotate) - [select for diffs]
Mon Mar 11 13:34:26 2013 UTC (12 years, 1 month ago) by lantonel
Branch: MAIN
Changes since 1.25: +213 -19 lines
Diff to previous 1.25
added a bunch of extra d0 variables

Revision 1.25 - (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.24: +81 -2 lines
Diff to previous 1.24
Added track isolation function and deadEcalChannel function for disappTrks

Revision 1.24 - (view) (annotate) - [select for diffs]
Mon Mar 4 23:25:13 2013 UTC (12 years, 2 months ago) by lantonel
Branch: MAIN
Changes since 1.23: +9 -2 lines
Diff to previous 1.23
did I say 12? I meant 14

Revision 1.23 - (view) (annotate) - [select for diffs]
Mon Mar 4 22:38:39 2013 UTC (12 years, 2 months ago) by lantonel
Branch: MAIN
Changes since 1.22: +149 -86 lines
Diff to previous 1.22
take into account the object flags when filling the histograms with number of objects per events.  Also, I fixed a pretty subtle bug that was causing cuts on pairs of objects not to take into account the flags of the 2 objects that make the pair.  It only took me 12 hours to fix it!

Revision 1.22 - (view) (annotate) - [select for diffs]
Sun Mar 3 17:16:53 2013 UTC (12 years, 2 months ago) by lantonel
Branch: MAIN
Changes since 1.21: +352 -59 lines
Diff to previous 1.21
added gen. matching histograms

Revision 1.21 - (view) (annotate) - [select for diffs]
Wed Feb 27 14:16:26 2013 UTC (12 years, 2 months ago) by qpython
Branch: MAIN
Changes since 1.20: +1 -1 lines
Diff to previous 1.20
remove an unnecessary line I added by mistake

Revision 1.20 - (view) (annotate) - [select for diffs]
Wed Feb 27 13:52:11 2013 UTC (12 years, 2 months ago) by qpython
Branch: MAIN
Changes since 1.19: +47 -6 lines
Diff to previous 1.19
added three D angle bwtween two objects

Revision 1.19 - (view) (annotate) - [select for diffs]
Wed Feb 27 10:45:29 2013 UTC (12 years, 2 months ago) by lantonel
Branch: MAIN
Changes since 1.18: +142 -13 lines
Diff to previous 1.18
added a bunch of new user-defined variables

Revision 1.18 - (view) (annotate) - [select for diffs]
Fri Feb 22 10:38:08 2013 UTC (12 years, 2 months ago) by lantonel
Branch: MAIN
Changes since 1.17: +9 -2 lines
Diff to previous 1.17
added variables related to the relationship of d0 for two objects in a pair

Revision 1.17 - (view) (annotate) - [select for diffs]
Thu Feb 21 16:38:25 2013 UTC (12 years, 2 months ago) by lantonel
Branch: MAIN
Changes since 1.16: +355 -41 lines
Diff to previous 1.16
added cuts and histograms using dilepton pairs as input

Revision 1.16 - (view) (annotate) - [select for diffs]
Fri Feb 15 12:59:53 2013 UTC (12 years, 2 months ago) by lantonel
Branch: MAIN
Changes since 1.15: +12 -2 lines
Diff to previous 1.15
added histograms of number of primary vertices before and after pileup reweighting

Revision 1.15 - (view) (annotate) - [select for diffs]
Wed Feb 13 12:51:49 2013 UTC (12 years, 2 months ago) by lantonel
Branch: MAIN
Changes since 1.14: +82 -58 lines
Diff to previous 1.14
added pile-up reweighting

Revision 1.14 - (view) (annotate) - [select for diffs]
Wed Feb 13 10:05:35 2013 UTC (12 years, 2 months ago) by lantonel
Branch: MAIN
Changes since 1.13: +74 -56 lines
Diff to previous 1.13
added plotAllObjectsInPassingEvents parameter

Revision 1.13 - (view) (annotate) - [select for diffs]
Fri Feb 8 15:22:40 2013 UTC (12 years, 2 months ago) by lantonel
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12
changed detIso to only tracker iso

Revision 1.12 - (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.11: +11 -8 lines
Diff to previous 1.11
Store the first primary vertex of the event as a global variable to be used in user-defined variables.

Revision 1.11 - (view) (annotate) - [select for diffs]
Thu Feb 7 15:51:44 2013 UTC (12 years, 2 months ago) by lantonel
Branch: MAIN
Changes since 1.10: +18 -10 lines
Diff to previous 1.10
corrected muon tightID to match twiki

Revision 1.10 - (view) (annotate) - [select for diffs]
Thu Feb 7 14:51:28 2013 UTC (12 years, 2 months ago) by lantonel
Branch: MAIN
Changes since 1.9: +92 -22 lines
Diff to previous 1.9
added 2D histograms and some warnings

Revision 1.9 - (view) (annotate) - [select for diffs]
Mon Feb 4 17:10:56 2013 UTC (12 years, 3 months ago) by lantonel
Branch: MAIN
Changes since 1.8: +138 -117 lines
Diff to previous 1.8
moved histogram definitions to configuration, re-added MC particle d0, dz plots

Revision 1.8 - (view) (annotate) - [select for diffs]
Wed Jan 30 22:29:59 2013 UTC (12 years, 3 months ago) by ahart
Branch: MAIN
Changes since 1.7: +124 -80 lines
Diff to previous 1.7
Added dz histograms, d0 and dz histograms for mcparticles, and code for getting the position of the first primary vertex, which is used in the calculation of d0 and dz for mcparticles. Also added equality and inequality comparisons.

Revision 1.7 - (view) (annotate) - [select for diffs]
Wed Jan 30 16:51:40 2013 UTC (12 years, 3 months ago) by lantonel
Branch: MAIN
Changes since 1.6: +4 -0 lines
Diff to previous 1.6
fixed abs bug

Revision 1.6 - (view) (annotate) - [select for diffs]
Wed Jan 30 16:28:22 2013 UTC (12 years, 3 months ago) by lantonel
Branch: MAIN
Changes since 1.5: +24 -1 lines
Diff to previous 1.5
added abs function

Revision 1.5 - (view) (annotate) - [select for diffs]
Wed Jan 30 10:52:40 2013 UTC (12 years, 3 months ago) by lantonel
Branch: MAIN
Changes since 1.4: +4 -5 lines
Diff to previous 1.4
changed trigger application

Revision 1.4 - (view) (annotate) - [select for diffs]
Tue Jan 29 15:29:06 2013 UTC (12 years, 3 months ago) by lantonel
Branch: MAIN
Changes since 1.3: +11 -0 lines
Diff to previous 1.3
fix bug which wasn't applying trigger to plotting

Revision 1.3 - (view) (annotate) - [select for diffs]
Mon Jan 28 13:30:45 2013 UTC (12 years, 3 months ago) by lantonel
Branch: MAIN
Changes since 1.2: +68 -28 lines
Diff to previous 1.2
added trigger cut and abs function

Revision 1.2 - (view) (annotate) - [select for diffs]
Tue Jan 22 13:50:22 2013 UTC (12 years, 3 months ago) by lantonel
Branch: MAIN
CVS Tags: V01-00-02
Changes since 1.1: +6 -4 lines
Diff to previous 1.1
took out muons

Revision 1.1 - (view) (annotate) - [select for diffs]
Mon Jan 21 10:39:34 2013 UTC (12 years, 3 months ago) by lantonel
Branch: MAIN
\m\o\v\e\d\ \f\r\o\m\ \s\r\c

Convenience Links

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