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

[SIM/MTD] Fixed ECAL GFlash for Phase2 #47186

Merged
merged 2 commits into from
Jan 26, 2025

Conversation

civanch
Copy link
Contributor

@civanch civanch commented Jan 26, 2025

PR description:

In the case of Phase2, there is a problem when fast energy spot appears outside ecal inside MTD sensitive detector. the probability of this is not high but previously this situation provided crash at SIM step. In this PR a protection is added.

this fix should not affect any production and any default WF.

PR validation:

private

If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for: NO backport

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 26, 2025

cms-bot internal usage

@civanch civanch changed the title Fixed ECAL GFlash for Phase2 [SIM/MTD] Fixed ECAL GFlash for Phase2 Jan 26, 2025
@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @civanch for master.

It involves the following packages:

  • SimG4CMS/Forward (simulation)
  • SimG4Core/Application (simulation)

@civanch, @cmsbuild, @kpedro88, @mdhildreth can you please review it and eventually sign? Thanks.
@bsunanda, @fabiocos, @makortel, @martinamalberti, @rovere, @slomeo this is something you requested to watch as well.
@antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@civanch
Copy link
Contributor Author

civanch commented Jan 26, 2025

please test

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 28KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5a326c/43947/summary.html
COMMIT: 9afc7f9
CMSSW: CMSSW_15_0_X_2025-01-26-0000/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/47186/43947/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@civanch
Copy link
Contributor Author

civanch commented Jan 26, 2025

+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. @antoniovilela, @sextonkennedy, @mandrenguyen, @rappoccio (and backports should be raised in the release meeting by the corresponding L2)

@mandrenguyen
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 3301087 into cms-sw:master Jan 26, 2025
11 checks passed
@@ -131,6 +131,9 @@ int MtdSD::getTrackID(const G4Track* aTrack) {
edm::LogVerbatim("MtdSim") << "MtdSD: Track ID: " << aTrack->GetTrackID()
<< " ETL Track ID: " << trkInfo->mcTruthID() << ":" << theID;
#endif
// In the case of ECAL GFlash fast spot may be inside MTD and should be ignored
} else if (rname == "EcalRegion") {
Copy link
Contributor

Choose a reason for hiding this comment

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

@civanch how does it happen that EcalRegion is found within MTD? Isn't this a bug?

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.

4 participants