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
CMSSW 7 0 X switch to consumes API #808
CMSSW 7 0 X switch to consumes API #808
Conversation
A new Pull Request was created by @mileva for CMSSW_7_0_X. CMSSW 7 0 X switch to consumes API It involves the following packages: Validation/MuonRPCDigis @rovere, @deguio can you please review it and eventually sign? Thanks. |
Hi, I ran the usual tests on top of CMSSW_7_0_X_2013-09-12-0200, all tests passed: you can see the artifacts here: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/477 |
ciao @mileva thanks for the changes. thank you in advance, |
Pull request #808 was updated. @danduggan, @rovere, @deguio can you please check and sign again. |
# Name of the root file which will contain the histos | ||
outputFile = cms.untracked.string('') | ||
outputFile = cms.untracked.string('output.root') |
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.
is there a reason why you left this one?
OK, From: deguio [notifications@github.com] @milevahttps://github.com/mileva I would just replace it with an empty string as it was before. @roverehttps://github.com/rovere — |
@mileva can you implement the change and commit the code again please? |
Pull request #808 was updated. @danduggan, @nclopezo, @rovere, @deguio can you please check and sign again. |
edm::Handle<RPCDigiCollection> rpcDigis; | ||
event.getByLabel(digiLabel, rpcDigis); | ||
// Obsolete code commented and replaced with getByToken invokes (labels and proccesses are specified on variable init) - stanislav | ||
// event.getByLabel("g4SimHits", "MuonRPCHits", simHit); |
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.
Please do not comment old code. Just remove it.
Pull request #808 was updated. @danduggan, @nclopezo, @rovere, @deguio can you please check and sign again. |
+1 |
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? |
…yToken Consumes API -- Validation/MuonRPCDigis
Code modified to use the consumes API. getByLabel() invokations are replaced with getByToken().