User:Sophie/SingleProcessGenerator: Difference between revisions

From Mu2eWiki
Jump to navigation Jump to search
No edit summary
Line 26: Line 26:
As you see the DIO has a "Generator tool" which contains the relevant generator spectrum but the SingleProcessGenerator module is capable of taking any such tool and making the outgoing electron spectra from a stopped muon at the target.
As you see the DIO has a "Generator tool" which contains the relevant generator spectrum but the SingleProcessGenerator module is capable of taking any such tool and making the outgoing electron spectra from a stopped muon at the target.


== Purpose ==
== Use Cases ==


The module can be used for any stopped particle process. However an appropriate generator tool must be provided as the "tool_type" input.


== Use Cases ==
So far we have implemented just two use-cases:
 
* DIOGenerator
* RMCGenerator





Revision as of 23:25, 13 December 2024

Purpose

The module: /Offline/EventGenerator/src/SingleProcessGenerator_module.cc is a generic module which is capable of generating a chosen physics process from a stopped muon particle.

An example use cases is the DIO:

 physics.producers.generate : {
 module_type : SingleProcessGenerator
 inputSimParticles: TargetStopResampler
 stoppingTargetMaterial : "Al"
 decayProducts :
 {
   tool_type : DIOGenerator
   spectrum : {
     pdgId            :  11
     spectrumVariable : "totalEnergy"
     spectrumShape    : "tabulated"
     spectrumFileName : "Offline/ConditionsService/data/heeck_finer_binning_2016_szafron.tbl"
     ehi              : 104.97
     elow             : 100.
   }
 }
 verbosity : 0

}

As you see the DIO has a "Generator tool" which contains the relevant generator spectrum but the SingleProcessGenerator module is capable of taking any such tool and making the outgoing electron spectra from a stopped muon at the target.

Use Cases

The module can be used for any stopped particle process. However an appropriate generator tool must be provided as the "tool_type" input.

So far we have implemented just two use-cases:

  • DIOGenerator
  • RMCGenerator


Contact

  • Module Developer: Sophie Middleton
  • Production: Yuri Oksuzian