GENIEGenerator
Loading...
Searching...
No Matches
HEDISKinematicsGenerator.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::HEDISKinematicsGenerator
5
6\brief Generates values for the kinematic variables describing HEDIS v
7 interaction events.
8 Is a concrete implementation of the EventRecordVisitorI interface.
9
10 Max Xsec are precomputed as the total xsec and they are stored in
11 ascii files. This saves a lot of computational time.
12
13\author Alfonso Garcia <alfonsog \at nikhef.nl>
14 NIKHEF
15
16\created August 28, 2019
17
18\cpright Copyright (c) 2003-2025, The GENIE Collaboration
19 For the full text of the license visit http://copyright.genie-mc.org
20 or see $GENIE/LICENSE
21*/
22//____________________________________________________________________________
23
24#ifndef _HEDIS_KINEMATICS_GENERATOR_H_
25#define _HEDIS_KINEMATICS_GENERATOR_H_
26
28
29namespace genie {
30
32
33public :
35 HEDISKinematicsGenerator(string config);
37
38 double ComputeMaxXSec (const Interaction * interaction) const;
39
40 // implement the EventRecordVisitorI interface
41 void ProcessEventRecord(GHepRecord * event_rec) const;
42
43 // overload the Algorithm::Configure() methods to load private data
44 // members from configuration options
45 void Configure(const Registry & config);
46 void Configure(string config);
47
48private:
49
50 double Scan(Interaction * interaction, Range1D_t xrange,Range1D_t Q2range, int NKnotsQ2, int NKnotsX, double ME2, double & x_scan, double & Q2_scan) const;
51
52 void LoadConfig (void);
53
56 double fWideRange;
59 double fFineRange;
60
61 double fSFXmin; ///< minimum value of x for which SF tables are computed
62 double fSFQ2min; ///< minimum value of Q2 for which SF tables are computed
63 double fSFQ2max; ///< maximum value of Q2 for which SF tables are computed
64
65};
66
67} // genie namespace
68
69#endif // _HEDIS_KINEMATICS_GENERATOR_H_
GENIE's GHEP MC event record.
Definition GHepRecord.h:45
double fSFXmin
minimum value of x for which SF tables are computed
double fSFQ2min
minimum value of Q2 for which SF tables are computed
double Scan(Interaction *interaction, Range1D_t xrange, Range1D_t Q2range, int NKnotsQ2, int NKnotsX, double ME2, double &x_scan, double &Q2_scan) const
double ComputeMaxXSec(const Interaction *interaction) const
void ProcessEventRecord(GHepRecord *event_rec) const
double fSFQ2max
maximum value of Q2 for which SF tables are computed
Summary information for an interaction.
Definition Interaction.h:56
A simple [min,max] interval for doubles.
Definition Range1.h:43
A registry. Provides the container for algorithm configuration parameters.
Definition Registry.h:65
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25