-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[DD4hep] Filtered View Performance - Step 2 #31641
[DD4hep] Filtered View Performance - Step 2 #31641
Conversation
The code-checks are being triggered in jenkins. |
please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31641/18726
|
The tests are being triggered in jenkins.
|
A new Pull Request was created by @ianna (Ianna Osborne) for master. It involves the following packages: DetectorDescription/DDCMS @civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @mdhildreth, @cmsbuild can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
I dont think a vector is needed, just an int. This represents the number of rows PER ROC, for pixel sensors. Here in the XML, there is no point having several blocks, because there are the same path anyway. This is exactly equivalent to:
So the behavior of the FilteredView should be: if ever the node path is matching //.*:PixelForwardSensor, I take When one wants to assign different values to a specific layer / disk, the paths must be different anyway (that difference sometimes lies only in the namespace, by the way). |
@ghugo83 - Thanks! I did not find anywhere a reference to the |
I remember seeing the use of SpecPar name somewhere in the DD4hep filtered view. In general, in my opinion, only SpecPar path really matters (and parameter name/value obviously). It does make some sense to have blocks per disk / ring. There actually are trackers where the sensor topology is different per ring (I also did some exotic Trackers, but in tkLayout only, where the topology was disk-specific). Though, my guess is that you would like to have a warning when several blocks define the same parameter for the same path, right? |
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Allow caching of a
SpecPar
selected by an attribute for the currentNode
. The assumption is that multiple parameters are associated with the sameSpecPar
. The firstget<double>
call would do an expensive search and the subsequentgetNextValue
will piggyback on it, fetching a value selected by another attribute from the sameSpecPar
.This works as follows (see the unit test):
The assumption is that both TrackerRadLength and TrackerXi should be part of one SpecPar:
The assumption seems to be reasonable, but of cause, there are exceptions:
https://cmssdt.cern.ch/lxr/source/Geometry/TrackerCommonData/data/PhaseI/trackerStructureTopology.xml#0321
@ghugo83 and @vargasa - any idea what should happen here? Is it assumed that PixelROCRows is a vector?
PR validation:
if this PR is a backport please specify the original PR and why you need to backport that PR:
Before submitting your pull requests, make sure you followed this checklist: