GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
QELKinematicsGenerator.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::QELKinematicsGenerator
5 
6 \brief Generates values for the kinematic variables describing QEL neutrino
7  interaction events.
8  Is a concrete implementation of the EventRecordVisitorI interface.
9 
10 \author Costas Andreopoulos <c.andreopoulos \at cern.ch>
11  University of Liverpool
12 
13 \created October 03, 2004
14 
15 \cpright Copyright (c) 2003-2024, The GENIE Collaboration
16  For the full text of the license visit http://copyright.genie-mc.org
17 */
18 //____________________________________________________________________________
19 
20 #ifndef _QEL_KINEMATICS_GENERATOR_H_
21 #define _QEL_KINEMATICS_GENERATOR_H_
22 
24 #include "Framework/Utils/Range1.h"
25 
26 namespace genie {
27 
29 
30 public :
32  QELKinematicsGenerator(string config);
34 
35  // implement the EventRecordVisitorI interface
36  void ProcessEventRecord(GHepRecord * event_rec) const;
37 
38  // overload the Algorithm::Configure() methods to load private data
39  // members from configuration options
40  void Configure(const Registry & config);
41  void Configure(string config);
42 
43 private:
44 
45  void SpectralFuncExperimentalCode(GHepRecord * event_rec) const;
46 
47  void LoadConfig (void);
48  double ComputeMaxXSec (const Interaction * in) const;
49 };
50 
51 } // genie namespace
52 #endif // _QEL_KINEMATICS_GENERATOR_H_
void SpectralFuncExperimentalCode(GHepRecord *event_rec) const
Generates values for the kinematic variables describing QEL neutrino interaction events. Is a concrete implementation of the EventRecordVisitorI interface.
Abstract class. Provides a data caching mechanism for for concrete implementations of the EventRecord...
Summary information for an interaction.
Definition: Interaction.h:56
void ProcessEventRecord(GHepRecord *event_rec) const
double ComputeMaxXSec(const Interaction *in) const
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
void Configure(const Registry &config)
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:45