BYStrucFunc.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::BYStrucFunc
5 
6 \brief Bodek Yang structure function model
7 
8 \ref hep-ph/0411202
9 
10 \author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
11  University of Liverpool & STFC Rutherford Appleton Laboratory
12 
13 \created September 28, 2004
14 
15 \cpright Copyright (c) 2003-2020, The GENIE Collaboration
16  For the full text of the license visit http://copyright.genie-mc.org
17 */
18 //____________________________________________________________________________
19 
20 #ifndef _BODEK_YANG_STRUCTURE_FUNCTION_MODEL_H_
21 #define _BODEK_YANG_STRUCTURE_FUNCTION_MODEL_H_
22 
26 
27 namespace genie {
28 
30 
31 public:
32  BYStrucFunc();
33  BYStrucFunc(string config);
34  virtual ~BYStrucFunc();
35 
36  // overload Algorithm::Configure() to read the config. registry
37  // at the algorithm initialization and set private data members
38  void Configure (const Registry & config);
39  void Configure (string param_set);
40 
41 protected:
42 
43  void Init (void);
44  void ReadBYParams (void);
45 
46  // override part of the DISStructureFuncModel implementation
47  // to compute all the corrections applied by the Bodek-Yang model.
48  double ScalingVar (const Interaction * i) const;
49  void KFactors (const Interaction * i, double & kuv,
50  double & kdv, double & kus, double & kds) const;
51 
52  // Bodek-Yang model-specific parameters
53 
54  double fA; ///< better scaling var parameter A
55  double fB; ///< better scaling var parameter B
56  double fCsU; ///< U-sea K factor parameter
57  double fCsD; ///< D-sea K factor parameter
58  double fCv1U; ///< U-val K factor parameter
59  double fCv2U; ///< U-val K factor parameter
60  double fCv1D; ///< D-val K factor parameter
61  double fCv2D; ///< D-val K factor parameter
62 };
63 
64 } // genie namespace
65 
66 #endif // _BODEK_YANG_STRUCTURE_FUNCTION_MODEL_H_
void KFactors(const Interaction *i, double &kuv, double &kdv, double &kus, double &kds) const
double fCv1U
U-val K factor parameter.
Definition: BYStrucFunc.h:58
void Configure(const Registry &config)
Definition: BYStrucFunc.cxx:40
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
virtual ~BYStrucFunc()
Definition: BYStrucFunc.cxx:35
double ScalingVar(const Interaction *i) const
Definition: BYStrucFunc.cxx:87
Summary information for an interaction.
Definition: Interaction.h:56
static Config * config
Definition: config.cpp:1054
double fCv2D
D-val K factor parameter.
Definition: BYStrucFunc.h:61
Abstract base class. Provides common implementation for concrete objects implementing the DISStructur...
double fCv2U
U-val K factor parameter.
Definition: BYStrucFunc.h:59
void ReadBYParams(void)
Definition: BYStrucFunc.cxx:58
double fCv1D
D-val K factor parameter.
Definition: BYStrucFunc.h:60
double fB
better scaling var parameter B
Definition: BYStrucFunc.h:55
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
double fCsU
U-sea K factor parameter.
Definition: BYStrucFunc.h:56
Bodek Yang structure function model.
Definition: BYStrucFunc.h:29
double fA
better scaling var parameter A
Definition: BYStrucFunc.h:54
double fCsD
D-sea K factor parameter.
Definition: BYStrucFunc.h:57