added secondary mcparticles, added top pt reweighting, added event-level scale factor variable
Modify isPassMuonLooseID
Add error-checking when using a collection that may not exist
Added memember to track collection: isPassMuonLooseIDVeto
Check for duplicate histograms
Changed looseHadronicTauID (pt > 30 and fabs(eta) < 2.3
Add invMass and deltaEta to tau-track collection; specify collection name in invalid variable print-outs
Add to track valueLookup function lepton veto variables: deltaRMinElecLooseMvaId, deltaRMinMuonLooseId, deltaRMinSecMuonLooseIdGlobal, deltaRMinTauLooseHadronicId
Add secondary muon-track pair collection
Add variables for lepton-track collections: deltaRLooseID, deltaRLooseHadronicID, deltaRLooseMvaId
Add ptPlusMet variable for electrons, muons
Add new tag for secMuons collection, to allow for specifying a different input collection
added electron-mcparticle pair definition, and changed Ht to unfilteredHt
force underflow entries to 0 for trkRelIsoRp3 and trkRelIsoRp5
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
Save in BNTree the run, lumi, event values as int's and long, instead of just as floats
Add deltaRMinSubLeadJet variable for BNTracks
Add verbose option, change cut isVeto behavior
Added rho corr trk iso vars
Better fix of seg fault when printEventInfo_ is false
Fix seg fault when printEventInfo_ is false
Only print warning about Turning off pile-up reweighting for data for the first event
Rename electron looseId as looseID_MVA to avoid redundancy with cut-based looseID
Create findEvents.txt file when printEventInfo_ is true, to use for edmPickEvents.py; also add variables trkRelIsoRp3, trkRelIsoRp5
For printEventInfo_ option, only print events that pass all cuts
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.
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.
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.
Add muon-event collection, modify the btag scaling factor function, separate relPFdBetaIso into pieces and add those values in the muon valueLookup function.
only apply object SFs if that object is cut on
Added depTrkRp3MinusPt and dPhiMet to BNtrack; If depTrkRp5MinusPt and depTrkRp3MinusPt are < 0, set value to 0
Added track-jet value lookup and fixed typo in met-jet value lookup
Add Successfully completed print out to destructor for job completion monitoring
Add track isolation variables
removed commented-out cout statements
Fix definition of muon looseID to be isGlobalMuon or (not and) isTrackerMuon
Add dPhiMet variable for jet collection; add met-jet collection
Added two jet id members to jet collection; added looseID member to electron and muon collectons; added looseHadronicID to tau collection
Added SFs for light jets and added muon-photon, electron-photon,photon-jet collections.
added option to add a bool, isVeto, to a cut definition. This will cause only things FAILING this cut to be plotted
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.
Fill only one TTree per channel with events passing all cuts even when GetPlotsAfterEachCut is true.
Added BtagScalingFactors.
add printAllTriggers option to print all available triggers (for first event only)
remove some commented-out lines
fix bug in filling of BNTree: only fill for events that pass selection
Added leptonEta and leptonPhi into lepton-jet pair valuelookup functions.
remove flag for filling BNTree
add flag to fill the BNTree or not
Remove block of code mistakenly preserved in cvs update
Remove comments and debug statemets
Fill a BNTree for each event passing selection
fixed a bug that was incorrectly filling histograms with numbers of objects when those objects weren't being cut no
optimized the trigger application
Added new features that we could veto events passed certain triggers.
Set the pile up scale factor to 1 in case of trying to reweight data
Added warning if PU weight is calculated for numTruePV < 0
Set the puScaleFactor member of BNevent to one when doPileupReweighting is false.
add secondary jets collection
added isPFMuon in the tightIDdisplaced definition
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.
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.
Fixed a bug that caused seg-faults for certain regions of parameter space.
Added bin to genMatchedPdgId for QCD string (pdgId = 92)
Now multiplies scale factors in the case of multiple electrons or multiple muons. Also corrected the definition of "metMT".
Added charge product to object-track pairs and member to BNtrack
Fixed bug in getTrkIsMatchedDeadEcal
Fixed a bug which was causing pileup and lepton scale factors to be applied more than once if multiple channels are defined.
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.
Made the "bins" parameter in the histogram PSet's an untracked parameter so that it can be omitted and variable bins given instead.
Got rid of the DISPLACED_SUSY macro. <c*tau> reweighting is now done only if datasetType_ == "signalMC" and dataset_ matches "stop.*to.*_.*mm.*".
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.
Add jet-jet pair input collections.
\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
added lepton-jet pair collections
added secondary electrons, id vs Gma id histogram, and BNstop valueLookup function
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.
added 'secondary muon' collection
remove underscore from caloTotDeltaRp5RhoCorr and caloTotDeltaRp5ByPRhoCorr
Added tau-track pair
Implemented stop <c*tau> reweighting. This machinery has no effect if the DISPLACED_SUSY macro is not defined.
added object pair deltaEta
merge changes from v1.39 that were lost in v1.40
add PU-correction of isolation energy for BNtrack, also added track-event pair input collection
Change Et() to Pt() for electron pair pt and muon pair pt as well.
Change Et() to Pt() for electron-muon pt.
Added d0wrtPV and dZwrtPV to BNtrack; Added several valuelookup functions for pairs of objects
added pt for pairs of objects
add option printEventInfo for debugging and event studies
added 2D gen-matching histograms, changed BNtrack 'genId' to 'genMatchedPdgId'
Remove PUWeight debug printouts accidentally added.
Remove printout of deltaRtemp values.
Added funiton getGenDeltaRLowest
added variables muon1correctedD0Vertex and muon1correctedD0 for dimuon
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.
added flag to turn on and off pileup reweighting
fixed a bug which was incorrectly applying cuts with 3 or more requirements, as well as some minor formatting changes
Added functions for calculating ptRes, added members to BNtrack
added few variables and the 'log10' function
added a bunch of extra d0 variables
Added track isolation function and deadEcalChannel function for disappTrks
did I say 12? I meant 14
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!
added gen. matching histograms
remove an unnecessary line I added by mistake
added three D angle bwtween two objects
added a bunch of new user-defined variables
added variables related to the relationship of d0 for two objects in a pair
added cuts and histograms using dilepton pairs as input
added histograms of number of primary vertices before and after pileup reweighting
added pile-up reweighting
added plotAllObjectsInPassingEvents parameter
changed detIso to only tracker iso
Store the first primary vertex of the event as a global variable to be used in user-defined variables.
corrected muon tightID to match twiki
added 2D histograms and some warnings
moved histogram definitions to configuration, re-added MC particle d0, dz plots
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.
fixed abs bug
added abs function
changed trigger application
fix bug which wasn't applying trigger to plotting
added trigger cut and abs function
took out muons
\m\o\v\e\d\ \f\r\o\m\ \s\r\c
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.