DMDISKinematicsGenerator.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::DMDISKinematicsGenerator
5 
6 \brief Generates values for the kinematic variables describing DIS DM
7  interaction events.
8  Is a concrete implementation of the EventRecordVisitorI interface.
9 
10  Part of its implementation, related with the caching and retrieval of
11  previously computed values, is inherited from the KineGeneratorWithCache
12  abstract class.
13 
14 \author Joshua Berger <jberger \at physics.wisc.edu>
15  University of Wisconsin-Madison
16  Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
17  University of Liverpool & STFC Rutherford Appleton Laboratory
18 
19 \created September 1, 2017
20 
21 \cpright Copyright (c) 2003-2020, The GENIE Collaboration
22  For the full text of the license visit http://copyright.genie-mc.org
23 
24 */
25 //____________________________________________________________________________
26 
27 #ifndef _DMDIS_KINEMATICS_GENERATOR_H_
28 #define _DMDIS_KINEMATICS_GENERATOR_H_
29 
31 #include "Framework/Utils/Range1.h"
32 
33 namespace genie {
34 
36 
37 public :
41 
42  // implement the EventRecordVisitorI interface
43  void ProcessEventRecord(GHepRecord * event_rec) const;
44 
45  // overload the Algorithm::Configure() methods to load private data
46  // members from configuration options
47  void Configure(const Registry & config);
48  void Configure(string config);
49 
50 private:
51  void LoadConfig (void);
52  double ComputeMaxXSec (const Interaction * interaction) const;
53 };
54 
55 } // genie namespace
56 
57 #endif // _DMDIS_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 values for the kinematic variables describing DIS DM interaction events. Is a concrete implementation of the EventRecordVisitorI interface.
Summary information for an interaction.
Definition: Interaction.h:56
static Config * config
Definition: config.cpp:1054
double ComputeMaxXSec(const Interaction *interaction) 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
void ProcessEventRecord(GHepRecord *event_rec) const