GENIEGenerator
Loading...
Searching...
No Matches
QvalueShifter.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::QvalueShfiter
5
6\brief This class is responsible to compute a relative shift to a Qvalue
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 _QVALUE_SHIFTER_H_
18#define _QVALUE_SHIFTER_H_
19
23#include <map>
24
25using std::map;
26
27namespace genie {
28
29 class QvalueShifter: public Algorithm {
30
31 public:
33 QvalueShifter(string config);
34 virtual ~QvalueShifter();
35
36 virtual double Shift( const Target & target ) const ;
37 virtual double Shift( const Interaction & interaction ) const ;
38
39 void Configure (const Registry & config);
40 void Configure (string config);
41
42 protected:
43
44 // Load algorithm configuration
45 void LoadConfig (void);
46
47 private:
49 std::map<int,double> fRelShift ; // map from pdf_target to the Qvalue relative shift
50
51 };
52
53} // genie namespace
54#endif // _QVALUE_SHIFTER_H_
Summary information for an interaction.
Definition Interaction.h:56
virtual double Shift(const Target &target) const
void Configure(const Registry &config)
std::map< int, double > fRelShift
A registry. Provides the container for algorithm configuration parameters.
Definition Registry.h:65
A Neutrino Interaction Target. Is a transparent encapsulation of quite different physical systems suc...
Definition Target.h:40
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25