GENIEGenerator
Loading...
Searching...
No Matches
Pythia6Hadro2019.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::Pythia6Hadro2019
5
6\brief Provides access to the PYTHIA hadronization models. \n
7 Is a concrete implementation of the EventRecordVisitorI interface.
8
9\author Costas Andreopoulos <c.andreopoulos \at cern.ch>
10 University of Liverpool
11
12\created August 17, 2004
13
14\cpright Copyright (c) 2003-2025, The GENIE Collaboration
15 For the full text of the license visit http://copyright.genie-mc.org
16*/
17//____________________________________________________________________________
18
19#ifndef _PYTHIA6_HADRONIZATION_H_
20#define _PYTHIA6_HADRONIZATION_H_
21
22#include "Framework/Conventions/GBuild.h"
25
26#ifdef __GENIE_PYTHIA6_ENABLED__
27#include <TPythia6.h>
28#endif
29
30namespace genie {
31
32class GHepParticle;
33
35
36public:
38 Pythia6Hadro2019(string config);
39 virtual ~Pythia6Hadro2019();
40
41 // Implement the EventRecordVisitorI interface
42 void ProcessEventRecord(GHepRecord * event) const;
43
44 // Overload the Algorithm::Configure() methods to load private data
45 // members from configuration options
46 void Configure(const Registry & config);
47 void Configure(string config);
48
49private:
50
51 bool Hadronize (GHepRecord* event) const;
52
53 void CopyOriginalDecayFlags (void) const;
54 void SetDesiredDecayFlags (void) const;
55 void RestoreOriginalDecayFlags (void) const;
56
57 void LoadConfig (void);
58 void Initialize (void);
59
60#ifdef __GENIE_PYTHIA6_ENABLED__
61 mutable TPythia6 * fPythia; ///< PYTHIA6 wrapper class
62#endif
63};
64
65} // genie namespace
66
67#endif // _PYTHIA6_HADRONIZATION_H_
STDHEP-like event record entry that can fit a particle or a nucleus.
GENIE's GHEP MC event record.
Definition GHepRecord.h:45
void Configure(const Registry &config)
void SetDesiredDecayFlags(void) const
void RestoreOriginalDecayFlags(void) const
bool Hadronize(GHepRecord *event) const
void ProcessEventRecord(GHepRecord *event) const
void CopyOriginalDecayFlags(void) const
A registry. Provides the container for algorithm configuration parameters.
Definition Registry.h:65
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25