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
Migration of a bunch of validation modules to the new DQM interfaces (3) #6053
Migration of a bunch of validation modules to the new DQM interfaces (3) #6053
Conversation
A new Pull Request was created by @vanbesien (Broen van Besien) for CMSSW_7_3_X. Migration of a bunch of validation modules to the new DQM interfaces (3) It involves the following packages: DQMOffline/EGamma @nclopezo, @danduggan, @rovere, @cmsbuild, @deguio, @ojeda can you please review it and eventually sign? Thanks. |
|
||
triggerEvent_token_ = consumes<trigger::TriggerEvent>(pset.getParameter<edm::InputTag>("triggerEvent")); | ||
void PhotonAnalyzer::bookHistogramsForHistogramCounts(DQMStore::IBooker & iBooker) |
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.
Do we really need to have these histograms included? We have put in place several other tools to monitor the number of ME recursively in each folder at which depth. Can we safely drop them?
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.
I would love to remove them, cause it's something quite non-standard (haven't seen this kind of thing in any of the other packages) and hence they gave me some headache to migrate them.
What do you think Fede?
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.
I share marco's point and I would go ahead removing them. could you please take care of this?
thanks in advance,
F.
thanks @vanbesien for this. is not performed in the ctor? if there is no reason could you move it there? |
Hi @deguio it's certainly possible to move all the getParamaters to the constructor. (However: This would involve not only this class, but also some others.) The main reason I left it in the bookHistograms methods is for code readability. In principle you want to take out the data from the parameters as late as possible. I would estimate that that is one of the aims of this class. |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_3_X IBs unless changes (tests are also fine). This pull request will be automatically merged. |
…fe_part_02 Migration of a bunch of validation modules to the new DQM interfaces (3)
No description provided.