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

SimDataFormats/ValidationFormats - move G4 dependency out of data format #31273

Merged
merged 2 commits into from Sep 3, 2020

Conversation

davidlange6
Copy link
Contributor

Moved into TrackingMaterialProducer which already depends on G4.

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31273/17961

  • This PR adds an extra 20KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31273/17962

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @davidlange6 (David Lange) for master.

It involves the following packages:

BigProducts/Simulation
SimDataFormats/ValidationFormats
SimTracker/TrackerMaterialAnalysis

@smuzaffar, @civanch, @Dr15Jones, @makortel, @mdhildreth, @cmsbuild can you please review it and eventually sign? Thanks.
@fabiocos, @vargasa, @makortel, @mtosi, @GiacomoSguazzoni, @JanFSchulte, @rovere, @VinInn, @apsallid, @lecriste, @ebrondol, @threus, @dgulhan this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

Copy link
Contributor

@vargasa vargasa left a comment

Choose a reason for hiding this comment

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

Hello @davidlange6. Is it possible for you to update the same producer in the dd4hep folder please?

if (enter_sensitive) {
if (m_track_volume != nullptr) {
edm::LogWarning("TrackingMaterialProducer") << "Entering volume " << sensitive << "while inside volume "
<< m_track_volume << ". Something is inconsistent";
Copy link
Contributor

Choose a reason for hiding this comment

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

Hello @davidlange6. If this is inconsistent, is a warning enough?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No idea. it was a cerr which I wanted to make a message logger

Copy link
Contributor

Choose a reason for hiding this comment

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

@davidlange6 by running:

cmsRun SimTracker/TrackerMaterialAnalysis/test/trackingMaterialProducer10GeVNeutrino_ForPhaseI.py

Now I get thousands of printouts like this:

Entering volume TECModule2RphiActivewhile inside volume TECModule1StereoActive. Something is inconsistent
Entering volume TECModule1RphiActivewhile inside volume TECModule2RphiActive. Something is inconsistent
Entering volume TECModule1StereoActivewhile inside volume TECModule1RphiActive. Something is inconsistent
Entering volume TECModule2RphiActivewhile inside volume TECModule1StereoActive. Something is inconsistent
Entering volume TECModule2RphiActivewhile inside volume TECModule2RphiActive. Something is inconsistent
Entering volume TECModule3RphiActivewhile inside volume TECModule2RphiActive. Something is inconsistent
Entering volume TECModule3RphiActivewhile inside volume TECModule3RphiActive. Something is inconsistent
Entering volume TECModule4StereoActivewhile inside volume TECModule3RphiActive. Something is inconsistent
Entering volume TECModule4RphiActivewhile inside volume TECModule4StereoActive. Something is inconsistent
Entering volume TECModule3RphiActivewhile inside volume TECModule4RphiActive. Something is inconsistent
Entering volume TECModule4StereoActivewhile inside volume TECModule3RphiActive. Something is inconsistent
Entering volume TECModule4RphiActivewhile inside volume TECModule4StereoActive. Something is inconsistent
Entering volume PixelBarrelActiveFull1while inside volume PixelBarrelActiveFull0. Something is inconsistent
Entering volume PixelBarrelActiveFull2while inside volume PixelBarrelActiveFull1. Something is inconsistent
Entering volume PixelBarrelActiveFull3while inside volume PixelBarrelActiveFull2. Something is inconsistent
Entering volume TIBActiveRphi0while inside volume PixelBarrelActiveFull3. Something is inconsistent
Entering volume TIBActiveSter0while inside volume TIBActiveRphi0. Something is inconsistent
Entering volume TIBActiveRphi0while inside volume TIBActiveSter0. Something is inconsistent
Entering volume TIBActiveSter0while inside volume TIBActiveRphi0. Something is inconsistent
Entering volume TIBActiveRphi2while inside volume TIBActiveSter0. Something is inconsistent
Entering volume TIBActiveRphi2while inside volume TIBActiveRphi2. Something is inconsistent
Entering volume TOBActiveRphi0while inside volume TIBActiveRphi2. Something is inconsistent
Entering volume TOBActiveRphi0while inside volume TOBActiveRphi0. Something is inconsistent
Entering volume TOBActiveSter0while inside volume TOBActiveRphi0. Something is inconsistent
Entering volume TOBActiveRphi0while inside volume TOBActiveSter0. Something is inconsistent
Entering volume TOBActiveRphi2while inside volume TOBActiveRphi0. Something is inconsistent
Entering volume TOBActiveRphi2while inside volume TOBActiveRphi2. Something is inconsistent
Entering volume PixelForwardSensorwhile inside volume PixelBarrelActiveFull0. Something is inconsistent
Entering volume PixelForwardSensorwhile inside volume PixelForwardSensor. Something is inconsistent
Entering volume PixelForwardSensorwhile inside volume PixelForwardSensor. Something is inconsistent
Entering volume PixelForwardSensorwhile inside volume PixelForwardSensor. Something is inconsistent
Entering volume PixelBarrelActiveFull1while inside volume PixelBarrelActiveFull0. Something is inconsistent
Entering volume PixelBarrelActiveFull2while inside volume PixelBarrelActiveFull1. Something is inconsistent

Can you please double check that these changes do not change the expected behavior? as I pointed out before merging histograms from the unit test are also empty. Thanks

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in #31752

if (leave_sensitive) {
if (m_track_volume != sensitive) {
edm::LogWarning("TrackingMaterialProducer") << "Leaving volume " << sensitive << "while inside volume "
<< m_track_volume << ". Something is inconsistent";
Copy link
Contributor

Choose a reason for hiding this comment

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

Should it be an error/exception?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It wasn't before. No change in behavior is proposed...

Copy link
Contributor

Choose a reason for hiding this comment

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

I see, but this was handled internally by SimDataFormats/ValidationFormats/src/MaterialAccountingTrack.cc. I get a couple of empty histograms. FYI: @mmusich, @mtosi, @apsallid

@davidlange6
Copy link
Contributor Author

Hello @davidlange6. Is it possible for you to update the same producer in the dd4hep folder please?

can you be more specific? I don't see any needed change.

@vargasa
Copy link
Contributor

vargasa commented Aug 28, 2020

can you be more specific? I don't see any needed change.

Thank you @davidlange6 Please disregard my previous comment, this particular file didn't use any of the DD/Core classes and is not present in that folder

@davidlange6
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 28, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+1
Tested at: ebe9b72
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-961ef0/8982/summary.html
CMSSW: CMSSW_11_2_X_2020-08-27-2300
SCRAM_ARCH: slc7_amd64_gcc820

@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-961ef0/8982/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 2609667
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2609644
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 34 files compared)
  • Checked 149 log files, 22 edm output root files, 35 DQM output files

@davidlange6
Copy link
Contributor Author

davidlange6 commented Aug 28, 2020 via email

@civanch
Copy link
Contributor

civanch commented Aug 28, 2020

+1

@davidlange6
Copy link
Contributor Author

@makortel - any feedback on this PR?

@smuzaffar
Copy link
Contributor

smuzaffar commented Sep 3, 2020

+core
for BigProducts/Simulation

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 3, 2020

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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@qliphy
Copy link
Contributor

qliphy commented Sep 3, 2020

+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

6 participants