GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 <c.andreopoulos \at cern.ch>
17  University of Liverpool
18 
19 \created September 1, 2017
20 
21 \cpright Copyright (c) 2003-2024, 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 :
39  DMDISKinematicsGenerator(string config);
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_
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
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