ComPWA
Common Partial-Wave-Analysis Framework
Integration.hpp
Go to the documentation of this file.
1 // Copyright (c) 2017 The ComPWA Team.
2 // This file is part of the ComPWA framework, check
3 // https://github.com/ComPWA/ComPWA/license.txt for details.
4 
5 #ifndef COMPWA_TOOLS_INTEGRATION_HPP_
6 #define COMPWA_TOOLS_INTEGRATION_HPP_
7 
8 #include "Core/Function.hpp"
9 
10 namespace ComPWA {
11 
12 namespace Data {
13 struct DataSet;
14 }
15 
16 namespace Tools {
17 
36 std::pair<double, double>
38  const ComPWA::Data::DataSet &phspsample,
39  double phspVolume = 1.0);
40 
41 double integrate(ComPWA::Intensity &intensity,
42  const ComPWA::Data::DataSet &phspsample,
43  double phspVolume = 1.0);
44 
45 double maximum(ComPWA::Intensity &intensity,
46  const ComPWA::Data::DataSet &sample);
47 
48 } // namespace Tools
49 } // namespace ComPWA
50 
51 #endif
std::pair< double, double > integrateWithError(ComPWA::Intensity &intensity, const ComPWA::Data::DataSet &phspsample, double phspVolume)
Calculate integral and its error.
Definition: Integration.cpp:39
double maximum(ComPWA::Intensity &intensity, const ComPWA::Data::DataSet &sample)
Definition: Integration.cpp:75
double integrate(ComPWA::Intensity &intensity, const ComPWA::Data::DataSet &phspsample, double phspVolume)
Definition: Integration.cpp:70
Interface template for a general Function of the form OutputType Function(InputTypes) The concept clo...
Definition: Function.hpp:24