GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
XSecScaleI.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::XSecScaleI
5 
6 \brief This class is responsible to compute a scaling factor for the XSec
7 
8 \author Code contributed by J.Tena Vidal and M.Roda
9 
10 \created June, 2020
11 
12 \cpright Copyright (c) 2003-2024, The GENIE Collaboration
13  For the full text of the license visit http://copyright.genie-mc.org
14 */
15 //____________________________________________________________________________
16 
17 #ifndef _XSEC_SCALE_I_H_
18 #define _XSEC_SCALE_I_H_
19 
22 
23 namespace genie {
24 
25  class XSecScaleI: public Algorithm {
26 
27  public:
28  virtual ~XSecScaleI();
29  // This function returns the scaling value for a given interaction:
30  virtual double GetScaling( const Interaction & ) const = 0 ;
31 
32  protected:
33  XSecScaleI( string name, string config = "Default" );
34 
35  void Configure(const Registry & config) override ;
36  virtual void Configure (string config) override ;
37 
38  virtual void LoadConfig(void) = 0 ;
39 
40  };
41 
42 } // genie namespace
43 #endif // _XSEC_SCALE_I_H_
virtual ~XSecScaleI()
Definition: XSecScaleI.cxx:23
virtual void LoadConfig(void)=0
This class is responsible to compute a scaling factor for the XSec.
Definition: XSecScaleI.h:25
Algorithm abstract base class.
Definition: Algorithm.h:54
Summary information for an interaction.
Definition: Interaction.h:56
XSecScaleI(string name, string config="Default")
Definition: XSecScaleI.cxx:16
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
virtual double GetScaling(const Interaction &) const =0
void Configure(const Registry &config) override
Definition: XSecScaleI.cxx:28