GLRESGenerator.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::GLRESGenerator
5 
6 \brief Glashow resonance event generator
7 
8 \author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
9  University of Liverpool & STFC Rutherford Appleton Laboratory
10 
11 \created Feb 15, 2008
12 
13 \cpright Copyright (c) 2003-2020, The GENIE Collaboration
14  For the full text of the license visit http://copyright.genie-mc.org
15 */
16 //____________________________________________________________________________
17 
18 #ifndef _GLASHOW_RESONANCE_GENERATOR_H_
19 #define _GLASHOW_RESONANCE_GENERATOR_H_
20 
21 #define __GENIE_PYTHIA6_ENABLED__
22 
24 
25 #ifdef __GENIE_PYTHIA6_ENABLED__
26 #include <TPythia6.h>
27 #endif
28 
29 namespace genie {
30 
32 
33 public :
35  GLRESGenerator(string config);
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  void Configure(const Registry & config);
44  void Configure(string config);
45 
46 private:
47 
48  void LoadConfig(void);
49 
50 #ifdef __GENIE_PYTHIA6_ENABLED__
51  mutable TPythia6 * fPythia; ///< PYTHIA6 wrapper class
52 #endif
53 
54  double fWmin; // Minimum value of W
55 
56 };
57 
58 } // genie namespace
59 #endif // _GLASHOW_RESONANCE_GENERATOR_H_
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
Defines the EventRecordVisitorI interface. Concrete implementations of this interface use the &#39;Visito...
Glashow resonance event generator.
TPythia6 * fPythia
PYTHIA6 wrapper class.
void Configure(const Registry &config)
static Config * config
Definition: config.cpp:1054
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
void ProcessEventRecord(GHepRecord *event) const
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:45
Event finding and building.