[DS-50] Report only Data events from the Aggregator
Here is the request from Stefano and my response:
Would it help if I were to modify the number of events reported by the aggregator to simply be the number of physics events? (You are correct that the current number includes beginRun, endRun, etc. messages.) If this helps, then I can make that change, and we wouldn't need to do more complicated things.
On 3/12/14 11:51 AM, Stefano.Davini@ge.infn.it wrote:
as you can see in elog # 814 https://blackhole.lngs.infn.it/DS-50kg/814 ,
the RC asks the number of events to v1495_boardreader, but only when the run is stopped.
I have tried asking the number of events to v1495 also during run, but the chanche to have a "busy", or "invalid transition", or no response was really high.
I would like to print the number of events during the run with more accuracy.
The real number of events reported by the aggregator is the number of triggers + some metadata generated when a file is closed and reopened (right?).
Since the TPC is acquiring with the fixed gate, the number of events in a file should be always the same (or approximately the same).
Therefore there should be a algebraic relation that maps the number of events reported by the aggregator to the number of triggers.
Do you know such relation?
Even if this relation is not 100% accurate, it is still better than just printing out the number of events from the aggregator.
Thanks a lot,
We both agreed that modifying the number of events reported by the Aggregator was the best solution for this issue.