Mu2e / Offline

Offline software for the Mu2e experiment
Apache License 2.0
8 stars 82 forks source link

MC-free builds for use in the trigger and other online uses #323

Open kutschke opened 3 years ago

kutschke commented 3 years ago

A few years back we set a goal of producing an MC-free build for use in the trigger. We have been slowly moving in this direction as we remove MC-awareness out of algorithms and data products that will be used on data. It will soon be time to assess how close we are to getting there.

A corner case came up the other day. We need an event display in both the online and offline worlds; in the offline world we need it to have powerful MC-aware functionality. An event display is big enough that we must not have two things to maintain. At an appropriate time we should discuss this and make a plan.

Here some thoughts towards seeding that discussion when the time comes:

  1. Descope the concept of an MC-free online build to allow limited MC-aware functionality, such as the event display and code needed to support it.
  2. Put the MC-aware elements of the event display into a tool that is not built for the online distribution
  3. Use #ifdefs to enable an MC-free build of the event display
  4. Give up on the idea of an MC-free online build entirely

At a minimum we should produce some data-like data sets as part of MDC2020 and verify that the event displays work on those files.

gaponenko commented 3 years ago

Hi Rob,

In the online world the event display will probably be used on events already written to a file on disk; not as part of the actual trigger processing. Then the actual trigger build can be kept MC-free, while the whole event display can treated as an MC-aware part of Offline.

Andrei

On Tue, 26 Jan 2021, Rob Kutschke wrote:

A few years back we set a goal of producing an MC-free build for use in the trigger. We have been slowly moving in this direction as we remove MC-awareness out of algorithms and data products that will be used on data. It will soon be time to assess how close we are to getting there.

A corner case came up the other day. We need an event display in both the online and offline worlds; in the offline world we need it to have powerful MC-aware functionality. An event display is big enough that we must not have two things to maintain. At an appropriate time we should discuss this and make a plan.

Here some thoughts towards seeding that discussion when the time comes:

  1. Descope the concept of an MC-free online build to allow limited MC-aware functionality, such as the event display and code needed to support it.
  2. Put the MC-aware elements of the event display into a tool that is not built for the online distribution
  3. Use #ifdefs to enable an MC-free build of the event display
  4. Give up on the idea of an MC-free online build entirely

At a minimum we should produce some data-like data sets as part of MDC2020 and verify that the event displays work on those files.

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Mu2e_Offline_issues_323&d=DwICaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=O47fc5vzDTR2V_gla4Ub0Q&m=zW6vwSPSyVLEfbzGLGWobcwGKqLxE5Fv42OOunKSbUo&s=SUnafjJQCyTtORyyizaSKIA7D9JoVJwKQb7iG9dVQfc&e=