GENIEGenerator
Loading...
Searching...
No Matches
Physics
Decay
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
28
#include "
Physics/Decay/Decayer.h
"
29
30
namespace
genie
{
31
32
class
GHepParticle
;
33
class
Pythia6Decayer2023
:
protected
Decayer
{
34
35
public
:
36
Pythia6Decayer2023
();
37
Pythia6Decayer2023
(
string
config);
38
virtual
~Pythia6Decayer2023
();
39
40
// Implement the EventRecordVisitorI interface
41
void
ProcessEventRecord
(
GHepRecord
* event)
const
;
42
43
private
:
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_
Decayer.h
genie::Decayer::Decayer
Decayer()
Definition
Decayer.cxx:28
genie::GHepParticle
STDHEP-like event record entry that can fit a particle or a nucleus.
Definition
GHepParticle.h:39
genie::GHepRecord
GENIE's GHEP MC event record.
Definition
GHepRecord.h:45
genie::Pythia6Decayer2023::Initialize
void Initialize(void) const
Definition
Pythia6Decayer2023.cxx:231
genie::Pythia6Decayer2023::SumOfBranchingRatios
double SumOfBranchingRatios(int kc) const
Definition
Pythia6Decayer2023.cxx:330
genie::Pythia6Decayer2023::UnInhibitDecay
void UnInhibitDecay(int pdgc, TDecayChannel *ch=0) const
Definition
Pythia6Decayer2023.cxx:291
genie::Pythia6Decayer2023::Decay
bool Decay(int ip, GHepRecord *event) const
Definition
Pythia6Decayer2023.cxx:102
genie::Pythia6Decayer2023::fWeight
double fWeight
Definition
Pythia6Decayer2023.h:57
genie::Pythia6Decayer2023::IsHandled
bool IsHandled(int pdgc) const
Definition
Pythia6Decayer2023.cxx:247
genie::Pythia6Decayer2023::FindPythiaDecayChannel
int FindPythiaDecayChannel(int kc, TDecayChannel *ch) const
Definition
Pythia6Decayer2023.cxx:366
genie::Pythia6Decayer2023::~Pythia6Decayer2023
virtual ~Pythia6Decayer2023()
Definition
Pythia6Decayer2023.cxx:64
genie::Pythia6Decayer2023::Pythia6Decayer2023
Pythia6Decayer2023()
Definition
Pythia6Decayer2023.cxx:52
genie::Pythia6Decayer2023::InhibitDecay
void InhibitDecay(int pdgc, TDecayChannel *ch=0) const
Definition
Pythia6Decayer2023.cxx:260
genie::Pythia6Decayer2023::MatchDecayChannels
bool MatchDecayChannels(int ic, TDecayChannel *ch) const
Definition
Pythia6Decayer2023.cxx:408
genie::Pythia6Decayer2023::ProcessEventRecord
void ProcessEventRecord(GHepRecord *event) const
Definition
Pythia6Decayer2023.cxx:69
genie
THE MAIN GENIE PROJECT NAMESPACE
Definition
AlgCmp.h:25
Generated on
for GENIEGenerator by
1.14.0