/home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/util/include/RAT/SimpsIntegral.hh Source File

Ratpac-two: /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/util/include/RAT/SimpsIntegral.hh Source File
Ratpac-two
SimpsIntegral.hh
1 #ifndef __RAT_SimpsIntegral__
2 #define __RAT_SimpsIntegral__
3 
4 #include <vector>
5 
6 namespace RAT {
7 /* Integrate the samples from sample number start to end the samples
8  assuming a fixed baseline using simpson's method. */
9 double SimpsIntegral(const std::vector<double> &samples, double baseline, int start, int end);
10 } // namespace RAT
11 
12 #endif
Definition: CCCrossSecMessenger.hh:29