DMEKinematicsGenerator.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::DMEKinematicsGenerator
5 
6 \brief Generates kinematics for neutrino-electron events.
7  Is a concrete implementation of the EventRecordVisitorI interface.
8 
9 \author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
10  University of Liverpool & STFC Rutherford Appleton Laboratory
11 
12 \created July 13, 2005
13 
14 \cpright Copyright (c) 2003-2020, The GENIE Collaboration
15  For the full text of the license visit http://copyright.genie-mc.org
16 
17 */
18 //____________________________________________________________________________
19 
20 #ifndef _DME_KINEMATICS_GENERATOR_H_
21 #define _DME_KINEMATICS_GENERATOR_H_
22 
24 #include "Framework/Utils/Range1.h"
25 
26 namespace genie {
27 
29 
30 public :
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 public:
44 
45  //-- methods to load sub-algorithms and config data from the Registry
46  void LoadConfig (void);
47 
48  //-- overload KineGeneratorWithCache methods
49  double ComputeMaxXSec (const Interaction * in) const;
50  double Energy (const Interaction * in) const;
51 };
52 
53 } // genie namespace
54 #endif // _DME_KINEMATICS_GENERATOR_H_
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
Abstract class. Provides a data caching mechanism for for concrete implementations of the EventRecord...
Generates kinematics for neutrino-electron events. Is a concrete implementation of the EventRecordVis...
double Energy(const Interaction *in) const
Summary information for an interaction.
Definition: Interaction.h:56
double ComputeMaxXSec(const Interaction *in) const
void ProcessEventRecord(GHepRecord *event_rec) const
static Config * config
Definition: config.cpp:1054
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