Synchronisation of electron selection in NTupleTools with AnalysisTools. This is a work in progress so do not merge yet. I am making the pull request so that people can see what I have changed so far and comment on whatever is still to be corrected:
- Changed EcalDeadCellBoundaryEnergyFilter to EcalDeadCellTriggerPrimitiveFilter in python/TopPairElectronPlusJets2012SelectionFilter_cfi.py (removed discrepancy in trigger & event cleaning step). I see from Sergey's comments
in Phil's pull request that some more filters and stuff need to be added here...to do.
- Changed passesd0 requirement to fabs(...) in isGoodElectron in plugins/TopPairElectronPlusJetsSelectionFilter.cc.
- Added hadronicoverEM in isGoodElectron in plugins/TopPairElectronPlusJetsSelectionFilter.cc.
- Added two separate variables in python/TopPairElectronPlusJets2012SelectionFilter_cfi.py called useDeltaBetaCorrectionsForMuons (true) and useDeltaBetaCorrectionsForElectrons (false) to use in the appropriate electron and muon
functions in plugins/TopPairElectronPlusJets2012SelectionFilter.cc.
- Removed isGlobalMuon from isLooseMuon in plugins/TopPairElectronPlusJetsSelectionFilter.cc.
- Changed passesConversionVeto  in plugins/TopPairElectronPlusJets2012SelectionFilter.cc to require that there is exactly one isolated electron, just like in the AnalysisTools.
Made final changes to electron channel synchronisation:
All individual cuts match with Analysis Tools up to conversion veto. Individual jet cuts do not match up because in the NTupleTools the >=njet cuts
only make sure that the nth jet has pt >30, not all the other jets. In the Analysis Tools it checks that all the jets have the required pt.
Anyway, all the consecutive cuts are synchronised so it is fine.

Changed passesd0 in isGoodMuon to require absolute muon.dB(pat::Muon::PV2D).

Added ecalLaserCorrFilter, manystripclus53X, toomanystripclus53X and logErrorTooManyClusters filters to unfolding process for both electron and muon
channel.
Merge pull request #55 from jjacob/synccheck

Synchronisation of electron selection in NTupleTools with AnalysisTools....
fix ST binning
Merge pull request #57 from phy6phs/fix

fix ST binning
Changes to unfolding code including adding cuts of jets >=20 GeV to HT/ST, unfolding to nu  for MET and W variables and nfolding to parton level HT/ST. Also commented out non assym bin histos that cause too much RAM
Merge pull request #60 from phy6phs/fix

Unfolding changes