IBDKinematicsGenerator.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::IBDKinematicsGenerator
5 
6 \brief Generates values for the kinematic variables describing IBD neutrino
7  interaction events.
8  Is a concrete implementation of the EventRecordVisitorI interface.
9 
10 \author Corey Reed <cjreed \at nikhef.nl> - October 29, 2009
11  using code from the QELKinematicGenerator written by
12  Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
13  University of Liverpool & STFC Rutherford Appleton Laboratory
14 
15 \created October 29, 2009
16 
17 \cpright Copyright (c) 2003-2020, The GENIE Collaboration
18  For the full text of the license visit http://copyright.genie-mc.org
19 
20 */
21 //____________________________________________________________________________
22 
23 #ifndef _IBD_KINEMATICS_GENERATOR_H_
24 #define _IBD_KINEMATICS_GENERATOR_H_
25 
27 #include "Framework/Utils/Range1.h"
28 
29 namespace genie {
30 
32 
33 public :
36  virtual ~IBDKinematicsGenerator();
37 
38  // implement the EventRecordVisitorI interface
39  void ProcessEventRecord(GHepRecord * event_rec) const;
40 
41  // overload the Algorithm::Configure() methods to load private data
42  // members from configuration options
43  void Configure(const Registry & config);
44  void Configure(string config);
45 
46 private:
47  void LoadConfig (void);
48  double ComputeMaxXSec (const Interaction * in) const;
49 };
50 
51 } // genie namespace
52 #endif // _IBD_KINEMATICS_GENERATOR_H_
void Configure(const Registry &config)
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
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
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
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:45
Generates values for the kinematic variables describing IBD neutrino interaction events. Is a concrete implementation of the EventRecordVisitorI interface.