AGKY2019.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::AGKY2019
5 
6 \brief A 'composite' hadronization model using a KNO-based hadronization
7  model at low W and PYTHIA/JETSET at higher W.
8  Contains no new hadronization code but merely a configurable KNO to
9  PYTHIA transition scheme.
10 
11 \author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
12  University of Liverpool & STFC Rutherford Appleton Laboratory
13 
14 \created June 08, 2006
15 
16 \cpright Copyright (c) 2003-2020, The GENIE Collaboration
17  For the full text of the license visit http://copyright.genie-mc.org
18 */
19 //____________________________________________________________________________
20 
21 #ifndef _KNO_PYTHIA_HADRONIZATION_H_
22 #define _KNO_PYTHIA_HADRONIZATION_H_
23 
26 
27 namespace genie {
28 
29 class AGKY2019 : protected EventRecordVisitorI {
30 
31 public:
32 
33  AGKY2019();
34  AGKY2019(string config);
35  virtual ~AGKY2019();
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  virtual void Configure(const Registry & config);
43  virtual void Configure(string config);
44 
45 private:
46 
47  void LoadConfig (void);
48 
49  const EventRecordVisitorI * SelectHadronizer(const Interaction *) const;
50 
51  //-- configuration
52 
53  const EventRecordVisitorI * fKNOHadronizer; ///< KNO Hadronizer
54  const EventRecordVisitorI * fPythiaHadronizer; ///< PYTHIA Hadronizer
55 
56  int fMethod; ///< KNO -> PYTHIA transition method
57  double fWminTrWindow; ///< min W in transition region (pure KNO < Wmin)
58  double fWmaxTrWindow; ///< max W in transition region (pure PYTHIA > Wmax)
59 };
60 
61 } // genie namespace
62 
63 #endif // _KNO_PYTHIA_HADRONIZATION_H_
void LoadConfig(void)
Definition: AGKY2019.cxx:163
virtual void Configure(const Registry &config)
Definition: AGKY2019.cxx:151
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
Defines the EventRecordVisitorI interface. Concrete implementations of this interface use the &#39;Visito...
virtual ~AGKY2019()
Definition: AGKY2019.cxx:42
const EventRecordVisitorI * fPythiaHadronizer
PYTHIA Hadronizer.
Definition: AGKY2019.h:54
Summary information for an interaction.
Definition: Interaction.h:56
A &#39;composite&#39; hadronization model using a KNO-based hadronization model at low W and PYTHIA/JETSET at...
Definition: AGKY2019.h:29
double fWmaxTrWindow
max W in transition region (pure PYTHIA > Wmax)
Definition: AGKY2019.h:58
static Config * config
Definition: config.cpp:1054
const EventRecordVisitorI * fKNOHadronizer
KNO Hadronizer.
Definition: AGKY2019.h:53
void ProcessEventRecord(GHepRecord *event) const
Definition: AGKY2019.cxx:52
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
const EventRecordVisitorI * SelectHadronizer(const Interaction *) const
Definition: AGKY2019.cxx:101
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:45
int fMethod
KNO -> PYTHIA transition method.
Definition: AGKY2019.h:56
Event finding and building.
double fWminTrWindow
min W in transition region (pure KNO < Wmin)
Definition: AGKY2019.h:57