-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Migration to DD4hep: Geometric(Timing)Det dependence on DDD #28914
Comments
A new Issue was created by @fabiocos Fabio Cossutti. @Dr15Jones, @smuzaffar, @silviodonato, @makortel, @davidlange6, @fabiocos can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
assign geometry |
New categories assigned: geometry @Dr15Jones,@cvuosalo,@mdhildreth,@makortel,@ianna,@civanch you have been requested to review this Pull request/Issue and eventually sign? Thanks |
@cvuosalo and @fabiocos - following the discussion with Adinda here. 0006 enum class DDSolidShape {
0007 dd_not_init = 0,
0008 ddbox = 1,
0009 ddtubs = 2,
0010 ddtrap = 3,
0011 ddcons = 4,
0012 ddpolycone_rz = 5,
0013 ddpolyhedra_rz = 6,
0014 ddpolycone_rrz = 7,
0015 ddpolyhedra_rrz = 8,
0016 ddtorus = 9,
0017 ddunion = 10,
0018 ddsubtraction = 11,
0019 ddintersection = 12,
0020 ddshapeless = 13,
0021 ddpseudotrap = 14,
0022 ddtrunctubs = 15,
0023 ddsphere = 16,
0024 ddellipticaltube = 17,
0025 ddcuttubs = 18,
0026 ddextrudedpolygon = 19,
0027 };
0028 https://cmssdt.cern.ch/lxr/source/DetectorDescription/DDCMS/interface/DDSolidShapes.h#0062 0062 enum class DDSolidShape {
0063 dd_not_init = 0,
0064 ddbox = 1,
0065 ddtubs = 2,
0066 ddtrap = 3,
0067 ddcons = 4,
0068 ddpolycone = 5,
0069 ddpolyhedra = 6,
0070 ddtorus = 7,
0071 ddunion = 8,
0072 ddsubtraction = 9,
0073 ddintersection = 10,
0074 ddshapeless = 11,
0075 ddpseudotrap = 12,
0076 ddtrunctubs = 13,
0077 ddsphere = 14,
0078 ddellipticaltube = 15,
0079 ddcuttubs = 16,
0080 ddextrudedpolygon = 17,
0081 ddtrd1 = 18,
0082 };
0083 |
@ianna thanks for looking into this. Silly question: what was the reason for this choice at the beginning of the porting? I mean I see that the two lists mostly overlaps, and codes could be made correspondent, with 2 o3 noticeable differences. Do we have loops that are preventing discontinuities in the lists? The question is of course about the correspondence of polycones and polyhedras... |
Changing |
@ianna sorry, perhaps I was not clear. I am not questioning the |
@fabiocos Adinda is fixing the |
@cvuosalo are you speaking of This dependence seems completely fake to me, given that it is just a common type definition: and we might either put this common definition somewhere else or just cut-and-paste it explicitly (I do not see anything thrilling in a vector of integers). As far as |
@fabiocos Actually, Adinda has just fixed the |
Hi, I had another look at the |
@adewit see my comments in #30276 (comment) In my understanding Assuming the answering is yes, in my view the issue is not how to extract the GeoHistory information used from |
Adding @mmusich since he probably knows this better than me. I agree it looks like |
PR #29905 has migrated the Tracker Numbering Builder GeometricDet objects to DD4hep. Now the same changes need to be made to the MTD Numbering Builder. |
MTD Numbering Builder migration has been completed with the merging of #30834. This issue can be closed. |
+1 |
This issue is fully signed and ready to be closed. |
In the process of migrating the MTD reco geometry to DD4hep, I notice that the
GeometricTimingDet
object inMTDNumberingBuilder
, as well as its tracker counterpartGeometricDet
, depend explicitly on DDD throughDDSolidShape
and the use of theExpandedNode
. This means that even the present tracker migration is not fully complete.Before inventing ad-hoc solutions, I would like to understand from @ianna and @cvuosalo whether they already envisaged a strategy to manage this issue.
@vargasa FYI
The text was updated successfully, but these errors were encountered: