COHElKinematicsGenerator.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::COHElKinematicsGenerator
5 
6 \brief Generates values for the kinematic variables describing coherent
7  neutrino-nucleus elastic scattering events.
8  Is a concrete implementation of the EventRecordVisitorI interface.
9 
10 \author Costas Andreopoulos <costas.andreopoulos \at stfc.ac.uk>
11  University of Liverpool & STFC Rutherford Appleton Lab
12 
13 \created November 22, 2007
14 
15 \cpright Copyright (c) 2003-2019, The GENIE Collaboration
16  For the full text of the license visit http://copyright.genie-mc.org
17  or see $GENIE/LICENSE
18 */
19 //____________________________________________________________________________
20 
21 #ifndef _COHEL_KINEMATICS_GENERATOR_H_
22 #define _COHEL_KINEMATICS_GENERATOR_H_
23 
25 #include "Framework/Utils/Range1.h"
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  //-- methods to load sub-algorithms and config data from the Registry
46  void LoadConfig (void);
47 
48  //-- overload KineGeneratorWithCache method to compute max xsec
49  double ComputeMaxXSec (const Interaction * in) const;
50 
51  //-- overload KineGeneratorWithCache method to get energy
52  double Energy (const Interaction * in) const;
53 };
54 
55 } // genie namespace
56 #endif // _COHEL_KINEMATICS_GENERATOR_H_
void ProcessEventRecord(GHepRecord *event_rec) const
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:26
Abstract class. Provides a data caching mechanism for for concrete implementations of the EventRecord...
double ComputeMaxXSec(const Interaction *in) const
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:66
void Configure(const Registry &config)
double Energy(const Interaction *in) const
Generates values for the kinematic variables describing coherent neutrino-nucleus elastic scattering ...
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:46