Skip to content

fix for using getFirst with query functions

Irene Zoi requested to merge izoi/Ph2_ACF:getFirst into Dev

This should solve issues when using getFirstObject in combination with a query function in the detector container. In my case I had a query function to only use MPAs and not SSAs. Since SSAs have lower chip IDs, the getFirstObject was still returning an SSA. Now with this type of query function, it will correctly return the first enabled MPA.

Merge request reports