GENIEGenerator
Loading...
Searching...
No Matches
EvtLibPXSec.h
Go to the documentation of this file.
1#ifndef _LLEWELLYN_SMITH_QELCC_CROSS_SECTION_H_
2#define _LLEWELLYN_SMITH_QELCC_CROSS_SECTION_H_
3
5
6#include "Tools/EvtLib/Key.h"
7
8class TGraph;
9
10namespace genie {
11namespace evtlib {
12
14
15public:
17 EvtLibPXSec(string config);
18 virtual ~EvtLibPXSec();
19
20 // XSecAlgorithmI interface implementation
21 double XSec (const Interaction * i, KinePhaseSpace_t k) const;
22 double Integral (const Interaction * i) const;
23 bool ValidProcess (const Interaction * i) const;
24
25 // Override the Algorithm::Configure methods to load configuration
26 // data to private data members
27 void Configure (const Registry & config);
28 void Configure (string param_set);
29
30protected:
31 TGraph* GetXSec(const Interaction* in) const;
32 void LoadXSecs();
33 void ClearXSecs();
34
35 std::map<Key, TGraph*> fXSecs;
36};
37
38} // evtlib namespace
39} // genie namespace
40
41#endif
Summary information for an interaction.
Definition Interaction.h:56
A registry. Provides the container for algorithm configuration parameters.
Definition Registry.h:65
std::map< Key, TGraph * > fXSecs
Definition EvtLibPXSec.h:35
TGraph * GetXSec(const Interaction *in) const
double XSec(const Interaction *i, KinePhaseSpace_t k) const
Compute the cross section for the input interaction.
void Configure(const Registry &config)
double Integral(const Interaction *i) const
bool ValidProcess(const Interaction *i) const
Can this cross section algorithm handle the input process?
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25
enum genie::EKinePhaseSpace KinePhaseSpace_t