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
Consumes Interface for Muons I #1760
Conversation
A new Pull Request was created by @bachtis for CMSSW_7_0_X. Consumes Interface for Muons I It involves the following packages: RecoMuon/StandAloneTrackFinder @nclopezo, @cmsbuild, @thspeer, @slava77 can you please review it and eventually sign? Thanks. |
-1 >> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-12-11-0200/src/DQMOffline/JetMET/src/ECALRecHitAnalyzer.cc >> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-12-11-0200/src/DQMOffline/JetMET/src/HCALRecHitAnalyzer.cc >> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-12-11-0200/src/DQMOffline/JetMET/src/HTMHTAnalyzer.cc >> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-12-11-0200/src/DQMOffline/JetMET/src/JPTJetAnalyzer.cc /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-12-11-0200/src/DQMOffline/JetMET/src/BeamHaloAnalyzer.cc: In constructor 'BeamHaloAnalyzer::BeamHaloAnalyzer(const edm::ParameterSet&)': /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-12-11-0200/src/DQMOffline/JetMET/src/BeamHaloAnalyzer.cc:72:66: error: no matching function for call to 'MuonSegmentMatcher::MuonSegmentMatcher(edm::ParameterSet&, MuonServiceProxy*&)' TheMatcher = new MuonSegmentMatcher(matchParameters, TheService); ^ /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-12-11-0200/src/DQMOffline/JetMET/src/BeamHaloAnalyzer.cc:72:66: note: candidates are: In file included from /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-12-11-0200/src/DQMOffline/JetMET/interface/BeamHaloAnalyzer.h:118:0, from /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-12-11-0200/src/DQMOffline/JetMET/src/BeamHaloAnalyzer.cc:1: you can see the results of the tests here: |
-1 In file included from /afs/cern.ch/cms/sw/ReleaseCandidates/vol0/slc5_amd64_gcc481/cms/cmssw/CMSSW_7_0_X_2013-12-11-0200/src/FWCore/Framework/src/Factory.h:4:0, from /afs/cern.ch/cms/sw/ReleaseCandidates/vol0/slc5_amd64_gcc481/cms/cmssw/CMSSW_7_0_X_2013-12-11-0200/src/FWCore/Framework/interface/MakerMacros.h:4, from /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-12-11-0200/src/FastSimulation/Muons/plugins/SealModules.cc:1: /afs/cern.ch/cms/sw/ReleaseCandidates/vol0/slc5_amd64_gcc481/cms/cmssw/CMSSW_7_0_X_2013-12-11-0200/src/FWCore/PluginManager/interface/PluginFactory.h: In instantiation of 'R\* edmplugin::PluginFactory::PMaker::create(Args ...) const [with TPlug = FastTSGFromIOHit; R = TrackerSeedGenerator; Args = {const edm::ParameterSet&, edm::ConsumesCollector&}]': /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-12-11-0200/src/FastSimulation/Muons/plugins/SealModules.cc:10:85: required from here /afs/cern.ch/cms/sw/ReleaseCandidates/vol0/slc5_amd64_gcc481/cms/cmssw/CMSSW_7_0_X_2013-12-11-0200/src/FWCore/PluginManager/interface/PluginFactory.h:51:55: error: no matching function for call to 'FastTSGFromIOHit::FastTSGFromIOHit(const edm::ParameterSet&, edm::ConsumesCollector&)' return new TPlug(std::forward(args)...); ^ /afs/cern.ch/cms/sw/ReleaseCandidates/vol0/slc5_amd64_gcc481/cms/cmssw/CMSSW_7_0_X_2013-12-11-0200/src/FWCore/PluginManager/interface/PluginFactory.h:51:55: note: candidates are: In file included from /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-12-11-0200/src/FastSimulation/Muons/plugins/SealModules.cc:4:0: /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-12-11-0200/src/FastSimulation/Muons/plugins/FastTSGFromIOHit.h:27:3: note: FastTSGFromIOHit::FastTSGFromIOHit(const edm::ParameterSet&) you can see the results of the tests here: |
Question: In the Message Logger if there is an issue on the helper it is printed as an issue on the producer |
@@ -72,25 +77,27 @@ | |||
|
|||
theService->update(iSetup); | |||
|
|||
for(std::vector<std::pair<edm::InputTag, edm::InputTag> >::const_iterator iLink = theTrackLinks.begin(); | |||
unsigned int counter= 0; ///DAMN I cannot read the label of the TOKEN so I need to do this stupid thing to create the labels of the products! |
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.
You can get the label by
edm::EDConsumerBase::Labels label;
labelsForToken(token,label);
So the next lines could be
edm::EDConsumerBase::Labels label1, label2;
labelsForToken((_iLink).first,label1);
labelsForToken((_iLink).second,label2);
std::string mapname = string(label1.productInstance) + "To" + string(label2.productInstance);
But no need to change, looks fine like that.
+1 |
+1 |
Hi,
Here are the changes on the consumes migrations for muons.
After running the reco again I see that I have a couple of dependencies left
that are not migrated. I guess I cannot do anything for those .
Question: In the Message Logger if there is an issue on the helper it is printed as an issue on the producer
right?
Michalis