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

SiPixelFolderOrganizer update in 72X #4507

Merged
merged 2 commits into from
Jul 19, 2014
Merged

Conversation

leggat
Copy link
Contributor

@leggat leggat commented Jul 3, 2014

72X version of #4425

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 3, 2014

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

SiPixelFolderOrganizer update in 72X

It involves the following packages:

DQM/SiPixelCommon
DQM/SiPixelMonitorCluster
DQM/SiPixelMonitorDigi
DQM/SiPixelMonitorRawData
DQM/SiPixelMonitorRecHit
DQM/SiPixelMonitorTrack

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 3, 2014

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 3, 2014

@deguio
Copy link
Contributor

deguio commented Jul 12, 2014

hello @leggat
few changes are still needed. the direct instantiation of the DQMStore is forbidden. I am referring to:
https://github.com/leggat/cmssw/blob/folderOrganizer72X/DQM/SiPixelCommon/src/SiPixelFolderOrganizer.cc#L32

and similar lines. could you change the SiPixelFolderOrganizer to use the ibooker instead?
please let me know if you have questions.
thanks in advance,
F.

@deguio
Copy link
Contributor

deguio commented Jul 12, 2014

actually what I am asking is probably to completely remove the methods which use the DQMStore directly. I see that you have implemented them to use the ibooker with a different signature.

@leggat
Copy link
Contributor Author

leggat commented Jul 14, 2014

Hi @deguio ,
I originally tried to make the changes like that in leggat@a4146ff from #4425 , but this caused conflicts in various codes in CalibTracker/SiPixelTools that relied on the original functionality of the SiPixelFolderOrganizer. That was why I put in the overloaded functions with different signatures - one in which the DQM framework wouldn't access the DQMStore at all but then the other so that these other codes would still run.
Is it now completely forbidden to access/instantiate the DQMStore from ALL code then, even on these CalibTracker codes running locally? Because if so then those codes will also need changing, and I'm not sure how they work or what they do, just that they try to call this function...
Cheers,
Duncan

@deguio
Copy link
Contributor

deguio commented Jul 14, 2014

hello @leggat
it is forbidden in the sense that soon it will be possible to book histograms only through the iBooker. the rest will be made private in the DQMStore class. so yes, also the private code should be migrated.
I will try to figure out who is the responsible for that code while keeping this PR on hold.
thanks for the explanation.
cheers,
F.

@deguio
Copy link
Contributor

deguio commented Jul 14, 2014

of course, since it is purely a technical change, feel free to migrate the modules in CalibTracker/SiPixelTools if you feel like.. ;)

@deguio
Copy link
Contributor

deguio commented Jul 19, 2014

+1
approving not to loose these changes. once the following packages will be migrated, it will be possible to remove the old methods.

CalibTracker/SiPixelTools/interface/SiPixelOfflineCalibAnalysisBase.h
CalibTracker/SiPixelTools/plugins/SiPixelErrorsDigisToCalibDigis.h
DQM/SiPixelMonitorClient/interface/SiPixelMuonHLT.h
DQM/SiPixelMonitorClient/src/SiPixelActionExecutor.cc
DQM/SiPixelMonitorClient/src/SiPixelDataQuality.cc
DQM/SiPixelMonitorClient/src/SiPixelInformationExtractor.cc

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

ktf added a commit that referenced this pull request Jul 19, 2014
SiPixelFolderOrganizer update in 72X
@ktf ktf merged commit fb28fb1 into cms-sw:CMSSW_7_2_X Jul 19, 2014
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