Skip to content

Conversation

@jjacob
Copy link
Contributor

@jjacob jjacob commented Dec 10, 2014

This is the (mostly) finished update to read 7TeV electron scale factors from histogram files.
Compiles and runs, but during running there are some warnings of memory leaks related to TEfficiency, which I was unable to solve...hence WIP.
Also, will remove the couts once this is ready to merge.

@jjacob
Copy link
Contributor Author

jjacob commented Dec 10, 2014

Just remembered I was working on top of Emyr's hadronEfficiency branch, since there was an existing pull request from there, which is where all those previous commits come from.

@jjacob jjacob force-pushed the lepton_scale_factors branch from 796e64f to 2832958 Compare December 10, 2014 18:23
@jjacob
Copy link
Contributor Author

jjacob commented Dec 10, 2014

With Emyr's fix the warnings are now gone. I've tested on soolin, output files are in /storage/phjaj/02_Analysis/CMSSW_6_2_0_pre6_AnalysisSoftware/src/testing_lepton_scale_factors, if you want to check outputs. I think this is ready to merge.

@jjacob jjacob changed the title [WIP] Lepton scale factors Lepton scale factors Dec 10, 2014
Copy link
Member

Choose a reason for hiding this comment

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

OK, two things:

  • why do you need to store (copy the pointer) of a global histogram for every electron for every event?
  • why doesn't the private variable end with '_'?

@kreczko
Copy link
Member

kreczko commented Dec 10, 2014

While I would not merge it before making some improvements I think it is safe to run.

@kreczko
Copy link
Member

kreczko commented Dec 15, 2014

rebase please

jjacob added a commit to jjacob/AnalysisSoftware that referenced this pull request Dec 17, 2014
@jjacob
Copy link
Contributor Author

jjacob commented Dec 17, 2014

Made new pull request (#127) so closing this.

@jjacob jjacob closed this Dec 17, 2014
@jjacob jjacob deleted the lepton_scale_factors branch February 4, 2015 18:56
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.

3 participants