GENIEGenerator
Loading...
Searching...
No Matches
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-2025, 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
23namespace 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_
Summary information for an interaction.
Definition Interaction.h:56
A registry. Provides the container for algorithm configuration parameters.
Definition Registry.h:65
void Configure(const Registry &config) override
virtual double GetScaling(const Interaction &) const =0
virtual ~XSecScaleI()
XSecScaleI(string name, string config="Default")
virtual void LoadConfig(void)=0
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25