GENIEGenerator
Loading...
Searching...
No Matches
AGCharmPythia8Hadro2023.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::AGCharmPythia8Hadro2023
5
6\brief Andreopoulos - Gallagher (AG) GENIE Charm Hadronization model.
7
8 The model relies on empirical charm fragmentation and pT functions,
9 as well as on experimentally-determined charm fractions, to produce
10 the ID and 4-momentum of charmed hadron in charm production events.
11
12 The remnant (non-charm) system is hadronised by a call to PYTHIA.
13
14 Is a concrete implementation of the EventRecordVisitorI interface.
15
16\author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
17 University of Liverpool & STFC Rutherford Appleton Laboratory
18
19 Hugh Gallagher <gallag@minos.phy.tufts.edu>
20 Tufts University
21
22\created August 17, 2004
23
24\cpright Copyright (c) 2003-2025, The GENIE Collaboration
25 For the full text of the license visit http://copyright.genie-mc.org
26*/
27//____________________________________________________________________________
28
29#ifndef _AGCHARM_PYTHIA8_HADRONIZATION_H_
30#define _AGCHARM_PYTHIA8_HADRONIZATION_H_
31
33
34#ifdef __GENIE_PYTHIA8_ENABLED__
36#endif
37
38namespace genie {
39
40class Spline;
42
44
45public:
47 AGCharmPythia8Hadro2023(string config);
49
50
51private:
52 void Initialize (void) const;
53 bool HadronizeRemnant(int qrkSyst1, int qrkSyst2, double WR, TLorentzVector p4R,
54 unsigned int& rpos, TClonesArray * particle_list) const;
55
56 void LoadConfig (void);
57
58 void CopyOriginalDecayFlags (void) const;
59 void SetDesiredDecayFlags (void) const;
60 void RestoreOriginalDecayFlags (void) const;
61
62 // Original PYTHIA decay flags (stored so as to be restored after hadronization)
63 mutable bool fOriDecayFlag_pi0; // pi^0
64 mutable bool fOriDecayFlag_K0; // K^0
65 mutable bool fOriDecayFlag_K0b; // \bar{K^0}
66 mutable bool fOriDecayFlag_L0; // \Lambda^0
67 mutable bool fOriDecayFlag_L0b; // \bar{\Lambda^0}
68 mutable bool fOriDecayFlag_Dm; // \Delta^-
69 mutable bool fOriDecayFlag_D0; // \Delta^0
70 mutable bool fOriDecayFlag_Dp; // \Delta^+
71 mutable bool fOriDecayFlag_Dpp; // \Delta^++
72 // Required PYTHIA decay flags set via Configure() [fixed]
73 mutable bool fReqDecayFlag_pi0; // pi^0
74 mutable bool fReqDecayFlag_K0; // K^0
75 mutable bool fReqDecayFlag_K0b; // \bar{K^0}
76 mutable bool fReqDecayFlag_L0; // \Lambda^0
77 mutable bool fReqDecayFlag_L0b; // \bar{\Lambda^0}
78 mutable bool fReqDecayFlag_Dm; // \Delta^-
79 mutable bool fReqDecayFlag_D0; // \Delta^0
80 mutable bool fReqDecayFlag_Dp; // \Delta^+
81 mutable bool fReqDecayFlag_Dpp; // \Delta^++
82
83};
84
85} // genie namespace
86
87#endif // _AGCHARM_PYTHIA8_HADRONIZATION__H_
bool HadronizeRemnant(int qrkSyst1, int qrkSyst2, double WR, TLorentzVector p4R, unsigned int &rpos, TClonesArray *particle_list) const
Pure abstract base class. Defines the FragmentationFunctionI interface to be implemented by any algor...
A numeric analysis tool class for interpolating 1-D functions.
Definition Spline.h:58
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25