Navigation Menu

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

[LHERunInfo] comment out the statistics printout #11420

Merged
merged 2 commits into from Sep 26, 2015
Merged

[LHERunInfo] comment out the statistics printout #11420

merged 2 commits into from Sep 26, 2015

Conversation

syuvivida
Copy link
Contributor

Commented out the statistics printout of LHERunInfo since it is misleading.
Users should use the information from GenXSecAnalyzer.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @syuvivida for CMSSW_7_6_X.

[LHERunInfo] comment out the statistics printout

It involves the following packages:

GeneratorInterface/LHEInterface

@vciulli, @covarell, @thuer, @cmsbuild, @bendavid, @govoni can you please review it and eventually sign? Thanks.
@mkirsano 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.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.
@Degano you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@covarell
Copy link
Contributor

@bendavid @govoni are we sure we want to delete this?
It seems someone has put quite some effort in defining a correct output... and the discrepancy found by Steve seems to affect only LHEs with a very small number of events we seldom deal with...

@bendavid
Copy link
Contributor

I was thinking more to gracefully silence/avoid the printout for normal running but still have the code there for debugging.

In principle all of this logic (and much of the code) should now be duplicated in the GenXSecAnalyzer

@syuvivida
Copy link
Contributor Author

Hello,
Do you guys prefer that I simply disable all the hadronizer filters that calls this statistics function,
for example, HadronizerFilter, etc ...
while still keeping the LHERunInfo::statistics funcion non-empty?

Eiko

@bendavid
Copy link
Contributor

Does the statistics() function do anything aside from the printout?

@syuvivida
Copy link
Contributor Author

only printout

@syuvivida
Copy link
Contributor Author

@bendavid @covarell @govoni
I will be offline from tomorrow until Sep 28. If we make a decision today, I could re-commit today.

Eiko

@covarell
Copy link
Contributor

I think the best solution would be to keep all the code but change all the cout into a logging level which is not activated by the normal settings of the MessageLogger (e.g. LogDebug)

@syuvivida
Copy link
Contributor Author

@covarell
I have replaced all cout messages inside LHERunInfo::statistics with LogDebug and also tested the new code by turning on LogDebug.

@cmsbuild
Copy link
Contributor

Pull request #11420 was updated. @vciulli, @covarell, @thuer, @cmsbuild, @bendavid, @govoni can you please check and sign again.

@covarell
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_6_X IBs after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar

@davidlange6
Copy link
Contributor

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_6_X IBs after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_6_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_6_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar

@davidlange6
Copy link
Contributor

+1

cmsbuild added a commit that referenced this pull request Sep 26, 2015
[LHERunInfo] comment out the statistics printout
@cmsbuild cmsbuild merged commit 918f924 into cms-sw:CMSSW_7_6_X Sep 26, 2015
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

5 participants