GENIEGenerator
Loading...
Searching...
No Matches
NucleonDecayPrimaryVtxGenerator.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::NucleonDecayPrimaryVtxGenerator
5
6\brief Utilities for simulating nucleon decay
7
8\author Costas Andreopoulos <c.andreopoulos \at cern.ch>
9 University of Liverpool
10
11\created November 03, 2011
12
13\cpright Copyright (c) 2003-2025, The GENIE Collaboration
14 For the full text of the license visit http://copyright.genie-mc.org
15*/
16//____________________________________________________________________________
17
18#ifndef _NUCLEON_DECAY_PRIMARY_VTX_GENERATOR_H_
19#define _NUCLEON_DECAY_PRIMARY_VTX_GENERATOR_H_
20
21#include <TGenPhaseSpace.h>
22
25
26namespace genie {
27
28class NuclearModelI;
29
31
32public:
36
37 // implement the EventRecordVisitorI interface
38 void ProcessEventRecord (GHepRecord * event) const;
39
40 // overload the Algorithm::Configure() methods to load private data
41 // members from configuration options
42 void Configure(const Registry & config);
43 void Configure(string config);
44
45private:
46
47 void LoadConfig (void);
48 void AddInitialState (GHepRecord * event) const;
49 void GenerateDecayedNucleonPosition (GHepRecord * event) const;
50 void GenerateFermiMomentum (GHepRecord * event) const;
51 void GenerateDecayProducts (GHepRecord * event) const;
52
53 mutable int fCurrInitStatePdg;
56 mutable bool fNucleonIsBound;
57 mutable TGenPhaseSpace fPhaseSpaceGenerator;
58
60};
61
62} // genie namespace
63
64#endif // _NUCLEON_DECAY_PRIMARY_VTX_GENERATOR_H_
GENIE's GHEP MC event record.
Definition GHepRecord.h:45
Pure abstract base class. Defines the NuclearModelI interface to be implemented by any physics model ...
A registry. Provides the container for algorithm configuration parameters.
Definition Registry.h:65
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25
enum genie::ENucleonDecayMode NucleonDecayMode_t