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

Event weights/scale factors #196

Open
kreczko opened this issue Mar 17, 2016 · 0 comments
Open

Event weights/scale factors #196

kreczko opened this issue Mar 17, 2016 · 0 comments

Comments

@kreczko
Copy link
Member

kreczko commented Mar 17, 2016

Part of #191

Next in line are event weights. We have accumulated quite a lot of them

  • many PDFWeights
  • b-tag scale factors
  • lepton scale factors (id& isolation)
  • trigger scale factors (lepton, jet)
  • Pileup weights

Similar to selections I would like to simplify the way we add weights to the event by introducing the WeightProducer:

  • options:
    • file name (ROOT| CSV)
  • signature:
    • produce(edm::Event& iEvent, const edm::EventSetup& iSetup)
    • double calculateWeight(edm::Event& iEvent) const
      This way, all that any derivative would need to implement is the calculateWeight function and any additional options.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant