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