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

get rid of last remaining getByLabel calls in HLTrigger/HLTanalyzers #1611

Merged
merged 2 commits into from Nov 29, 2013

Conversation

perrotta
Copy link
Contributor

Remove the last remaining calls to getByLabel in the HLTrigger/HLTanalyzers package, also in the helper functions and their callers.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @perrotta for CMSSW_7_0_X.

get rid of last remaining getByLabel calls in HLTrigger/HLTanalyzers

It involves the following packages:

HLTrigger/HLTanalyzers

@Martin-Grunewald, @perrotta, @cmsbuild, @nclopezo, @fwyzard can you please review it and eventually sign? Thanks.
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.
@ktf you are the release manager for this.

@perrotta
Copy link
Contributor Author

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next IBs unless changes or unless it breaks tests. @ktf can you please take care of it?

@cmsbuild
Copy link
Contributor

@@ -46,6 +38,8 @@ void EventHeader::setup(TTree* HltTree) {
HltTree->Branch("Bx", &fBx, "Bx/I");
HltTree->Branch("Orbit", &fOrbit, "Orbit/I");
HltTree->Branch("AvgInstDelLumi", &fAvgInstDelLumi, "AvgInstDelLumi/D");

lumi_Token = iC.consumes<LumiSummary>(edm::InputTag("lumiProducer"));
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm afraid this is wrong, it needs to be

lumi_Token = iC.consumes<LumiSummary,edm::InLumi>(edm::InputTag("lumiProducer")); 

There was a bug in the framework which didn't enforce that, but the bug is fixed and this will fail.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you Chris. I've fixed the call according to your suggestion

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next IBs unless changes or unless it breaks tests. @ktf can you please take care of it?

@Dr15Jones
Copy link
Contributor

Also, this may conflict with changes on #1591 where I fixed the above mentioned problem in the previous version of the code.

@cmsbuild
Copy link
Contributor

Pull request #1611 was updated. @Martin-Grunewald, @perrotta, @cmsbuild, @nclopezo, @fwyzard can you please check and sign again.

@perrotta
Copy link
Contributor Author

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next IBs unless changes or unless it breaks tests. @ktf can you please take care of it?

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next IBs unless changes or unless it breaks tests. @ktf can you please take care of it?

ktf added a commit that referenced this pull request Nov 29, 2013
Consumes migration -- Get rid of last remaining getByLabel calls in HLTrigger/HLTanalyzers
@ktf ktf merged commit 2c6e131 into cms-sw:CMSSW_7_0_X Nov 29, 2013
@perrotta perrotta deleted the fixHLTanalyzers branch December 4, 2013 11:34
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

4 participants