Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smear test #400

Closed
wants to merge 23 commits into from
Closed

Smear test #400

wants to merge 23 commits into from

Conversation

bianchini
Copy link

Add EGamma smearing to vhbb workflow and switched to calibratedPatElectrons in place of slimmedElectrons.

matteosan1 and others added 23 commits February 11, 2016 15:24
…earings methods, always pass Et; improve debugging printouts
* fix a possible unreasonable correction when not in a known class
- update the scale and smearings to 76X re-reco
Small technical change for Hgg systematics
Conflicts:
	EgammaAnalysis/ElectronTools/interface/ElectronEnergyCalibratorRun2.h
	EgammaAnalysis/ElectronTools/interface/PhotonEnergyCalibratorRun2.h
	EgammaAnalysis/ElectronTools/interface/SimpleElectron.h
	EgammaAnalysis/ElectronTools/plugins/CalibratedElectronProducersRun2.cc
	EgammaAnalysis/ElectronTools/plugins/CalibratedPhotonProducersRun2.cc
	EgammaAnalysis/ElectronTools/python/calibratedElectronsRun2_cfi.py
	EgammaAnalysis/ElectronTools/python/calibratedPhotonsRun2_cfi.py
	EgammaAnalysis/ElectronTools/src/ElectronEnergyCalibratorRun2.cc
	EgammaAnalysis/ElectronTools/src/PhotonEnergyCalibratorRun2.cc
	EgammaAnalysis/ElectronTools/src/SimpleElectron.cc
	EgammaAnalysis/ElectronTools/src/SimplePhoton.cc
	EgammaAnalysis/ElectronTools/src/classes.h
	EgammaAnalysis/ElectronTools/src/classes_def.xml
	EgammaAnalysis/ElectronTools/test/testCalibratedPatElectronProducerRun2_cfg.py
@bianchini
Copy link
Author

Ciao, that's what I did to get the smearing. I am not 100% confident with switching to smeared electrons... I am not sure what happens to ele ID for example. Ideal would be to have standard electrons in vLeptons, and then a branch vLeptons_pt_smear or so, but would require some extra work..

@arizzi
Copy link

arizzi commented Mar 11, 2016

175 changed files? is it because it is based on a 763 rather than 763patch2 ? or what?

Can you rebase on today's head?

@bianchini
Copy link
Author

Ciao, boh, I based it on your v21fixes branch and 763p2..
I will try to rebase it.

@arizzi
Copy link

arizzi commented Mar 11, 2016

wait before rebasing
the HEAD is being messed up

@arizzi
Copy link

arizzi commented Mar 11, 2016

now it is ok, can you try the rebase?

@bianchini
Copy link
Author

Ciao, ok, thanks.
Actually, I figured out that Heppy has already this feature in:
https://github.com/vhbb/cmssw/blob/vhbbHeppy76X/PhysicsTools/Heppy/python/physicsutils/ElectronCalibrator.py
But I am not sure it has been updated for 76X. I asked to @matteosan1 @gpetruc

@bianchini
Copy link
Author

@emanueledimarco: Marco (Peruzzi) told me that you have update it in Heppy..

@emanueledimarco
Copy link

@bianchini @arizzi Yes. This was done with the PR #622 merged by Giovanni this week.
The number of commits is large because the EgammaAnalysisTools was based on a CMSSW_7_6_3_patch2.
The updated scale and resolution corrections for 76X can be propagated to the electron or photon object setting "doPhotonScaleCorrections=True" in the PhotonAnalyzer (and similar for the ElectronAnalyzer that Giovanni implemented before).

And yes, it is the latest version of the branch 76X of @matteosan1 repo, which also includes some small fixes.

@arizzi
Copy link

arizzi commented Mar 11, 2016

is it included here?
cbernet#69

@emanueledimarco
Copy link

@arizzi Yes, it is included.

@arizzi
Copy link

arizzi commented Mar 11, 2016

@bianchini let's see if colin merges it first, then we merge from there or otherwise we can just merge that into our branch ourselves

@arizzi arizzi mentioned this pull request Mar 14, 2016
@bianchini bianchini closed this Mar 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants