You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no reflection applied in these coordinate transforms,
just translation. That means that the innermost sequence is seq0
in the positive endcap, but seq26 in the negative endcap.
And they are positioned differently with respect to the origin.
Each sequence has a total width of 1.8cm, so the innermost sequence
in the positive endcap has z range 290.15..291.95 while in the negative
endcap it has z range -293.05..-291.25.
and has a thickness of 5mm. So the endplate occupies z ranges
290.15..290.65 and -290.65..-290.15 in the + and - endcaps
respectively. However, in the positive endcap, this overlaps
with the innermost sequence!
I think the problem is that the endplate isn't properly taken into account
when the sequences are positioned. If i make this change:
and so the innermost sequence has z range 290.7..292.5 in the positive endcap
and -292.5..290.7 in the negative endcap. And in both cases, the distance
between the inner edge of this sequence and the outer edge of the endplate
is 0.05, matching the space parameter.
Part 2 is ok as far as this goes, but the second issue is that part 3 has
essentially the same issue. Part 3 is layers 16-27, and there are
are 85 sequences, numbered 0..84:
In this case, the outermost sequence has z range 541.65..543.45 in the
positive endcap and -544.55..-542.75 in the negative endcap. The outer
endplates are located at:
which puts the outermost sequences at z-ranges of
542.2..544.0 and -544.0..-542.2 and the endplates at z-ranges of
544.05..544.55 and -544.55..-544.05.
Finally, there is the offset of the tiles within the sequences.
These have the same sign on both halves of the endcap (again, there's
no reflection in the transformation, just translation):
So for layer1 (part1), the tile is closer to the endplate in the positive
endcap than it is in the negative endcap.
This would imply that the modules for the positive and negative halves
are assembled differently, which i doubt is intended.
If we flip the signs in the negative endcap, then they become symmetric:
And then the layout seems to be symmetric between the positive and negative
endcaps.
There is then still an issue that the row numbering is different in the
two endcaps. It always increases in the direction of positive z, which
means that the row numbering goes from the inside out in the positive
endcap but from outside in in the negative endcap. Unlike the actual
positions, this is just a convention and doesn't really matter as long
as it is handled consistently, but this is not what i would naively expect
and hence likely to be confusing. If you agree, i can look into
changing that as well, but that should be done as a separate change.
Anyway, if you agree, i can make a PR with the changes discussed here.
I guess a question is, should this be a new geometry version, or just
change the existing one?
The text was updated successfully, but these errors were encountered:
Hi @scott-snyder,
Apologies for the delayed response, and thanks a lot for looking into this! This is indeed something we discussed with @Archil-AD, as we also noticed the issue but hadn’t had the chance to implement the fix properly. If you already have these changes ready, please feel free to open a PR - that would be a huge help for us.
Hello -
I some questions about details of the endcal hcal geometry in
HCalThreePartsEndcap_o1_v02_geo.cpp.
In particular, i was comparing cell positions in the positive vs negative
endcaps and finding that they were not symmetric.
I think there are three separate issues.
The first is for the sequence positions in part 1.
We can explore this interactively using python.
Now look at the sequence positions in the two halves.
There are 27 sequences, numbered 0..26.
There's no reflection applied in these coordinate transforms,
just translation. That means that the innermost sequence is seq0
in the positive endcap, but seq26 in the negative endcap.
And they are positioned differently with respect to the origin.
Each sequence has a total width of 1.8cm, so the innermost sequence
in the positive endcap has z range 290.15..291.95 while in the negative
endcap it has z range -293.05..-291.25.
Further, the inner endplate is positioned as
and has a thickness of 5mm. So the endplate occupies z ranges
290.15..290.65 and -290.65..-290.15 in the + and - endcaps
respectively. However, in the positive endcap, this overlaps
with the innermost sequence!
I think the problem is that the endplate isn't properly taken into account
when the sequences are positioned. If i make this change:
then the sequences are symmetric:
and so the innermost sequence has z range 290.7..292.5 in the positive endcap
and -292.5..290.7 in the negative endcap. And in both cases, the distance
between the inner edge of this sequence and the outer edge of the endplate
is 0.05, matching the space parameter.
Part 2 is ok as far as this goes, but the second issue is that part 3 has
essentially the same issue. Part 3 is layers 16-27, and there are
are 85 sequences, numbered 0..84:
In this case, the outermost sequence has z range 541.65..543.45 in the
positive endcap and -544.55..-542.75 in the negative endcap. The outer
endplates are located at:
so they have z ranges of 544.05..544.55 and -544.55..-544.05 in the two
endcaps. So here we have an overlap on the negative side.
The fix here, i think, is slightly different, because the endplate is on the
outside rather than the inside:
With this change, we have
which puts the outermost sequences at z-ranges of
542.2..544.0 and -544.0..-542.2 and the endplates at z-ranges of
544.05..544.55 and -544.55..-544.05.
Finally, there is the offset of the tiles within the sequences.
These have the same sign on both halves of the endcap (again, there's
no reflection in the transformation, just translation):
So for layer1 (part1), the tile is closer to the endplate in the positive
endcap than it is in the negative endcap.
This would imply that the modules for the positive and negative halves
are assembled differently, which i doubt is intended.
If we flip the signs in the negative endcap, then they become symmetric:
so then:
And then the layout seems to be symmetric between the positive and negative
endcaps.
There is then still an issue that the row numbering is different in the
two endcaps. It always increases in the direction of positive z, which
means that the row numbering goes from the inside out in the positive
endcap but from outside in in the negative endcap. Unlike the actual
positions, this is just a convention and doesn't really matter as long
as it is handled consistently, but this is not what i would naively expect
and hence likely to be confusing. If you agree, i can look into
changing that as well, but that should be done as a separate change.
Anyway, if you agree, i can make a PR with the changes discussed here.
I guess a question is, should this be a new geometry version, or just
change the existing one?
The text was updated successfully, but these errors were encountered: