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 step depends on reco BeamSpot due to PPS transport introduced in #35679 #41894

Closed
francescobrivio opened this issue Jun 7, 2023 · 13 comments

Comments

@francescobrivio
Copy link
Contributor

francescobrivio commented Jun 7, 2023

Issue description

While discussing with @mmusich about the conditions for 2023 MC production, we discovered that starting from Run3 (in particular PR #35679) the SIM step depends on the reco-level BeamSpot, as highlighted in #35679 (comment).

This is clearly breaking the whole chain of MC conditions production beacuse it blocks the possibility to have a PU library (which in theory should only depend on the generator VertexSmearing).

Possible solution

As Marco suggests in the same comment, the SimTransport/PPSProtonTransport/src/HectorTransport.cc producer should probably be changed to consume the generator level VertexSmearing instead of the reco BS from the GT, but PPS experts should confirm if this is correct or not.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 7, 2023

A new Issue was created by @francescobrivio .

@Dr15Jones, @perrotta, @dpiparo, @rappoccio, @makortel, @smuzaffar can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

@francescobrivio
Copy link
Contributor Author

assign simulation,ctpps-dpg

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 7, 2023

New categories assigned: ctpps-dpg,simulation

@mdhildreth,@vavati,@fabferro,@jan-kaspar,@civanch you have been requested to review this Pull request/Issue and eventually sign? Thanks

@civanch
Copy link
Contributor

civanch commented Jun 9, 2023

@fabferro , can you, please, comment or invite somebody with whom we should discuss the issue.

@fabferro
Copy link
Contributor

fabferro commented Jun 9, 2023

@diemort is checking

@diemort
Copy link
Contributor

diemort commented Jun 9, 2023

@civanch @fabferro I'm contact with @mundim to take a look at this issue in the following days.

@diemort
Copy link
Contributor

diemort commented Jun 9, 2023

@francescobrivio @mmusich @civanch just for the record, SimTransport/PPSProtonTransport/src/OpticalFunctionsTransport.cc is the default simulation for proton propagation.

As proposed by @mmusich, should we move from BeamSpotObjects to SimBeamSpotObjects ?

@mmusich
Copy link
Contributor

mmusich commented Jun 9, 2023

@diemort

should we move from BeamSpotObjects to SimBeamSpotObjects

currently SimBeamSpotObjects is not stored in the Global Tag (there is active no usage yet, though I have been entertaining the idea of using it in lieu of the vertex smearing to minimize the chance of mismatches between GEN and RECO steps), but indeed this looks like a good use case.

@diemort
Copy link
Contributor

diemort commented Jun 9, 2023

@mmusich I see. Does this mean that the previous GTs don't have a record for this object and we need to promote it in the next GTs?

@mmusich
Copy link
Contributor

mmusich commented Jun 9, 2023

Does this mean that the previous GTs don't have a record for this object and we need to promote it in the next GTs?

That's correct.

@diemort
Copy link
Contributor

diemort commented Jun 9, 2023

@wpcarvalho can we included this record in the futures PPS GTs? I'm not sure which is the best procedure here.

@wpcarvalho
Copy link
Contributor

@wpcarvalho can we included this record in the futures PPS GTs? I'm not sure which is the best procedure here.

Hi @diemort , sorry for the late comment, somehow I missed this issue. I've seen that @francescobrivio and @mmusich have made improvements to the SimBeamSpotObjects code. Next week I will check what is needed to produce a sensible payload so that you can test it in the MC chain.

@francescobrivio
Copy link
Contributor Author

@cms-sw/ctpps-dpg-l2 @cms-sw/simulation-l2 I'll close this issue as completed since the Run-1/2/3 cases have been all addressed in cms-AlCaDB/AlCaTools#86.

The remaining Phase-2 case open points will be tracked in cms-AlCaDB/AlCaTools#95, but they have nothing to do with CTPPS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants