Simulation: Difference between revisions

From Mu2eWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:
===Filtering===
===Filtering===
==Output Modules==
==Output Modules==
* '''[[Mixing]]''' simulate different parts of an event, for example a conversion electron and everything else, simulated up to a certain point, and mix these simulations together to one event with an electron and all the standard model noise.  This mixing must occur before the digis are simulated.
* '''Resampling'''  Take the output of a stage and simulate it many times with different random seeds.  For example, a fairly small set of stopped muons can be used over and over again.  This works as long as the variations in the events are significant.  In the example of stopped muons, each resampling decays a muon with the electron launched into a different direction.  This leads to very different result for hits in the detector even though the same stopped muon was used.
*Filtering
**Only write events which pass some criteria
**Example: require high-momentum e-, or activity in tracker
*Dropping
**Do not write out all the parts of all data products
**Example: skip neutrinos, or low-energy, or early in microbunch
*Multiple streams
**Write some events to one output file, some to another
**Example: events w/stopped muons to one file, rest to another
*Variants
**Run one stage with variations in the parameters
**Example: background measurements with different shielding

Revision as of 21:05, 20 April 2017

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

Expert.jpeg This page page needs expert review!

Introduction

Geometry

virtual detectors

persistence

Geant

Stepping

Stacking

Products

GenParticle

SimParticle

StepPointMC

PointTrajectory

StatusG4

Mu2eG4

Cuts

Collections

Filtering

Output Modules

  • Mixing simulate different parts of an event, for example a conversion electron and everything else, simulated up to a certain point, and mix these simulations together to one event with an electron and all the standard model noise. This mixing must occur before the digis are simulated.
  • Resampling Take the output of a stage and simulate it many times with different random seeds. For example, a fairly small set of stopped muons can be used over and over again. This works as long as the variations in the events are significant. In the example of stopped muons, each resampling decays a muon with the electron launched into a different direction. This leads to very different result for hits in the detector even though the same stopped muon was used.
  • Filtering
    • Only write events which pass some criteria
    • Example: require high-momentum e-, or activity in tracker
  • Dropping
    • Do not write out all the parts of all data products
    • Example: skip neutrinos, or low-energy, or early in microbunch
  • Multiple streams
    • Write some events to one output file, some to another
    • Example: events w/stopped muons to one file, rest to another
  • Variants
    • Run one stage with variations in the parameters
    • Example: background measurements with different shielding