GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DummyHNLPXSec.cxx
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*
3  Copyright (c) 2003-2024, The GENIE Collaboration
4  For the full text of the license visit http://copyright.genie-mc.org
5 
6  Costas Andreopoulos <c.andreopoulos \at cern.ch>
7  University of Liverpool
8 */
9 //____________________________________________________________________________
10 
12 
13 using namespace genie;
14 
15 //____________________________________________________________________________
17 XSecAlgorithmI("genie::DummyHNLPXSec")
18 {
19 
20 }
21 //____________________________________________________________________________
23 XSecAlgorithmI("genie::DummyHNLPXSec", config)
24 {
25 
26 }
27 //____________________________________________________________________________
29 {
30 
31 }
32 //____________________________________________________________________________
34 {
35  return 0;
36 }
37 //____________________________________________________________________________
38 double DummyHNLPXSec::Integral(const Interaction * ) const
39 {
40  return 0;
41 }
42 //____________________________________________________________________________
44 {
45  return true;
46 }
47 //____________________________________________________________________________
double XSec(const Interaction *i, KinePhaseSpace_t k) const
Compute the cross section for the input interaction.
Cross Section Calculation Interface.
enum genie::EKinePhaseSpace KinePhaseSpace_t
Summary information for an interaction.
Definition: Interaction.h:56
double Integral(const Interaction *i) const
bool ValidProcess(const Interaction *i) const
Can this cross section algorithm handle the input process?