DummyPXSec.cxx
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*
3  Copyright (c) 2003-2020, The GENIE Collaboration
4  For the full text of the license visit http://copyright.genie-mc.org
5 
6  Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
7  University of Liverpool & STFC Rutherford Appleton Laboratory
8 */
9 //____________________________________________________________________________
10 
12 
13 using namespace genie;
14 
15 //____________________________________________________________________________
17 XSecAlgorithmI("genie::DummyPXSec")
18 {
19 
20 }
21 //____________________________________________________________________________
23 XSecAlgorithmI("genie::DummyPXSec", config)
24 {
25 
26 }
27 //____________________________________________________________________________
29 {
30 
31 }
32 //____________________________________________________________________________
34 {
35  return 0;
36 }
37 //____________________________________________________________________________
38 double DummyPXSec::Integral(const Interaction * ) const
39 {
40  return 0;
41 }
42 //____________________________________________________________________________
44 {
45  return true;
46 }
47 //____________________________________________________________________________
Cross Section Calculation Interface.
double Integral(const Interaction *i) const
Definition: DummyPXSec.cxx:38
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
enum genie::EKinePhaseSpace KinePhaseSpace_t
bool ValidProcess(const Interaction *i) const
Can this cross section algorithm handle the input process?
Definition: DummyPXSec.cxx:43
Summary information for an interaction.
Definition: Interaction.h:56
static Config * config
Definition: config.cpp:1054
double XSec(const Interaction *i, KinePhaseSpace_t k) const
Compute the cross section for the input interaction.
Definition: DummyPXSec.cxx:33