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

update hltGetConfiguration for DAQ2 #5164

Merged

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Sep 3, 2014

No description provided.

@fwyzard
Copy link
Contributor Author

fwyzard commented Sep 3, 2014

@Martin-Grunewald , @perrotta can you let me know if this works for you, or else how many things it breaks ?

.A

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 3, 2014

A new Pull Request was created by @fwyzard (Andrea Bocci) for CMSSW_7_2_X.

update hltGetConfiguration for DAQ2

It involves the following packages:

HLTrigger/Configuration

@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.

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 4, 2014

@Martin-Grunewald
Copy link
Contributor

It seems you remove
-process.hltDQMFileSaver = cms.EDAnalyzer( "DQMFileSaver",
without adding anything to take its role.
??

@fwyzard
Copy link
Contributor Author

fwyzard commented Sep 4, 2014

Hi Martin,
in instrumentDQM(self), it is replaced by

dqmOutput = cms.OutputModule("DQMRootOutputModule",
    fileName = cms.untracked.string("DQMIO.root")
)

DQMIO.root needs to be converted into a standard root file, either by the harvesting step, or by DQMIO2histo.py if one does not care about the additional plots from the harvesting.

.A

@Martin-Grunewald
Copy link
Contributor

There is a problem. The extracted cfg files for our tests contain:

process.DQMOutput = cms.EndPath( process.hltDQMFileSaver )

but since the hltDQMFileSaver is vetoed, this leads
to a python crash. So perhaps the full endpath needs to be
killed, or hltDQMFileSaver should only be killed if one does --timing
??

@fwyzard
Copy link
Contributor Author

fwyzard commented Sep 4, 2014

Right, I forgot that the 7_1_1 menu does not have the DQM PoolOutputModule,
so removing the DQMileSaver leaves an empty path.

For the Run II menu:

  • if you prefer to keep the DQMFileSaver in its own EndPath, then we need
    to drop the EndPath together with the module
  • if you prefer to keep the DQMFileSaver in the same path as the
    hltOuputDQM (the output module for the online DQM stream), then we could
    add it to the menu, so that the EndPath is not empty ?

.A

On 4 September 2014 11:11, Martin Grunewald notifications@github.com
wrote:

There is a problem. The extracted cfg files for our tests contain:

process.DQMOutput = cms.EndPath( process.hltDQMFileSaver )

but since the hltDQMFileSaver is vetoed, this leads
to a python crash. So perhaps the full endpath needs to be
killed, or hltDQMFileSaver should only be killed if one does --timing
??


Reply to this email directly or view it on GitHub
#5164 (comment).

@Martin-Grunewald
Copy link
Contributor

Sorry, I think the issue is that the hltDQMFileSaver module definition is
removed, but its 'reference' is still kept in the endpath
DQMOutput = cms.EndPath( hltDQMFileSaver )
which is in the 711 menus.
I guess edmConfigFromDB does not cean this up,
but python does not like an endpath with a module
which is not defined (-> the error).
Can you just append a DQMRootOutputModule to DQMOutput endpath?

@fwyzard
Copy link
Contributor Author

fwyzard commented Sep 4, 2014

Can you just append a DQMRootOutputModule to DQMOutput endpath?

Actually, I would need to pre-pend it, otherwise it may be affected by the prescalers.

@fwyzard fwyzard force-pushed the update_hltGetConfiguration_for_DAQ2 branch from c55f6c2 to cf29b06 Compare September 4, 2014 14:58
@fwyzard
Copy link
Contributor Author

fwyzard commented Sep 4, 2014

OK, I've updated the confdb.py code to handle most (all ?) reasonable situations.

It seems to work for me for the latest GRun menu, now.

@fwyzard
Copy link
Contributor Author

fwyzard commented Sep 4, 2014

-1

does not work for the MWGR menu, now...

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 4, 2014

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

@Martin-Grunewald
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 4, 2014

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_2_X IBs unless changes or unless it breaks tests.

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 4, 2014

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 4, 2014

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_2_X IBs unless changes or unless it breaks tests.

@Martin-Grunewald
Copy link
Contributor

@nclopezo @ktf - merging please?

It seems when there is an intermediate -1 the labels do not reset properly
so that the tests are then not run...

nclopezo added a commit that referenced this pull request Sep 5, 2014
…DAQ2

HLTrigger/Configuration -- update hltGetConfiguration for DAQ2
@nclopezo nclopezo merged commit 3cd23fc into cms-sw:CMSSW_7_2_X Sep 5, 2014
@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 5, 2014

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 5, 2014

@fwyzard fwyzard deleted the update_hltGetConfiguration_for_DAQ2 branch December 23, 2014 10:27
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