Difference between revisions of "Generators"

From Mu2eWiki
Jump to navigation Jump to search
Line 8: Line 8:
 
This generator creates a cosmic ray approaching the detector.  
 
This generator creates a cosmic ray approaching the detector.  
 
If the generator is the "Daya Bay" generator, then only one particle, a muon, is generated per event.  The CRY generator allows multiple correlated particles per event, of several species, simulating an atmospheric shower.
 
If the generator is the "Daya Bay" generator, then only one particle, a muon, is generated per event.  The CRY generator allows multiple correlated particles per event, of several species, simulating an atmospheric shower.
 +
Example configurations are under the <code>JobConfig</code> directory of Offline.
  
 
The cosmic ray phase space is specified by a horizontal or vertical plane with limited extent.  There also may be angle and momentum restrictions.
 
The cosmic ray phase space is specified by a horizontal or vertical plane with limited extent.  There also may be angle and momentum restrictions.
 +
 +
The Daya Bay generator will print an integral at the start of the job:
 +
Total cosmic rate = 93510.8 Hz
 +
This tells you how much time you have simulated: <code>Ngen/rate=time</code>. 
 +
 +
It is not too hard to generate a comics sample corresponding to the full run of mu2e.
  
 
==Stopped Muons==
 
==Stopped Muons==
 
==Particle guns==
 
==Particle guns==
 
==GenEventCounter==
 
==GenEventCounter==

Revision as of 17:29, 8 May 2017

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

Generators are art modules which produce the first particle in a simulation job.

Protons

This generator creates a proton approaching the proton target.

Cosmics

This generator creates a cosmic ray approaching the detector. If the generator is the "Daya Bay" generator, then only one particle, a muon, is generated per event. The CRY generator allows multiple correlated particles per event, of several species, simulating an atmospheric shower. Example configurations are under the JobConfig directory of Offline.

The cosmic ray phase space is specified by a horizontal or vertical plane with limited extent. There also may be angle and momentum restrictions.

The Daya Bay generator will print an integral at the start of the job:

Total cosmic rate = 93510.8 Hz

This tells you how much time you have simulated: Ngen/rate=time.

It is not too hard to generate a comics sample corresponding to the full run of mu2e.

Stopped Muons

Particle guns

GenEventCounter