GENIEGenerator
Loading...
Searching...
No Matches
Pythia6Decayer2023.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::Pythia6Decayer2023
5
6\brief Interface to PYTHIA particle decayer. \n
7 The Pythia6Decayer2023 is a concrete implementation of the Decayer
8 interface.
9
10\author Costas Andreopoulos <c.andreopoulos \at cern.ch>
11 University of Liverpool
12
13\created June 20, 2004
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 _PYTHIA6_DECAYER_I_H_
21#define _PYTHIA6_DECAYER_I_H_
22
23#include "Framework/Conventions/GBuild.h"
24#ifdef __GENIE_PYTHIA6_ENABLED__
25#include <TPythia6.h>
26#endif
27
29
30namespace genie {
31
32class GHepParticle;
33class Pythia6Decayer2023: protected Decayer {
34
35public:
37 Pythia6Decayer2023(string config);
38 virtual ~Pythia6Decayer2023();
39
40 // Implement the EventRecordVisitorI interface
41 void ProcessEventRecord(GHepRecord * event) const;
42
43private:
44
45 void Initialize (void) const;
46 bool IsHandled (int pdgc) const;
47 void InhibitDecay (int pdgc, TDecayChannel * ch=0) const;
48 void UnInhibitDecay (int pdgc, TDecayChannel * ch=0) const;
49 bool Decay (int ip, GHepRecord * event) const;
50 double SumOfBranchingRatios (int kc) const;
51 int FindPythiaDecayChannel (int kc, TDecayChannel * ch) const;
52 bool MatchDecayChannels (int ic, TDecayChannel * ch) const;
53
54#ifdef __GENIE_PYTHIA6_ENABLED__
55 mutable TPythia6 * fPythia; ///< PYTHIA6 wrapper class
56#endif
57 mutable double fWeight;
58};
59
60} // genie namespace
61#endif // _PYTHIA6_DECAYER_H_
STDHEP-like event record entry that can fit a particle or a nucleus.
GENIE's GHEP MC event record.
Definition GHepRecord.h:45
double SumOfBranchingRatios(int kc) const
void UnInhibitDecay(int pdgc, TDecayChannel *ch=0) const
bool Decay(int ip, GHepRecord *event) const
int FindPythiaDecayChannel(int kc, TDecayChannel *ch) const
void InhibitDecay(int pdgc, TDecayChannel *ch=0) const
bool MatchDecayChannels(int ic, TDecayChannel *ch) const
void ProcessEventRecord(GHepRecord *event) const
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25