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

Sensitive detectors update 7 #23625

Merged
merged 3 commits into from Jun 21, 2018

Conversation

civanch
Copy link
Contributor

@civanch civanch commented Jun 19, 2018

This is the last PR for clean up of Geant4 sensitive detector classes. Only forward detectors are updated:

  1. A new class TimingSD surves for common computations. Duplicated codes in several classes are removed, instead inheritance is used.
  2. Comments of @VinInn are implemented in a good part
  3. Improved debug printouts
  4. removed unused headers, commented and empty lines

Run-1 and run-2 workflows are expected to be unchanged.

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @civanch (Vladimir Ivantchenko) for master.

It involves the following packages:

SimG4CMS/Forward

@cmsbuild, @civanch, @mdhildreth can you please review it and eventually sign? Thanks.
@makortel this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@civanch
Copy link
Contributor Author

civanch commented Jun 19, 2018

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 19, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/28767/console Started: 2018/06/19 19:56

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 16 differences found in the comparisons
  • DQMHistoTests: Total files compared: 31
  • DQMHistoTests: Total histograms compared: 2902013
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2901821
  • DQMHistoTests: Total skipped: 190
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 30 files compared)
  • Checked 128 log files, 14 edm output root files, 31 DQM output files

@civanch
Copy link
Contributor Author

civanch commented Jun 20, 2018

+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

@civanch I understand that this is the latest code migration you are planning for 10_2_X. Concerning the timing detectors, MtdSD was almost a clone of FastTimerSD, that should be dropped as soon as we get rid of the old scenario. Anyway I fear that many, if not all, of these SD are not really tested in the short matrix (for instance not MTD). Did you check offline the identity of the output? Is this expected?

In your communication you were also mentioning an issue with the order in which particles are processed in the timing detectors. Is this addressed as well or not in this PR?

@fabiocos
Copy link
Contributor

partly answering myself, in 2018 the geometry includes ZDC, and scenario D21 probed in the matrix touches FastTimerSD

@civanch
Copy link
Contributor Author

civanch commented Jun 20, 2018

@fabiocos , I agree with your comment on usage and validation of forward SD. The reason of this clean-up is to reduce code duplication, which make a problem for newcomer and provoke copy/paste of old code and propagation of old patterns from class to class. Forward SD classes , of course, do not affect CPU performance of situation but in this modification minor problems in hits are fixed, namely fastest particle is chosen for a hit, hit position and exit point of a hit is computed and filled correctly. The rest is pure technical - implementation of CMS code rules. This is the last general PR for developments for 10_2.

@fabiocos
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit ea6281d into cms-sw:master Jun 21, 2018
@fabiocos
Copy link
Contributor

for timing detectors for Phase2 we may have a closer dedicated check later on, in any case that code is still under potential development

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

3 participants