TimeSim

From Mu2eWiki
Revision as of 21:55, 18 April 2017 by Rlc (talk | contribs) (→‎Modules)
Jump to navigation Jump to search

Construction.jpeg This page is a draft, please help complete it!

Expert.jpeg This page page needs expert review!

Introduction

This will be consistent with data where the event will have a microbunch time stored in one place in the event record, and the reconstructed times of the hits will be the time since the start of the microbunch.

In the simulation, events are generated at a nominal time, not a realistic time. At later stages in the simulation, a time is added. This time is always relative to the start of the microbunch, not a universal time so has values of 0 to 1600ns.

In the simulation, if a time is chosen by a physics process and that time is longer than 1600 ns, the time module 1600 ns is used. This has the effect of taking physics that would roll over to the following bunches and putting it in this bunch, under the philosophy that there are also earlier bunches with long times, that would appear in this bunch.

We draw the time after the entire all the SteppointMC's are made and before the digi are made.

Time in mixing background frames

Modules

    protonTimeMap: { module_type : GenerateProtonTimes }
    muonTimeMap: { module_type : GenerateMuonLife }

GenerateProtonTimes genrates a shpe approximate 40ns in width. It makes a SimParticleTimeMap particle with a time for each primary SimParticle.

Mu2eUtilities/src/SimParticleTimeOffsets.cc returns the time offset by summing all the relevant SimParticleTimeMap collections.

Beam

Mixing

Stopped Particles

Cosmics

Cosmics are generated at a nominal time, typically 800 ns after the start of the microbunch and the hits are fully contained in the event window.