KNOPythiaHadronization.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::KNOPythiaHadronization
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 <costas.andreopoulos \at stfc.ac.uk>
12  University of Liverpool & STFC Rutherford Appleton Lab
13 
14 \created June 08, 2006
15 
16 \cpright Copyright (c) 2003-2019, The GENIE Collaboration
17  For the full text of the license visit http://copyright.genie-mc.org
18  or see $GENIE/LICENSE
19 */
20 //____________________________________________________________________________
21 
22 #ifndef _KNO_PYTHIA_HADRONIZATION_H_
23 #define _KNO_PYTHIA_HADRONIZATION_H_
24 
27 
28 namespace genie {
29 
31 
32 public:
33 
36  virtual ~KNOPythiaHadronization();
37 
38  // Implement the EventRecordVisitorI interface
39  void ProcessEventRecord(GHepRecord * event) const;
40 
41  // Overload the Algorithm::Configure() methods to load private data
42  // members from configuration options
43  virtual void Configure(const Registry & config);
44  virtual void Configure(string config);
45 
46 private:
47 
48  void LoadConfig (void);
49 
50  const EventRecordVisitorI * SelectHadronizer(const Interaction *) const;
51 
52  //-- configuration
53 
54  const EventRecordVisitorI * fKNOHadronizer; ///< KNO Hadronizer
55  const EventRecordVisitorI * fPythiaHadronizer; ///< PYTHIA Hadronizer
56 
57  int fMethod; ///< KNO -> PYTHIA transition method
58  double fWminTrWindow; ///< min W in transition region (pure KNO < Wmin)
59  double fWmaxTrWindow; ///< max W in transition region (pure PYTHIA > Wmax)
60 };
61 
62 } // genie namespace
63 
64 #endif // _KNO_PYTHIA_HADRONIZATION_H_
int fMethod
KNO -> PYTHIA transition method.
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:26
Defines the EventRecordVisitorI interface. Concrete implementations of this interface use the &#39;Visito...
const EventRecordVisitorI * fPythiaHadronizer
PYTHIA Hadronizer.
virtual void Configure(const Registry &config)
A &#39;composite&#39; hadronization model using a KNO-based hadronization model at low W and PYTHIA/JETSET at...
const EventRecordVisitorI * fKNOHadronizer
KNO Hadronizer.
double fWminTrWindow
min W in transition region (pure KNO < Wmin)
Summary information for an interaction.
Definition: Interaction.h:55
double fWmaxTrWindow
max W in transition region (pure PYTHIA > Wmax)
const EventRecordVisitorI * SelectHadronizer(const Interaction *) const
static Config * config
Definition: config.cpp:1054
void ProcessEventRecord(GHepRecord *event) const
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:66
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:46
Event finding and building.