GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DMELKinematicsGenerator.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::DMELKinematicsGenerator
5 
6 \brief Generates values for the kinematic variables describing DM elastic
7  interaction events.
8  Is a concrete implementation of the EventRecordVisitorI interface.
9 
10 \author Joshua Berger <jberger \at physics.wisc.edu>
11  University of Wisconsin-Madison
12  Costas Andreopoulos <c.andreopoulos \at cern.ch>
13  University of Liverpool
14 
15 \created September 4, 2017
16 
17 \cpright Copyright (c) 2003-2024, The GENIE Collaboration
18  For the full text of the license visit http://copyright.genie-mc.org
19 
20 */
21 //____________________________________________________________________________
22 
23 #ifndef _DM_KINEMATICS_GENERATOR_H_
24 #define _DM_KINEMATICS_GENERATOR_H_
25 
27 #include "Framework/Utils/Range1.h"
28 
29 namespace genie {
30 
32 
33 public :
35  DMELKinematicsGenerator(string config);
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 
48  void SpectralFuncExperimentalCode(GHepRecord * event_rec) const;
49 
50  void LoadConfig (void);
51  double ComputeMaxXSec (const Interaction * in) const;
52 };
53 
54 } // genie namespace
55 #endif // _DM_KINEMATICS_GENERATOR_H_
void ProcessEventRecord(GHepRecord *event_rec) const
void Configure(const Registry &config)
Abstract class. Provides a data caching mechanism for for concrete implementations of the EventRecord...
Summary information for an interaction.
Definition: Interaction.h:56
Generates values for the kinematic variables describing DM elastic interaction events. Is a concrete implementation of the EventRecordVisitorI interface.
double ComputeMaxXSec(const Interaction *in) const
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
void SpectralFuncExperimentalCode(GHepRecord *event_rec) const
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:45