Integration of the BxDecay0 generator into remage. More...
#include <RMGGeneratorDecay0.hh>


Public Types | |
| enum class | Process { k0vbb = 1 , k0vbb_lambda_0 = 2 , k0vbb_lambda_02 = 3 , k2vbb = 4 , k0vbb_M1 = 5 , k0vbb_M2 = 6 , k0vbb_M3 = 7 , k0vbb_M7 = 8 , k0vbb_lambda_2 = 9 , k2vbb_2 = 10 , k0vkb = 11 , k2vkb = 12 , k0v2k = 13 , k2v2k = 14 , k2vbb_bos0 = 15 , k2vbb_bos2 = 16 , k0vbb_eta_s = 17 , k0vbb_eta_nmes = 18 , k2vbb_lv = 19 , k0v4b = 20 } |
| Enumeration of nuclear decay processes supported by the generator. More... | |
Public Member Functions | |
| RMGGeneratorDecay0 (RMGMasterGenerator *master_gen) | |
| Constructor that links the BxDecay0 generator action to remage. | |
| RMGGeneratorDecay0 (RMGGeneratorDecay0 const &)=delete | |
| RMGGeneratorDecay0 & | operator= (RMGGeneratorDecay0 const &)=delete |
| RMGGeneratorDecay0 (RMGGeneratorDecay0 &&)=delete | |
| RMGGeneratorDecay0 & | operator= (RMGGeneratorDecay0 &&)=delete |
| void | GeneratePrimaries (G4Event *) override |
Calls to fDecay0G4Generator to generate the primary for the event. | |
| void | SetParticlePosition (G4ThreeVector) override |
| Set the primary vertex position. | |
| void | BeginOfRunAction (const G4Run *) override |
| Updates the seed and configuration at the beginning of each run. | |
| void | EndOfRunAction (const G4Run *) override |
| Called at the end of a run. | |
| void | SetBackground (std::string) |
| Sets BxDecay0 to run in background mode and sets the specific isotope. | |
Public Member Functions inherited from RMGVGenerator | |
| RMGVGenerator (std::string name) | |
| RMGVGenerator (RMGVGenerator const &)=delete | |
| RMGVGenerator & | operator= (RMGVGenerator const &)=delete |
| RMGVGenerator (RMGVGenerator &&)=delete | |
| RMGVGenerator & | operator= (RMGVGenerator &&)=delete |
| void | SetReportingFrequency (int freq) |
| std::string | GetGeneratorName () |
Additional Inherited Members | |
Protected Attributes inherited from RMGVGenerator | |
| std::string | fGeneratorName |
| std::unique_ptr< G4UImessenger > | fMessenger |
| int | fReportingFrequency = 1000 |
Integration of the BxDecay0 generator into remage.
This class links the BxDecay0 primary generator action with the remage vertex generator, allowing the simulation of various decay processes.
Additionally it offers more convenient commands to set the generator mode and process by writing into the BxDecay0 configuration interface.
|
strong |
Enumeration of nuclear decay processes supported by the generator.
This matches the BxDecay0 numbering, shifted by 1 as BxDecay0 starts counting at 1.
| RMGGeneratorDecay0::RMGGeneratorDecay0 | ( | RMGMasterGenerator * | master_gen | ) |
Constructor that links the BxDecay0 generator action to remage.
| master_gen | Pointer to the remage master generator. |
BxDecay0's primary generator action will own the pointer
|
overridevirtual |
Updates the seed and configuration at the beginning of each run.
Only does something if any remage set up command was used ( fUpdateSeeds is true).
Reimplemented from RMGVGenerator.
|
overridevirtual |
Called at the end of a run.
Derived generators can perform any necessary finalization in this method.
Reimplemented from RMGVGenerator.
|
overridevirtual |
Calls to fDecay0G4Generator to generate the primary for the event.
Implements RMGVGenerator.
| void RMGGeneratorDecay0::SetBackground | ( | std::string | isotope | ) |
Sets BxDecay0 to run in background mode and sets the specific isotope.
| isotope | The isotope to set (e.g. "Co60"). |
|
inlineoverridevirtual |
Set the primary vertex position.
This pure virtual method must be implemented by derived classes to set the primary vertex position for the generator.
| vec | The desired primary vertex position. |
Implements RMGVGenerator.