GENIEGenerator
Loading...
Searching...
No Matches
Pythia8Decayer2023.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::Pythia8Decayer2023
5
6\brief Interface to PYTHIA particle decayer. \n
7 The Pythia8Decayer2023 is a concrete implementation of the Decayer
8 interface.
9
10\author Robert Hatcher <rhatcher \at fnal.gov>
11 Fermilab
12
13\created December 21, 2023
14
15\cpright Copyright (c) 2003-2025, The GENIE Collaboration
16 For the full text of the license visit http://copyright.genie-mc.org
17*/
18//____________________________________________________________________________
19
20#ifndef _PYTHIA8DECAYER2023_H_
21#define _PYTHIA8DECAYER2023_H_
22
23#ifdef __GENIE_PYTHIA8_ENABLED__
25#endif
26
28
29namespace genie {
30
31class GHepParticle;
32class Pythia8Decayer2023: protected Decayer {
33
34public:
36 Pythia8Decayer2023(string config);
37 virtual ~Pythia8Decayer2023();
38
39 // Implement the EventRecordVisitorI interface
40 void ProcessEventRecord(GHepRecord * event) const;
41
42private:
43
44 void Initialize (void) const;
45 bool IsHandled (int pdgc) const;
46 void InhibitDecay (int pdgc, TDecayChannel * ch=0) const;
47 void UnInhibitDecay (int pdgc, TDecayChannel * ch=0) const;
48 bool Decay (int ip, GHepRecord * event) const;
49 double SumOfBranchingRatios (int kc) const;
50 int FindPythiaDecayChannel (int kc, TDecayChannel * ch) const;
51 bool MatchDecayChannels (int ic, TDecayChannel * ch) const;
52
53 mutable double fWeight;
54};
55
56} // genie namespace
57#endif // _PYTHIA8DECAYER2023_H_
STDHEP-like event record entry that can fit a particle or a nucleus.
GENIE's GHEP MC event record.
Definition GHepRecord.h:45
bool Decay(int ip, GHepRecord *event) const
void UnInhibitDecay(int pdgc, TDecayChannel *ch=0) const
void InhibitDecay(int pdgc, TDecayChannel *ch=0) const
void ProcessEventRecord(GHepRecord *event) const
int FindPythiaDecayChannel(int kc, TDecayChannel *ch) const
double SumOfBranchingRatios(int kc) const
bool MatchDecayChannels(int ic, TDecayChannel *ch) const
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25