ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/AnaTools/plugins/OSUAnalysis.cc
Revision 1.125 - (view) (annotate) - [select for diffs]
Tue Sep 3 09:25:59 2013 UTC (11 years, 8 months ago) by lantonel
Branch: MAIN
CVS Tags: HEAD
Changes since 1.124: +244 -139 lines
Diff to previous 1.124 , to selected 1.105
added secondary mcparticles, added top pt reweighting, added event-level scale factor variable

Revision 1.124 - (view) (annotate) - [select for diffs]
Wed Aug 14 08:09:14 2013 UTC (11 years, 8 months ago) by wulsin
Branch: MAIN
Changes since 1.123: +5 -20 lines
Diff to previous 1.123 , to selected 1.105
Modify isPassMuonLooseID

Revision 1.123 - (view) (annotate) - [select for diffs]
Mon Aug 12 21:03:10 2013 UTC (11 years, 8 months ago) by wulsin
Branch: MAIN
Changes since 1.122: +25 -23 lines
Diff to previous 1.122 , to selected 1.105
Add error-checking when using a collection that may not exist

Revision 1.122 - (view) (annotate) - [select for diffs]
Fri Aug 9 11:12:33 2013 UTC (11 years, 8 months ago) by jbrinson
Branch: MAIN
Changes since 1.121: +20 -0 lines
Diff to previous 1.121 , to selected 1.105
Added memember to track collection: isPassMuonLooseIDVeto

Revision 1.121 - (view) (annotate) - [select for diffs]
Wed Aug 7 09:10:50 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.120: +9 -1 lines
Diff to previous 1.120 , to selected 1.105
Check for duplicate histograms

Revision 1.120 - (view) (annotate) - [select for diffs]
Tue Aug 6 17:16:17 2013 UTC (11 years, 9 months ago) by jbrinson
Branch: MAIN
Changes since 1.119: +5 -3 lines
Diff to previous 1.119 , to selected 1.105
Changed looseHadronicTauID (pt > 30 and fabs(eta) < 2.3

Revision 1.119 - (view) (annotate) - [select for diffs]
Tue Aug 6 13:24:39 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.118: +58 -45 lines
Diff to previous 1.118 , to selected 1.105
Add invMass and deltaEta to tau-track collection; specify collection name in invalid variable print-outs

Revision 1.118 - (view) (annotate) - [select for diffs]
Mon Aug 5 22:00:12 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.117: +71 -5 lines
Diff to previous 1.117 , to selected 1.105
Add to track valueLookup function lepton veto variables:  deltaRMinElecLooseMvaId, deltaRMinMuonLooseId, deltaRMinSecMuonLooseIdGlobal, deltaRMinTauLooseHadronicId

Revision 1.117 - (view) (annotate) - [select for diffs]
Mon Aug 5 10:50:46 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.116: +12 -0 lines
Diff to previous 1.116 , to selected 1.105
Add secondary muon-track pair collection

Revision 1.116 - (view) (annotate) - [select for diffs]
Sun Aug 4 21:17:37 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.115: +25 -0 lines
Diff to previous 1.115 , to selected 1.105
Add variables for lepton-track collections:  deltaRLooseID, deltaRLooseHadronicID, deltaRLooseMvaId

Revision 1.115 - (view) (annotate) - [select for diffs]
Thu Aug 1 09:49:57 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.114: +29 -2 lines
Diff to previous 1.114 , to selected 1.105
Add ptPlusMet variable for electrons, muons

Revision 1.114 - (view) (annotate) - [select for diffs]
Wed Jul 31 09:38:21 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.113: +88 -29 lines
Diff to previous 1.113 , to selected 1.105
Add new tag for secMuons collection, to allow for specifying a different input collection

Revision 1.113 - (view) (annotate) - [select for diffs]
Wed Jul 31 09:24:14 2013 UTC (11 years, 9 months ago) by lantonel
Branch: MAIN
Changes since 1.112: +34 -2 lines
Diff to previous 1.112 , to selected 1.105
added electron-mcparticle pair definition, and changed Ht to unfilteredHt

Revision 1.112 - (view) (annotate) - [select for diffs]
Thu Jul 25 12:28:54 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.111: +2 -2 lines
Diff to previous 1.111 , to selected 1.105
force underflow entries to 0 for trkRelIsoRp3 and trkRelIsoRp5

Revision 1.111 - (view) (annotate) - [select for diffs]
Thu Jul 25 12:24:27 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.110: +12 -0 lines
Diff to previous 1.110 , to selected 1.105
Create cutflow histogram in constructor, so that when running over files with 0 events a cutflow histogram with correct number of bins is still created

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

Revision 1.109 - (view) (annotate) - [select for diffs]
Thu Jul 25 09:48:55 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.108: +15 -1 lines
Diff to previous 1.108 , to selected 1.105
Add deltaRMinSubLeadJet variable for BNTracks

Revision 1.108 - (view) (annotate) - [select for diffs]
Wed Jul 24 16:24:44 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.107: +338 -300 lines
Diff to previous 1.107 , to selected 1.105
Add verbose option, change cut isVeto behavior

Revision 1.107 - (view) (annotate) - [select for diffs]
Tue Jul 23 08:51:35 2013 UTC (11 years, 9 months ago) by jbrinson
Branch: MAIN
Changes since 1.106: +47 -0 lines
Diff to previous 1.106 , to selected 1.105
Added rho corr trk iso vars

Revision 1.106 - (view) (annotate) - [select for diffs]
Mon Jul 22 16:36:08 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.105: +3 -1 lines
Diff to previous 1.105
Better fix of seg fault when printEventInfo_ is false

Revision 1.105 - (view) (annotate) - [selected]
Mon Jul 22 16:33:25 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.104: +5 -1 lines
Diff to previous 1.104
Fix seg fault when printEventInfo_ is false

Revision 1.104 - (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.103: +6 -2 lines
Diff to previous 1.103 , to selected 1.105
Only print warning about Turning off pile-up reweighting for data for the first event

Revision 1.103 - (view) (annotate) - [select for diffs]
Mon Jul 22 15:27:58 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.102: +1 -1 lines
Diff to previous 1.102 , to selected 1.105
Rename electron looseId as looseID_MVA to avoid redundancy with cut-based looseID

Revision 1.102 - (view) (annotate) - [select for diffs]
Mon Jul 22 15:22:57 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.101: +16 -0 lines
Diff to previous 1.101 , to selected 1.105
Create findEvents.txt file when printEventInfo_ is true, to use for edmPickEvents.py; also add variables trkRelIsoRp3, trkRelIsoRp5

Revision 1.101 - (view) (annotate) - [select for diffs]
Thu Jul 18 09:11:51 2013 UTC (11 years, 9 months ago) by wulsin
Branch: MAIN
Changes since 1.100: +4 -4 lines
Diff to previous 1.100 , to selected 1.105
For printEventInfo_ option, only print events that pass all cuts

Revision 1.100 - (view) (annotate) - [select for diffs]
Tue Jul 16 19:48:04 2013 UTC (11 years, 9 months ago) by ahart
Branch: MAIN
Changes since 1.99: +6 -6 lines
Diff to previous 1.99 , to selected 1.105
Added a value to BNstop which is true iff the stop decays directly to a tau. Also changed the definition of "lead" in leadElectronPair and leadMuonPair to be based on the scalar sum of the transverse momenta instead of the vector sum.

Revision 1.99 - (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.98: +15 -2 lines
Diff to previous 1.98 , to selected 1.105
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.98 - (view) (annotate) - [select for diffs]
Thu Jul 11 16:21:11 2013 UTC (11 years, 9 months ago) by ahart
Branch: MAIN
Changes since 1.97: +223 -62 lines
Diff to previous 1.97 , to selected 1.105
Added relPFrhoIsoEB and relPFrhoIsoEE values for electrons which are identical to relPFrhoIso except when the electron is in the EE or EB, respectively, in which case they are -999. Added a looseID value for electrons and ht, leadMuPairInvMass, leadElPairInvMass, leadMuPairPt, and leadElPairPt for events. Also changed all cout statements to clog.

Revision 1.97 - (view) (annotate) - [select for diffs]
Tue Jul 9 20:21:51 2013 UTC (11 years, 9 months ago) by biliu
Branch: MAIN
Changes since 1.96: +74 -9 lines
Diff to previous 1.96 , to selected 1.105
Add muon-event collection, modify the btag scaling factor function, separate relPFdBetaIso into pieces and add those values in the muon valueLookup function.

Revision 1.96 - (view) (annotate) - [select for diffs]
Tue Jul 9 08:35:17 2013 UTC (11 years, 9 months ago) by lantonel
Branch: MAIN
Changes since 1.95: +36 -15 lines
Diff to previous 1.95 , to selected 1.105
only apply object SFs if that object is cut on

Revision 1.95 - (view) (annotate) - [select for diffs]
Tue Jul 9 08:16:18 2013 UTC (11 years, 9 months ago) by jbrinson
Branch: MAIN
Changes since 1.94: +20 -1 lines
Diff to previous 1.94 , to selected 1.105
Added depTrkRp3MinusPt and dPhiMet to BNtrack; If depTrkRp5MinusPt and depTrkRp3MinusPt are < 0, set value to 0

Revision 1.94 - (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.93: +35 -3 lines
Diff to previous 1.93 , to selected 1.105
Added track-jet value lookup and fixed typo in met-jet value lookup

Revision 1.93 - (view) (annotate) - [select for diffs]
Wed Jul 3 07:42:46 2013 UTC (11 years, 10 months ago) by wulsin
Branch: MAIN
Changes since 1.92: +5 -0 lines
Diff to previous 1.92 , to selected 1.105
Add Successfully completed print out to destructor for job completion monitoring

Revision 1.92 - (view) (annotate) - [select for diffs]
Mon Jul 1 11:54:18 2013 UTC (11 years, 10 months ago) by wulsin
Branch: MAIN
CVS Tags: V02-03-00
Changes since 1.91: +26 -11 lines
Diff to previous 1.91 , to selected 1.105
Add track isolation variables

Revision 1.91 - (view) (annotate) - [select for diffs]
Fri Jun 28 07:53:33 2013 UTC (11 years, 10 months ago) by lantonel
Branch: MAIN
Changes since 1.90: +0 -5 lines
Diff to previous 1.90 , to selected 1.105
removed commented-out cout statements

Revision 1.90 - (view) (annotate) - [select for diffs]
Wed Jun 26 06:17:12 2013 UTC (11 years, 10 months ago) by wulsin
Branch: MAIN
Changes since 1.89: +29 -16 lines
Diff to previous 1.89 , to selected 1.105
Fix definition of muon looseID to be isGlobalMuon or (not and) isTrackerMuon

Revision 1.89 - (view) (annotate) - [select for diffs]
Tue Jun 25 09:35:49 2013 UTC (11 years, 10 months ago) by wulsin
Branch: MAIN
Changes since 1.88: +45 -8 lines
Diff to previous 1.88 , to selected 1.105
Add dPhiMet variable for jet collection; add met-jet collection

Revision 1.88 - (view) (annotate) - [select for diffs]
Mon Jun 24 15:52:58 2013 UTC (11 years, 10 months ago) by jbrinson
Branch: MAIN
Changes since 1.87: +36 -1 lines
Diff to previous 1.87 , to selected 1.105
Added two jet id members to jet collection; added looseID member to electron and muon collectons; added looseHadronicID to tau collection

Revision 1.87 - (view) (annotate) - [select for diffs]
Thu Jun 20 16:20:24 2013 UTC (11 years, 10 months ago) by biliu
Branch: MAIN
Changes since 1.86: +231 -6 lines
Diff to previous 1.86 , to selected 1.105
Added SFs for light jets and added muon-photon, electron-photon,photon-jet collections.

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

Revision 1.85 - (view) (annotate) - [select for diffs]
Tue Jun 11 00:36:10 2013 UTC (11 years, 10 months ago) by ahart
Branch: MAIN
Changes since 1.84: +11 -6 lines
Diff to previous 1.84 , to selected 1.105
When producing BEAN-format skims, puts a map from channel names to cut decisions into the event and suppresses the output of the TTree skims.

Revision 1.84 - (view) (annotate) - [select for diffs]
Thu Jun 6 11:44:32 2013 UTC (11 years, 11 months ago) by ahart
Branch: MAIN
Changes since 1.83: +454 -445 lines
Diff to previous 1.83 , to selected 1.105
Fill only one TTree per channel with events passing all cuts even when GetPlotsAfterEachCut is true.

Revision 1.83 - (view) (annotate) - [select for diffs]
Wed Jun 5 03:18:56 2013 UTC (11 years, 11 months ago) by biliu
Branch: MAIN
Changes since 1.82: +29 -5 lines
Diff to previous 1.82 , to selected 1.105
Added BtagScalingFactors.

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

Revision 1.81 - (view) (annotate) - [select for diffs]
Tue Jun 4 14:44:26 2013 UTC (11 years, 11 months ago) by wulsin
Branch: MAIN
Changes since 1.80: +0 -6 lines
Diff to previous 1.80 , to selected 1.105
remove some commented-out lines

Revision 1.80 - (view) (annotate) - [select for diffs]
Tue Jun 4 14:18:10 2013 UTC (11 years, 11 months ago) by wulsin
Branch: MAIN
Changes since 1.79: +14 -4 lines
Diff to previous 1.79 , to selected 1.105
fix bug in filling of BNTree:  only fill for events that pass selection

Revision 1.79 - (view) (annotate) - [select for diffs]
Mon Jun 3 19:40:59 2013 UTC (11 years, 11 months ago) by biliu
Branch: MAIN
Changes since 1.78: +8 -0 lines
Diff to previous 1.78 , to selected 1.105
Added leptonEta and leptonPhi into lepton-jet pair valuelookup functions.

Revision 1.78 - (view) (annotate) - [select for diffs]
Fri May 31 14:07:11 2013 UTC (11 years, 11 months ago) by wulsin
Branch: MAIN
Changes since 1.77: +56 -66 lines
Diff to previous 1.77 , to selected 1.105
remove flag for filling BNTree

Revision 1.77 - (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.76: +67 -61 lines
Diff to previous 1.76 , to selected 1.105
add flag to fill the BNTree or not

Revision 1.76 - (view) (annotate) - [select for diffs]
Fri May 31 09:42:10 2013 UTC (11 years, 11 months ago) by wulsin
Branch: MAIN
Changes since 1.75: +4 -43 lines
Diff to previous 1.75 , to selected 1.105
Remove block of code mistakenly preserved in cvs update

Revision 1.75 - (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.74: +1 -112 lines
Diff to previous 1.74 , to selected 1.105
Remove comments and debug statemets

Revision 1.74 - (view) (annotate) - [select for diffs]
Fri May 31 09:05:49 2013 UTC (11 years, 11 months ago) by wulsin
Branch: MAIN
Changes since 1.73: +634 -389 lines
Diff to previous 1.73 , to selected 1.105
Fill a BNTree for each event passing selection

Revision 1.73 - (view) (annotate) - [select for diffs]
Thu May 30 18:09:58 2013 UTC (11 years, 11 months ago) by lantonel
Branch: MAIN
Changes since 1.72: +209 -233 lines
Diff to previous 1.72 , to selected 1.105
fixed a bug that was incorrectly filling histograms with numbers of objects when those objects weren't being cut no

Revision 1.72 - (view) (annotate) - [select for diffs]
Wed May 29 20:15:01 2013 UTC (11 years, 11 months ago) by lantonel
Branch: MAIN
Changes since 1.71: +29 -24 lines
Diff to previous 1.71 , to selected 1.105
optimized the trigger application

Revision 1.71 - (view) (annotate) - [select for diffs]
Wed May 29 18:18:28 2013 UTC (11 years, 11 months ago) by biliu
Branch: MAIN
Changes since 1.70: +22 -8 lines
Diff to previous 1.70 , to selected 1.105
Added new features that we could veto events passed certain triggers.

Revision 1.70 - (view) (annotate) - [select for diffs]
Wed May 29 15:29:27 2013 UTC (11 years, 11 months ago) by qpython
Branch: MAIN
Changes since 1.69: +1 -0 lines
Diff to previous 1.69 , to selected 1.105
Set the pile up scale factor to 1 in case of trying to reweight data

Revision 1.69 - (view) (annotate) - [select for diffs]
Wed May 29 09:51:03 2013 UTC (11 years, 11 months ago) by wulsin
Branch: MAIN
Changes since 1.68: +4 -1 lines
Diff to previous 1.68 , to selected 1.105
Added warning if PU weight is calculated for numTruePV < 0

Revision 1.68 - (view) (annotate) - [select for diffs]
Wed May 29 01:06:36 2013 UTC (11 years, 11 months ago) by ahart
Branch: MAIN
Changes since 1.67: +11 -11 lines
Diff to previous 1.67 , to selected 1.105
Set the puScaleFactor member of BNevent to one when doPileupReweighting is false.

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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
\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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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 , to selected 1.105
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
Diff to selected 1.105
\m\o\v\e\d\ \f\r\o\m\ \s\r\c

Convenience Links

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