GLRESKinematicsGenerator.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 \class genie::GLRESKinematicsGenerator
4 
5 \brief Generates values for the kinematic variables describing Glashow resonance.
6  Is a concrete implementation of the EventRecordVisitorI interface.
7  Part of its implementation, related with the caching and retrieval of
8  previously computed values, is inherited from the KineGeneratorWithCache
9  abstract class.
10 
11 \author Alfonso Garcia <alfonsog \at nikhef.nl>
12  NIKHEF (Amsterdam)
13 
14 \created November 8, 2019
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 _GLASHOW_RESONANCE_KINEMATICS_GENERATOR_H_
23 #define _GLASHOW_RESONANCE_KINEMATICS_GENERATOR_H_
24 
26 
27 namespace genie {
28 
30 
31 public :
35 
36  //-- implement the EventRecordVisitorI interface
37  void ProcessEventRecord(GHepRecord * event_rec) const;
38 
39  //-- overload the Algorithm::Configure() methods to load private data
40  // members from configuration options
41  void Configure(const Registry & config);
42  void Configure(string config);
43 
44 public:
45 
46  //-- methods to load sub-algorithms and config data from the Registry
47  void LoadConfig (void);
48 
49  //-- overload KineGeneratorWithCache methods
50  double ComputeMaxXSec (const Interaction * in) const;
51  double Energy (const Interaction * in) const;
52 };
53 
54 } // genie namespace
55 #endif // _GLASHOW_RESONANCE_KINEMATICS_GENERATOR_H_
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
double Energy(const Interaction *in) const
void Configure(const Registry &config)
double ComputeMaxXSec(const Interaction *in) const
Abstract class. Provides a data caching mechanism for for concrete implementations of the EventRecord...
Generates values for the kinematic variables describing Glashow resonance. Is a concrete implementati...
Summary information for an interaction.
Definition: Interaction.h:56
static Config * config
Definition: config.cpp:1054
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
void ProcessEventRecord(GHepRecord *event_rec) const
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:45