GENIEGenerator
Loading...
Searching...
No Matches
XSecScaleMap.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::XSecScaleMap
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_MAP_H_
18#define _XSEC_SCALE_MAP_H_
19
21#include <map>
22
23namespace genie {
24
25 class XSecScaleMap: public XSecScaleI {
26
27 public:
29 XSecScaleMap(string config);
30 virtual ~XSecScaleMap();
31
32 // This function returns the scaling value for a given interaction:
33 virtual double GetScaling( const Interaction & ) const override ;
34
35 protected:
36
37 // Load algorithm configuration
38 virtual void LoadConfig (void) override ;
39
40 private:
42 std::map<int,const XSecScaleI *> fXSecScaleMap ;
43
44 };
45
46} // genie namespace
47#endif // _XSEC_SCALE_MAP_H_
Summary information for an interaction.
Definition Interaction.h:56
XSecScaleI(string name, string config="Default")
std::map< int, const XSecScaleI * > fXSecScaleMap
virtual void LoadConfig(void) override
const XSecScaleI * fXSecScaleDefault
virtual double GetScaling(const Interaction &) const override
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25