-
Notifications
You must be signed in to change notification settings - Fork 82
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
reintroduce 200ns delay for CRV event window start #1363
base: main
Are you sure you want to change the base?
Conversation
Hi @ehrlich-uva,
which require these tests: build. @Mu2e/fnalbuild-users, @Mu2e/write have access to CI actions on main. ⌛ The following tests have been triggered for 99ba8c2: build (Build queue is empty) |
☀️ The build tests passed at 99ba8c2.
N.B. These results were obtained from a build of this Pull Request at 99ba8c2 after being merged into the base branch at 57339a5. For more information, please check the job page here. |
travel time and electronics response time
I'm going to reintroduce the 200ns delay (eventTiming.timeFromProtonsToDRMarker). So the option for old digis is not needed anymore. Switching this PR to Draft for now. |
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.
Thanks for reverting this, I think its a step in the right direction. I'd like Richie to have a look and confirm this will result in synchronized event boundaries for tracker and CRV.
OK I see.
…On Thu, Oct 17, 2024 at 9:18 PM ehrlich-uva ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In CRVResponse/fcl/prolog_v11.fcl
<#1363 (comment)>:
> @@ -9,7 +9,9 @@
#include "Offline/CommonMC/fcl/prolog.fcl"
BEGIN_PROLOG
- DigitizationStart: 400.0 //ns after event window start (i.e. 400ns after first clock tick after POT) --> 400ns...425ns after POT
+ DigitizationStart : 200.0 //ns after event window start (400ns...425ns after POT)
It's not set in stone yet, but we wanted to start somewhere around 400ns
after POT.
—
Reply to this email directly, view it on GitHub
<#1363 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABAH57224CWHGGDBX6OJIVTZ4CD2HAVCNFSM6AAAAABQCXUGP6VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGNZWHE2TAMJTG4>
.
You are receiving this because you are on a team that was mentioned.Message
ID: ***@***.***>
--
David Brown ***@***.***
Office Phone (510) 486-7261
Lawrence Berkeley National Lab
M/S 50R5008 (50-6026C) Berkeley, CA 94720
|
With this change, the event window starts (i.e. when TDC=0) at -protonBunchTime->pbtime_, which is the same event window start time the tracker uses. Zero suppressed data will be recorded starting at 200ns (=digitizationStart) after the event start time. The non-zero suppressed data (not implemented, yet) will get recorded starting from the event start time. |
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.
For this round I think that the goal is to make all of the Tracker, Calo and CRV be consistent. If Richie signs off then I will merge.
In the future we may need another iteration to match what the DAQ timing really relative to the DR RF0 Marker will really do. But I think that this is good enough to encapsulate the later changes in one routine per subsystem.
@kutschke I would like to run a few tests tomorrow to make sure it does what I want it to do. I will let you know when it is ready to merge. |
OK - I will wait for both you and Richie. |
@@ -9,7 +9,9 @@ | |||
#include "Offline/CommonMC/fcl/prolog.fcl" | |||
BEGIN_PROLOG | |||
|
|||
DigitizationStart: 400.0 //ns after event window start (i.e. 400ns after first clock tick after POT) --> 400ns...425ns after POT | |||
DigitizationStart : 200.0 //ns after event window start (400ns...425ns after POT) |
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.
In the tracker we define digitizationStart/end in fcl as the effective time you want referenced to nominal proton arrival time, and then subtract the timeFromProtonsToDRMarker to get the actual value used by the digi making / hardware. Might make it easier to keep in sync if timeFromProtonsToDRMarker changes
It looks like this development has converged, is there anything holding up merging? |
@brownd1978 I sent an email around last week discussion the issue. The problem is that the CRV group is currently not planning to have this 200ns delay. So I'm not sure anymore, if I should have it in the simulation. Perhaps we could have a short Zoom meeting. |
The fcl setting
physics.producers.CrvRecoPulses.oldDigis : true
allows us to read old digis with the new code.