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

Phase-2 only detector SIM collection in Run-3 workflows #42986

Closed
srimanob opened this issue Oct 11, 2023 · 15 comments
Closed

Phase-2 only detector SIM collection in Run-3 workflows #42986

srimanob opened this issue Oct 11, 2023 · 15 comments

Comments

@srimanob
Copy link
Contributor

As discussed #42961, the Phase-2 only SIM collections appears in Run-3 workflow. This issue is to follow up in case we would like to implement a switch to turn-off collections, to avoid confusion.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 11, 2023

A new Issue was created by @srimanob Phat Srimanobhas.

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

cms-bot commands are listed here

@srimanob
Copy link
Contributor Author

assign simulation,geometry,upgrade

@cmsbuild
Copy link
Contributor

New categories assigned: simulation,geometry,upgrade

@Dr15Jones,@AdrianoDee,@civanch,@civanch,@bsunanda,@makortel,@mdhildreth,@mdhildreth,@srimanob you have been requested to review this Pull request/Issue and eventually sign? Thanks

@antoniovilela
Copy link
Contributor

Comment by Matti:
#42982 (comment)

@civanch
Copy link
Contributor

civanch commented Oct 12, 2023

the problem is a bit wider. We have Totem, Castor, sensitive part of HF, and now Phase-2 detectors. Sensitive detector classes are not created if they are not in geometry but all branches are there and OscarMTProducer offers the same for any type of jobs and geometries.

@bsunanda
Copy link
Contributor

bsunanda commented Oct 12, 2023 via email

@civanch
Copy link
Contributor

civanch commented Oct 12, 2023

For me legacy==run2, would you agree?

@antoniovilela
Copy link
Contributor

Thanks Sunanda, Vladimir.

One question is would it be feasible to add a flag in the OscarProducer indicating run1/2/3/4, or as you said legacy, run3 and run4, so you customize what you call by these periods?

@srimanob
Copy link
Contributor Author

Will era or modifier work to identify all cases? I have no clue if testbeam need something special. I assume we don't have specific era/modifier for test beam.

@makortel
Copy link
Contributor

Would it be feasible to make the sensitive detector builder classes that inherit from SensitiveDetectorMakerBase (that already call the esConsumes()/consumes()) to call the produces() for those data product types the corresponding sensitive detector produces the products? Then the set of data product branches would be correct automatically without any configuration changes.

The framework provides edm::ProducesCollector helper class (via producesCollector() function) that can be used analogously to edm::ConsumesCollector to collect the produces() information from helper classes.

@bsunanda
Copy link
Contributor

bsunanda commented Oct 13, 2023 via email

@civanch
Copy link
Contributor

civanch commented Dec 2, 2023

+1

@civanch
Copy link
Contributor

civanch commented Dec 29, 2023

@srimanob , this is already done and the issue may be closed.

@srimanob
Copy link
Contributor Author

+Upgrade

@cmsbuild
Copy link
Contributor

This issue is fully signed and ready to be closed.

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

6 participants