Skip to content

Conversation

@eigen1907
Copy link
Contributor

@eigen1907 eigen1907 commented Jan 20, 2025

PR description:

This PR modifies the isFront function inside the RPC Endcap Geometry Builder.
It will be applied in synchronization with PR (#47134) by Sunanda Banerjee.

The isFront function classifies RPCs as front or back chambers by RPC Ids.

As the PR (#47134) modifies the z coordinates of RPCs inside RPC endcap stations (RE-4, RE-3, RE-2, RE+2, RE+3, RE+4),
The criteria for the isFront function needs to be changed as well.
Therefore, this PR modifies the criteria for the isFront function correctly as the z coordinate changes.

For history and more details, see the previous meeting materials.
(https://indico.cern.ch/event/1475698/contributions/6214667/attachments/2962024/5210467/RPCGeomReport_241106RPCDPG_JShin.pdf)

PR validation:

To avoid errors, this PR should be used with #47134 and the new scenario.
Otherwise (when applying this PR alone), the error below will be raised by the selfTest function in the Geometry Builder.

Error reproduction)

A fatal system signal has occurred: abort signal
The following is the call stack containing the origin of the signal.
...
#9  0x00007f62d8e9276c in MuRingForwardDoubleLayer::selfTest() const () from /eos/home-j/joshin/workspace-eos/rpc-geometry/update-isfront/CMSSW_15_0_0_pre1/lib/el9_amd64_gcc12/libRecoMuonDetLayers.so
#10 0x00007f62d8e9359b in MuRingForwardDoubleLayer::MuRingForwardDoubleLayer(std::vector<ForwardDetRing const*, std::allocator<ForwardDetRing const*> > const&, std::vector<ForwardDetRing const*, std::allocator<ForwardDetRing const*> > const&) () from /eos/home-j/joshin/workspace-eos/rpc-geometry/update-isfront/CMSSW_15_0_0_pre1/lib/el9_amd64_gcc12/libRecoMuonDetLayers.so
#11 0x00007f62d8e9f36f in MuonRPCDetLayerGeometryBuilder::buildLayer(int, std::vector<int, std::allocator<int> > const&, int, int, std::vector<int, std::allocator<int> >&, RPCGeometry const&) () from /eos/home-j/joshin/workspace-eos/rpc-geometry/update-isfront/CMSSW_15_0_0_pre1/lib/el9_amd64_gcc12/libRecoMuonDetLayers.so
#12 0x00007f62d8e9fea8 in MuonRPCDetLayerGeometryBuilder::buildEndcapLayers(RPCGeometry const&) () from /eos/home-j/joshin/workspace-eos/rpc-geometry/update-isfront/CMSSW_15_0_0_pre1/lib/el9_amd64_gcc12/libRecoMuonDetLayers.so
#13 0x00007f62bb85a0bf in MuonDetLayerGeometryESProducer::produce(MuonRecoGeometryRecord const&) () from /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_15_0_0_pre1/lib/el9_amd64_gcc12/pluginRecoMuonDetLayersPlugins.so
...

This change will also require a new payload for RPC Geometry when working with Global Tags.

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:

Nothing special

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 20, 2025

cms-bot internal usage

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • RecoMuon/DetLayers (reconstruction)

@cmsbuild, @jfernan2, @mandrenguyen can you please review it and eventually sign? Thanks.
@CeliaFernandez, @Fedespring, @HuguesBrun, @abbiendi, @andrea21z, @bellan, @cericeci, @jhgoh, @missirol, @rociovilar, @trocino 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

@eigen1907 eigen1907 changed the title Modify RPC isFront function to match criteria with modified RPC geometries for Run, Run 3 and Run 4 Modify RPC isFront function to match criteria with will be modified RPC geometries for Run, Run 3 and Run 4 Jan 20, 2025
@perrotta
Copy link
Contributor

please test
(#47134 is already merged in the IBs)

@bsunanda
Copy link
Contributor

The new scenarios are in #47158 (Run2), #47159 (Run3) and #47160 (Run4).

@perrotta
Copy link
Contributor

please abort

@perrotta
Copy link
Contributor

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests RelVals RelVals-INPUT AddOn
Size: This PR adds an extra 16KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-09a151/43910/summary.html
COMMIT: 185af90
CMSSW: CMSSW_15_0_X_2025-01-21-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/47138/43910/install.sh to create a dev area with all the needed externals and cmssw changes.

Unit Tests

I found 2 errors in the following unit tests:

---> test test_MC_22_crosscheck had ERRORS
---> test test_MC_23_crosscheck had ERRORS

RelVals

  • 135.4A fatal system signal has occurred: abort signal
  • 1306.0A fatal system signal has occurred: abort signal
  • 7.3A fatal system signal has occurred: abort signal
Expand to see more relval errors ...

RelVals-INPUT

  • 145.711145.711_RunParkingSingleMuon02024I/step2_RunParkingSingleMuon02024I.log
  • 1030.01030.0_RunHLTPhy2017B/step2_RunHLTPhy2017B.log
  • 145.7145.7_RunBTagMu2024I/step2_RunBTagMu2024I.log
Expand to see more relval errors ...

AddOn Tests

A fatal system signal has occurred: abort signal
A fatal system signal has occurred: abort signal
A fatal system signal has occurred: abort signal
Expand to see more addon errors ...

@jhgoh
Copy link
Contributor

jhgoh commented Jan 22, 2025

The errors such as the WF 140.045 are expected

cmsRun: src/RecoMuon/DetLayers/src/MuRingForwardDoubleLayer.cc:196: void MuRingForwardDoubleLayer::selfTest() const: Assertion `frontz < backz' failed.

already written in the PR description.

@jfernan2
Copy link
Contributor

@jhgoh I do not fully understand, according to your description, the error should not be present since #47134 has been already merged? Am I missing anything?

@cmsbuild
Copy link
Contributor

Pull request #47138 was updated. @arunhep, @atpathak, @cmsbuild, @davidlange6, @fabiocos, @ftenchini, @jfernan2, @mandrenguyen, @perrotta can you please check and sign again.

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests RelVals-INPUT AddOn
Size: This PR adds an extra 20KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-09a151/48084/summary.html
COMMIT: 77e477f
CMSSW: CMSSW_16_0_X_2025-09-12-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/47138/48084/install.sh to create a dev area with all the needed externals and cmssw changes.

Unit Tests

I found 4 errors in the following unit tests:

---> test TestDQMOnlineClient-hlt_dqm_sourceclient had ERRORS
---> test TestDQMOnlineClient-mutracking_dqm_sourceclient had ERRORS
---> test TestDQMOnlineClient-pixel_dqm_sourceclient had ERRORS
and more ...

RelVals-INPUT

  • 143.902143.902_RunUPC2024/step2_RunUPC2024.log
  • 143.921143.921_RunUPC2024/step2_RunUPC2024.log
  • 143.901143.901_RunUPC2024/step2_RunUPC2024.log
Expand to see more relval errors ...

AddOn Tests

A fatal system signal has occurred: abort signal
A fatal system signal has occurred: abort signal
A fatal system signal has occurred: abort signal
Expand to see more addon errors ...

Comparison Summary

Summary:

  • You potentially removed 4 lines from the logs
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 4113751
  • DQMHistoTests: Total failures: 58
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4113673
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 49 files compared)
  • Checked 215 log files, 184 edm output root files, 50 DQM output files
  • TriggerResults: no differences found

@perrotta
Copy link
Contributor

So, the tests allowed us to verify where there are issues with the Global Tags. Let remind here that up to now only 151X 2025 MC GTs were updated with the fixed RPC geometry, at least among the ones listed in Configuration/AlCa/python/autoCond.py

According to the logs I was able to inspect, I see two kinds of issues to be addressed:

  • The fixed RPC geometry must be imported in the 150X_dataRun3_* GTs in autoCond. To do so, the new GTs with the fixed RPC geometry must be created in 151X, analogously to what was done for the 2025 MC GTs in 151X
  • As far as I understand, the HLT AddOn test for MC are currently run (see e.g. [1]) with --era Run3_2024, but with 2025 MC GTs as for --conditions auto:run3_mc_GRun (which corresponds to 'phase1_2025_realistic')

The first item should be investigated together with the Condition Preparation group (@arunhep @atpathak, and I can also help)

About the second item: @mmusich @Martin-Grunewald is there any reason for not moving to --era Run3_2025 for those addOn tests? Or, if you really want to stick on a 2024 era, shouldn't you base the run3_mc_GRun GT in autoCondHLT.py to 'phase1_2024_realistic' GT instead?

[1] https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-09a151/48084/addOnTests/hlt_mc_GRun/cmdLog

@mmusich
Copy link
Contributor

mmusich commented Sep 13, 2025

is there any reason for not moving to --era Run3_2025 for those addOn tests?

See #48903

@perrotta
Copy link
Contributor

is there any reason for not moving to --era Run3_2025 for those addOn tests?

See #48903

Great, thank you @mmusich for pointing it out! We should have waited only one IB, then...
That PR is already merged in master: let retry the tests, then, to verify whether only 2025 data workflows keep failing.

@perrotta
Copy link
Contributor

please test

@mmusich
Copy link
Contributor

mmusich commented Sep 13, 2025

let retry the tests, then, to verify whether only 2025 data workflows keep failing.

Just a note, the HLT recognizes no eras. If this is meant as a permanent change the HLT menus will need to be updated accordingly via CMSHLT ticket and regular integration procedures .

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests RelVals-INPUT AddOn
Size: This PR adds an extra 16KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-09a151/48099/summary.html
COMMIT: 77e477f
CMSSW: CMSSW_16_0_X_2025-09-13-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/47138/48099/install.sh to create a dev area with all the needed externals and cmssw changes.

Unit Tests

I found 4 errors in the following unit tests:

---> test TestDQMOnlineClient-hlt_dqm_sourceclient had ERRORS
---> test TestDQMOnlineClient-mutracking_dqm_sourceclient had ERRORS
---> test TestDQMOnlineClient-sistrip_dqm_sourceclient had ERRORS
and more ...

RelVals-INPUT

  • 143.902143.902_RunUPC2024/step2_RunUPC2024.log
  • 143.921143.921_RunUPC2024/step2_RunUPC2024.log
  • 143.901143.901_RunUPC2024/step2_RunUPC2024.log
Expand to see more relval errors ...

AddOn Tests

A fatal system signal has occurred: abort signal
A fatal system signal has occurred: abort signal
A fatal system signal has occurred: abort signal
Expand to see more addon errors ...

Comparison Summary

Summary:

  • You potentially added 1 lines to the logs
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 4113751
  • DQMHistoTests: Total failures: 98
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4113633
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 49 files compared)
  • Checked 215 log files, 184 edm output root files, 50 DQM output files
  • TriggerResults: no differences found

@cmsbuild
Copy link
Contributor

Milestone for this pull request has been moved to CMSSW_16_1_X. Please open a backport if it should also go in to CMSSW_16_0_X.

@cmsbuild cmsbuild modified the milestones: CMSSW_16_0_X, CMSSW_16_1_X Dec 18, 2025
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.

8 participants