User:Sophie/SingleProcessGenerator: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 35: | Line 35: | ||
* RMCGenerator | * RMCGenerator | ||
These must inherit from the ParticleGeneratorTool class. | |||
== Contact == | == Contact == |
Revision as of 23:27, 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
These must inherit from the ParticleGeneratorTool class.
Contact
- Module Developer: Sophie Middleton
- Production: Yuri Oksuzian