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

propagate the enableMT flag from DQMStore to MEtoEDMConverter and DQMRoo... #4745

Merged
merged 2 commits into from Jul 25, 2014

Conversation

deguio
Copy link
Contributor

@deguio deguio commented Jul 22, 2014

...tOutputModule and make the DQMRootSource a friend with DQMStore

…RootOutputModule and make the DQMRootSource a friend with DQMStore
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @deguio for CMSSW_7_2_X.

propagate the enableMT flag from DQMStore to MEtoEDMConverter and DQMRoo...

It involves the following packages:

DQMServices/Components
DQMServices/Core
DQMServices/FwkIO

@ojeda, @danduggan, @rovere, @cmsbuild, @nclopezo, @deguio, @Degano can you please review it and eventually sign? Thanks.
@barvic 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.

@@ -46,7 +46,6 @@ MEtoEDMConverter::MEtoEDMConverter(const edm::ParameterSet & iPSet) :
// get dqm info
dbe = 0;
dbe = edm::Service<DQMStore>().operator->();
enableMultiThread_ = dbe->enableMultiThread_;
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you also hide DQMStore::enableMultiThread_ behind a get function since public member data is not allowed in CMSSW?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hello chris,
the member is accessible only by the friend classes. it is not public
https://github.com/deguio/cmssw/blob/propagateEnableMT/DQMServices/Core/interface/DQMStore.h#L691

still not allowed? why?
thanks,
F.

@cmsbuild
Copy link
Contributor

Pull request #4745 was updated. @ojeda, @danduggan, @rovere, @cmsbuild, @nclopezo, @deguio, @Degano can you please check and sign again.

@@ -714,6 +714,7 @@ class DQMStore
friend class DQMArchiver;
friend class DQMStoreExample; // for get{All,Matching}Contents -- sole user of this method!
friend class DQMRootOutputModule;
friend class DQMRootSource;
Copy link
Contributor

Choose a reason for hiding this comment

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

If you added a public function

bool multiThreadingEnabled() const { return enableMultiThread_; }

Then you wouldn't have to make DQMRootSource a friend. That would minimize coupling and make maintenance easier.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, it makes sense and I agree. But basically all the classes which are friend with DQM store will have to stay so because they access methods which will be made private soon as soon as the transition to dqmedanalyzer finishes.

@cmsbuild
Copy link
Contributor

-1
Tested at: 9005d64
When I ran the RelVals I found an error in the following worklfows:
101.0 step1

runTheMatrix-results/101.0_SingleElectronE120EHCAL+SingleElectronE120EHCAL/step1_SingleElectronE120EHCAL+SingleElectronE120EHCAL.log

you can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4745/420/summary.html

@cmsbuild
Copy link
Contributor

@deguio
Copy link
Contributor Author

deguio commented Jul 23, 2014

+1
failure not related

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_2_X IBs unless changes (but tests are reportedly failing).

@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_2_X IBs unless changes (tests are also fine).

nclopezo added a commit that referenced this pull request Jul 25, 2014
DQMServices -- propagate the enableMT flag from DQMStore to MEtoEDMConverter and DQMRoo...
@nclopezo nclopezo merged commit 44019cc into cms-sw:CMSSW_7_2_X Jul 25, 2014
@cmsbuild
Copy link
Contributor

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