Open awhitbeck opened 4 years ago
1023 = 2^10 - 1, so I'm guessing there is an overflow somewhere inside of TrigScintID
when doing some bit-shifting nonsense
yeah this to me looks like initializing to -1 and then never setting it properly
Did anything change since we tested this last? I checked the ID's for upstream and downstream before and they were correct. It's odd that it's showing up now.
On Fri, Jun 26, 2020, 12:18 PM bryngemark notifications@github.com wrote:
yeah this to me looks like initializing to -1 and then never setting it properly
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LDMX-Software/ldmx-sw/issues/826#issuecomment-650352614, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4JMXHHB7D53C4VYKK7IDLRYTX75ANCNFSM4OJI574A .
if it's true that this doesn't happen in the tagger module but in upstream and downstream modules, i'd check specifically that the module ID gets set properly.
I think this only happens when no particle passes through the array, but that is only based on a few anecdotal observations. There shouldn't be any cases where no particle passes through the tagger array.
On Fri, Jun 26, 2020 at 12:28 PM Andrew Whitbeck notifications@github.com wrote:
I think this only happens when no particle passes through the array, but that is only based on a few anecdotal observations. There shouldn't be any cases where no particle passes through the tagger array.
OK, if that's the case, this makes more sense.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/LDMX-Software/ldmx-sw/issues/826#issuecomment-650357160, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4JMXCVT6XAXYXYU3DUEALRYTZE5ANCNFSM4OJI574A .
Right... so these are all noise hits in that case? The barID setting for noise hits assumes that the module number has been set. I see that this happens inside the real simhit loop. So that should probably be changed to accommodate the case when a module only has noise hits.
Can this issue be closed?
No fix for this has been pushed yet. I did think about it yesterday but I think only ugly (collection name parsing) solutions can be implemented until we move to processing all three modules in one single collection.
So, I'd say, can't be closed.
For the upstream and downstream arrays there seems to be a problem with barID:
These numbers should never be larger than 50. I am including the configuration file that I used to generate these vents. I see this in a few dozen events out of 10k.