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

Remove SiStripDetInfoFileReader as an edm::Service #27292

Merged

Conversation

pieterdavid
Copy link
Contributor

@pieterdavid pieterdavid commented Jun 20, 2019

PR description:

As pointed out by @makortel the SiStripDetInfoFileReader service was violating framework policy by providing "physics data" (the list of strip tracker modules, and the number of APVs and strip length for each), so this is an attempt to remove it where it was used in that way.
The same information can be obtained also from the geometry (GeometricDet on the IdealGeometryRecord for the list of DetIds, TrackerGeometry on the TrackerDigiGeometryRecord for the full information), so for the cases where that was available anyway (or could easily be added) I moved to that.
There are a few cases (the SiStripCondObjBuilderFromDb service, and ES producers of with "fake" content - e.g. set with parameters, random - of conditions that do not depend on any of these records). Those I changed to use their own SiStripDetInfoFile instance.

PR validation:

Compiled and ran unittests. Also checked that the configs for standalone use of the GeometricDet/TrackerGeometry work and give the same information, see here.
I did however not run all configs that I edited (many are for standalone tests, production of conditions etc., and several looked quite outdated), so it would be great if the relevant people (Strip online/DAQ, tracker DQM etc.) could have a look at those.

…cDet (to replace some SiStripDetInfoFileReader uses)
…of SiStripDetInfoFileReader to SiStrip DetId list
@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-513883/1128/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 33
  • DQMHistoTests: Total histograms compared: 3254598
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3254262
  • DQMHistoTests: Total skipped: 334
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 32 files compared)
  • Checked 137 log files, 14 edm output root files, 33 DQM output files

@cvuosalo
Copy link
Contributor

+1

@civanch
Copy link
Contributor

civanch commented Jun 24, 2019

+1

@jfernan2
Copy link
Contributor

+1

@ggovi
Copy link
Contributor

ggovi commented Jun 25, 2019

+1

@santocch
Copy link

+1

@pohsun
Copy link

pohsun commented Jun 25, 2019

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@fabiocos
Copy link
Contributor

+1

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