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

New jet flavour definition update #3025

Merged

Conversation

ferencek
Copy link
Contributor

A follow-up to #2395. After consultations with the Generators and JetMET groups, this pull request expands the parton-based jet flavour to support several different hadronizers. It also includes minor improvements to the hadron-based jet flavour as well as general code cleanup and optimization.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @ferencek (Dinko Ferencek) for CMSSW_7_1_X.

New jet flavour definition update

It involves the following packages:

PhysicsTools/JetExamples
PhysicsTools/JetMCAlgos
PhysicsTools/JetMCUtils
SimDataFormats/JetMatching

@civanch, @nclopezo, @mdhildreth, @monttj, @cmsbuild, @vadler, @Degano can you please review it and eventually sign? Thanks.
@pvmulder 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.
@nclopezo, @ktf you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@cmsbuild
Copy link
Contributor

-1
I found an error when building:

class edm::Refreco::JetFlavourInfoMatchingCollection,std::pair,edm::refhelper::FindUsingAdvancereco::JetFlavourInfoMatchingCollection,std::pair > >
class edm::AssociationVectoredm::RefToBaseProd
class edm::RefVectorreco::JetMatchedPartonsCollection,std::pair,edm::refhelper::FindUsingAdvancereco::JetMatchedPartonsCollection,std::pair > >
>> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-03-25-1400/src/PhysicsTools/JetMCAlgos/plugins/TauGenJetProducer.cc 
/build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-03-25-1400/src/PhysicsTools/JetMCAlgos/plugins/JetFlavourClustering.cc: In member function 'virtual void JetFlavourClustering::produce(edm::Event&, const edm::EventSetup&)':
/build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-03-25-1400/src/PhysicsTools/JetMCAlgos/plugins/JetFlavourClustering.cc:275:24: error: 'leptons_' was not declared in this scope
      iEvent.getByLabel(leptons_, leptons);
                        ^
>> Compiling  /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-03-25-1400/src/PhysicsTools/JetMCAlgos/src/BasePartonSelector.cc 
gmake: **\* [tmp/slc6_amd64_gcc481/src/PhysicsTools/JetMCAlgos/plugins/PhysicsToolsJetMCAlgosPlugins/JetFlavourClustering.o] Error 1
gmake: **\* Waiting for unfinished jobs....


you can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3025/671/summary.html

@ferencek
Copy link
Contributor Author

Leftover getByLabel now replaced by getByToken and undeclared variable fixed.

@cmsbuild
Copy link
Contributor

@civanch
Copy link
Contributor

civanch commented Mar 30, 2014

+1

@@ -1,6 +1,6 @@
<lcgdict>
<class name="reco::JetFlavourInfo" ClassVersion="10">
<version ClassVersion="10" checksum="3935266839"/>
<version ClassVersion="10" checksum="1683584268"/>
Copy link

Choose a reason for hiding this comment

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

This is not the correct way of updating class version.
Please restore the ol version 10 and add a version 11 with the new checksum.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Given that this is the first release in which this class is being introduced and therefore has never been stored in any output file, is it really needed to keep a class version for an intermediate version available only in a few pre-releases?

Copy link

Choose a reason for hiding this comment

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

Since this code line falls under SIM responsibility and has been signed off already, it is not a show-stopper for AT.

@vadler
Copy link

vadler commented Apr 1, 2014

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 1, 2014

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_1_X IBs unless changes (tests are also fine). @nclopezo, @ktf can you please take care of it?

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

6 participants