-
Notifications
You must be signed in to change notification settings - Fork 8
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
Open Cosmics Common Data Format Use Case OC-UC-001 #19
Comments
Physics questions: I like this idea as it would be a nice example to say... have a higher set of lists of (possible) showers above events to visualise. |
@Tontonis re. That said, what would the coincidence checks for cosmic showers would require? :-) |
I think t_window should be user selectable in the query? There's an added element here, the distance between the detectors (in 3D space) and the speed of light. And the timing precision of each detector. Let's leave the geometry out of this for now and just focus on timing. If we have an api, I think it should work like this:
(As a side note, NTP without enhancement is nowhere near good enough for cosmic timing precision, 100ms @ 3*10^8 = 30,000km! But we can work on improving this as a separate issue) |
There's not just NTP, the PTP / IEEE 1588 protocol allows even ps precision if there's a master clock somewhere on the local network (i.e. only few network switches between the devices). In general both protocols benefit a lot if the timing source is local and based on a percise oscillator which is occasionally synced with an internet time server or a GPS clock. That may sound fancy but is quite often done and not extremly expensive. I think we need to define what is t_event. IMHO it should be an absolute timestamp stored with a certain precision. |
What does PTP use for it's timestamp format? Why don't we use that - I had a quick look but couldn't find it. My starting point for muon showers is that the muons travel at the speed of light, so basically we can use that and assumed path length differences to work out the useful time from the distance between detectors. 232ps gives us a spatial resolution of about 7cms, still not good enough for multiple events on the same timepix, but more than adequate for most other detector technologies. Also, I think we should consider/state explicitly somewhere that we'll use UTC (via GPS) time as our 'central' reference, when it comes to time, with all events referenced to UTC (GMT or Zulu time), and queries made with respect to UTC...? |
@pingud98 Re. the Timepix resolution - this really helps nail down the sort of thing we should be looking at recording at this level. For the "event" level data it looks like we're talking about, it looks like single pixel-based events (i.e. 55 micron pitch) would be too much information to record (even if the Timepix electronics readout time allowed). And if you really wanted, you could retrieve the pixel information later. Perhaps the "atomic unit" of event data could be each "sensitive detector" volume of the detector, a la GEANT4. 7cm would probably be enough then, particularly for scintillator-based detectors (briefly looking at the data formats linked to @RaoOfPhysics, it seems most projects record their detector geometries too). |
PTP uses by default the unix time epoch as reference (can be changed though) and neglects leap seconds (as apposed to NTP which includes those, as it is fully UTC referenced). PTP is based on the international atomic time (TAI, in reverse since it's a french acronym ;) minus an offset in seconds (TAI-10s) making it comparable to UTC (but neglecting the leap seconds). Similar to GPS, but since this was introduced later, GPS has a larger offset to UTC (TAI-19s). I guess we really want a monotonic time reference for @pingud98 so yes, PTP seems like a good fit. Esp. as it seems easy to convert GPS's "raw" time values. The PTP timestamps consist of 48 bits for seconds, 32 bits for nano seconds. |
I had a chat with one of the timing experts here at CERN last week. Summary: In practice 1 can only be determined by sending the data from your atomic 2 is basically using GPS. Over 24 hours you can assume it has the correct I would therefore suggest that as a starting point, any generic data that In terms of how to express it, I think we should stick with UTC, expressed Here's yet another guide to timing standards I found... James On 20 May 2016 at 22:23, Oliver Keller [email protected] wrote:
|
Open Cosmics CDF Use Case OC-UC-001
(NB: All names/numbering/etc temporary for the purposes of drafting!)
Summary
This document presents an example use case for the Open Cosmics Common Data Format (CDF). Generally speaking, these use cases should help establish what the CDF needs to contain to be useful for scientific analysis across cosmic ray projects.
The Use Case
t_event
.t_window = t_event - Delta_t/2.0
tot_event + Delta_t/2.0
.t_window
,in such a format that they may be plotted on some form of open mapping software.
Discussion
The text was updated successfully, but these errors were encountered: