GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DISKinematicsGenerator.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::DISKinematicsGenerator
5 
6 \brief Generates values for the kinematic variables describing DIS v
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 Costas Andreopoulos <c.andreopoulos \at cern.ch>
15  University of Liverpool
16 
17 \created October 03, 2004
18 
19 \cpright Copyright (c) 2003-2024, The GENIE Collaboration
20  For the full text of the license visit http://copyright.genie-mc.org
21 */
22 //____________________________________________________________________________
23 
24 #ifndef _DIS_KINEMATICS_GENERATOR_H_
25 #define _DIS_KINEMATICS_GENERATOR_H_
26 
28 #include "Framework/Utils/Range1.h"
29 
30 namespace genie {
31 
33 
34 public :
36  DISKinematicsGenerator(string config);
38 
39  // implement the EventRecordVisitorI interface
40  void ProcessEventRecord(GHepRecord * event_rec) const;
41 
42  // overload the Algorithm::Configure() methods to load private data
43  // members from configuration options
44  void Configure(const Registry & config);
45  void Configure(string config);
46 
47 private:
48  void LoadConfig (void);
49  double ComputeMaxXSec (const Interaction * interaction) const;
50 };
51 
52 } // genie namespace
53 
54 #endif // _DIS_KINEMATICS_GENERATOR_H_
double ComputeMaxXSec(const Interaction *interaction) 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 DIS v interaction events. Is a concrete imple...
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
void ProcessEventRecord(GHepRecord *event_rec) const
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:45