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

Adding some tools and fixing bugs for next version #47

Open
wants to merge 12 commits into
base: jetToolbox_80X
Choose a base branch
from

Conversation

alefisico
Copy link
Member

This PR includes:

  • Now Puppi by default uses exisitingWeights from miniAOD. Includes also another option in case someone wants to run puppi from scratch.
  • pt cut in raw jets if specified to reduce computing time for btagging variables
  • postFix option, to run two jet collections of the same PUMethod with different options
  • adding DeepCSV btag
  • None in btag discriminators now means None. (Before None meant default discriminators)

After some internal tests, I will create a new tag and modify the twiki accordingly.

puppi.useExistingWeights = cms.bool(True)
print '|---- jetToolBox: Puppi default value. It takes the existing weights from miniAOD.'
else:
setattr( proc, 'newpuppi', puppi.clone( eseExistingWeights = cms.bool(False)))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eseExistingWeights looks like a typo

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed. Thanks @kpedro88

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.

2 participants