-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Puppi #5500
Puppi #5500
Conversation
A new Pull Request was created by @violatingcp (Philip Harris) for CMSSW_7_3_X. Puppi It involves the following packages: CommonTools/Puppi The following packages do not have a category, yet: CommonTools/Puppi @cmsbuild, @nclopezo, @ktf can you please review it and eventually sign? Thanks. |
Out of curiosity, what's Puppi??? |
PUPPI = Pile Up Per Particle Identification On Tue, Sep 23, 2014 at 11:13 AM, Giulio Eulisse notifications@github.com
|
Ok, I guess we do not have much choice for the package name. Subsystem we should probably have something more specific though. @vadler @monttj @slava77 @StoyanStoynev @davidlange6, ideas? |
@ktf Uhm, at the moment, the method is simple enough to fit in CommonTools/ParticleFlow After a quick glance, there will be a lot of comments on code compliance. |
-1 >> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_3_X-slc6_amd64_gcc481/CMSSW_7_3_X_2014-09-23-0200/src/CommonTools/Puppi/plugins/PuppiProducer.cc >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_3_X-slc6_amd64_gcc481/CMSSW_7_3_X_2014-09-23-0200/src/FWCore/Version/src/GetFileFormatVersion.cc >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_3_X-slc6_amd64_gcc481/CMSSW_7_3_X_2014-09-23-0200/src/FWCore/Version/src/GetReleaseVersion.cc >> Building shared library tmp/slc6_amd64_gcc481/src/FWCore/Version/src/FWCoreVersion/libFWCoreVersion.so In file included from /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_3_X-slc6_amd64_gcc481/CMSSW_7_3_X_2014-09-23-0200/src/CommonTools/Puppi/src/PuppiContainer.cc:1:0: /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_3_X-slc6_amd64_gcc481/CMSSW_7_3_X_2014-09-23-0200/src/CommonTools/Puppi/interface/PuppiContainer.h:5:50: fatal error: CommonTools/Puppi/interface/NoTrees.hh: No such file or directory #include "CommonTools/Puppi/interface/NoTrees.hh" ^ compilation terminated. Copying tmp/slc6_amd64_gcc481/src/FWCore/Version/src/FWCoreVersion/libFWCoreVersion.so to productstore area: Leaving library rule at FWCore/Version you can see the results of the tests here: |
Hi Slava, Puppi is kind its own thing. Its not really particle flow. There will be Phil On Tue, Sep 23, 2014 at 2:39 PM, Slava Krutelyov notifications@github.com
|
Phil, |
We need to remove the photons passing an id and then compute the weights, Phil On Wed, Sep 24, 2014 at 6:51 PM, Slava Krutelyov notifications@github.com
|
So, as I understand, the purpose/product of the puppi producer will still remain the same: produce a collection of PFCandidates and weights for them. |
Phil, in the past we had issues with too many packages, @ktf If we can easily fragment into separate packages, then I would like to ask to add this to RECO and analysis categories |
I'd rather not have a new package, unless this introduces extra memory |
//Get the Weight | ||
double compute(std::vector<double> &iVals,double iChi2); | ||
//Helpers | ||
double ptMin(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this and other methods that don't modify the algo (just simple return value
) should be made const
and better be inlined as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me to keep track : done.
I started working on this. I am currently implementing above suggestions. |
About the location : CommonTools/ParticleFlow contains all of the "Top Projection" tools. There are a few pileup-specific tools that are coming "on the market" now, and already three of them are in place (Constituent Subtraction, Soft Killer, and Puppi). I would suggest a new package CommonTools/PileupModules to handle these unless there are strong reasons to move it to CommonTools/ParticleFlow. They're really separate things and it would be easier to maintain them separately. |
All code suggestions are now implemented. I will submit a new PR to implement the changes. Please close this one. |
Puppi's First CMSSW Commit