GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GLRESGenerator.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::GLRESGenerator
5 
6 \brief Generator for glashow resonance.
7 
8 \author Alfonso Garcia <aagarciasoto \at km3net.de>
9  IFIC & Harvard University
10 
11 \created Dec 8, 2021
12 
13 \cpright Copyright (c) 2003-2024, The GENIE Collaboration
14  For the full text of the license visit http://copyright.genie-mc.org
15  or see $GENIE/LICENSE
16 */
17 //____________________________________________________________________________
18 
19 #ifndef _GLASHOW_RESONANCE_GENERATOR_H_
20 #define _GLASHOW_RESONANCE_GENERATOR_H_
21 
22 #define __GENIE_PYTHIA6_ENABLED__
23 
26 
27 #ifdef __GENIE_PYTHIA6_ENABLED__
28 #include <TPythia6.h>
29 #endif
30 
31 namespace genie {
32 
34 
35 public :
37  GLRESGenerator(string config);
39 
40  // implement the EventRecordVisitorI interface
41  void ProcessEventRecord (GHepRecord * event) const;
42 
43  // overload the Algorithm::Configure() methods to load private data
44  // members from configuration options
45  void Configure(const Registry & config);
46  void Configure(string config);
47 
48 private:
49 
50  void LoadConfig(void);
51 
52 #ifdef __GENIE_PYTHIA6_ENABLED__
53  mutable TPythia6 * fPythia; ///< PYTHIA6 wrapper class
54 #endif
55 
57 
58 };
59 
60 } // genie namespace
61 #endif // _GLASHOW_RESONANCE_GENERATOR_H_
Defines the EventRecordVisitorI interface. Concrete implementations of this interface use the &#39;Visito...
Generator for glashow resonance.
TPythia6 * fPythia
PYTHIA6 wrapper class.
void Configure(const Registry &config)
Born level nu-electron cross section.
Definition: Born.h:26
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