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

update PUPPI based on DP note #10597

Merged
merged 7 commits into from Aug 20, 2015

Conversation

nhanvtran
Copy link
Contributor

This is the companion PR to #10551

@nhanvtran
Copy link
Contributor Author

This supercedes #10404

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 5, 2015

A new Pull Request was created by @nhanvtran for CMSSW_7_5_X.

update PUPPI based on DP note

It involves the following packages:

CommonTools/PileupAlgos
DataFormats/PatCandidates
PhysicsTools/PatAlgos

@cmsbuild, @cvuosalo, @vadler, @monttj, @slava77 can you please review it and eventually sign? Thanks.
@rappoccio, @imarches, @ahinzmann, @acaudron, @mmarionncern, @jdolen, @schoef, @ferencek, @gpetruc, @mariadalfonso, @pvmulder, @TaiSakuma this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.
@Degano you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@slava77
Copy link
Contributor

slava77 commented Aug 5, 2015

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 5, 2015

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 6, 2015

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 6, 2015

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-10597/7002/summary.html

There are some workflows for which there are errors in the baseline:
50202.0 step 2
The results for the comparisons for these workflows could be incomplete
This means most likely that the IB is having errors in the relvals.The error does NOT come from this pull request

@slava77
Copy link
Contributor

slava77 commented Aug 13, 2015

ping

@nhanvtran
Copy link
Contributor Author

re-indenting updated

@cmsbuild
Copy link
Contributor

Pull request #10597 was updated. @cmsbuild, @cvuosalo, @vadler, @monttj, @slava77 can you please check and sign again.


//std::cout << "pVtxId = " << pVtxId << ", and charge = " << itPF->charge() << ", and closestVtx = " << closestVtx << ", and id = " << pReco.id << std::endl;
//std::cout << "charge = " << itPF->charge() << ", pDZ = " << pDZ << ", pVtxId = " << pVtxId << ", closestVtx = " << closestVtx << ", fromPV() = " << lPack->fromPV() << ", pReco.id = " << pReco.id << std::endl;
// //std::cout << "pVtxId = " << pVtxId << ", and charge = " << itPF->charge() << ", and closestVtx = " << closestVtx << ", and id = " << pReco.id << std::endl;
Copy link
Contributor

Choose a reason for hiding this comment

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

are these debugs still really needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

for ( size_t ipcnl = 0; ipcnl < puppiCandsNoLepPtrs.size(); ipcnl++){
if (puppiCandsNoLepPtrs[ipcnl] == pkrefPtr){
foundNoLep = true;
puppiWeightNoLepVal = puppiCandsNoLepPtrs[ipcnl]->pt()/cand.pt(); // a hack for now, should use the value map
Copy link
Contributor

Choose a reason for hiding this comment

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

the previous code was picking pt from the puppiCandsNoLep, not from the source ptr.
If it matters functionally, you should probably have

// define outside the loop: auto const& puppiWeightNoLepV = puppiWeightNoLep.product();
puppiWeightNoLepVal = puppiWeightNoLepV[ipcnl].pt()/cand.pt();

@nhanvtran
Copy link
Contributor Author

Ok @slava77 updated

@slava77
Copy link
Contributor

slava77 commented Aug 19, 2015

@cmsbuild please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

Pull request #10597 was updated. @cmsbuild, @cvuosalo, @vadler, @monttj, @slava77 can you please check and sign again.

@cmsbuild
Copy link
Contributor

Pull request #10597 was updated. @cmsbuild, @cvuosalo, @vadler, @monttj, @slava77 can you please check and sign again.

@slava77
Copy link
Contributor

slava77 commented Aug 19, 2015

@cmsbuild please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@slava77
Copy link
Contributor

slava77 commented Aug 19, 2015

+1

for #10597 06dcff6

-------------------------------------------------------------
 or, B       new, B      delta, B   delta, %   deltaJ, %    branch 
-------------------------------------------------------------
    19054 ->       18904       -150     -0.8  -0.21     patPackedCandidates_packedPFCandidates__PAT.
     2723 ->        2291       -432    -17.2  -0.60     patJets_slimmedJetsPuppi__PAT.

davidlange6 added a commit that referenced this pull request Aug 20, 2015
@davidlange6 davidlange6 merged commit ce2b921 into cms-sw:CMSSW_7_5_X Aug 20, 2015
@nhanvtran nhanvtran mentioned this pull request Aug 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants