-
Notifications
You must be signed in to change notification settings - Fork 62
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
Fix event display for tracker endcap in CEDViewer #333
Conversation
As we have figured out ConformalTracking will most likely not be affected by these changes, but there are other geometries where a similar issue is probably present:
|
@andresailer any insights on where we should look for usages of this? We didn't find anything in ConformalTracking, but this has the potential to break in a few places and some of these models might not be in too much use. |
This is the list of hits I get with
This looks like the main things that could break are forward tracking and potentially ILDPerformance. The ones in In the end we would probably need to fix all the drivers in the same way, I think. |
de53fdc
to
06d3475
Compare
I have ported the changes to the drivers mentioned in the comment above. We (as ILD) think this should be transparent and fix some visualization issues. |
Do you have a before and after picture? Otherwise, I agree that we are not using those parameters in ConformalTracking, so it shouldn't have an impact. |
@andresailer anything speaking against merging this? |
Sorry, I missed the picture update! Thanks! |
@@ -173,7 +175,8 @@ static Ref_t create_detector(Detector& theDetector, xml_h e, SensitiveDetector s | |||
thisLayer.zPosition = sumZ/ring_num; // average z | |||
thisLayer.distanceSensitive = innerR; | |||
thisLayer.lengthSensitive = outerR - innerR; | |||
thisLayer.petalNumber = ring_num; // number of rings in petalNumber, needed for tracking | |||
thisLayer.petalNumber = petal_num; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not set this to nmodules
that is fixed? petal_num
is being set to nmodules
nmodules
times. Then petal_num
shouldn't be needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nmodules
is no longer in scope for using it when thisLayer.petalNumber
is set. However, I can setting it nmodules
times is unnecessary, and I can lift it out of the loop.
0fe0e08
to
46a775f
Compare
BEGINRELEASENOTES
- fix nPetals in ZDiskPetalsData (for CEDViewer) to use nmodules (e.g. 48 ) rather than nrings
- store the number of rings in
ZDiskPetalsData::sensorsPerPetal
ENDRELEASENOTES