Hammer  1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PhaseSpace.hh
Go to the documentation of this file.
1 ///
2 /// @file PhaseSpace.hh
3 /// @brief Phase space integrals
4 ///
5 
6 //**** This file is a part of the HAMMER library
7 //**** Copyright (C) 2016 - 2020 The HAMMER Collaboration
8 //**** HAMMER is licensed under version 3 of the GPL; see COPYING for details
9 //**** Please note the MCnet academic guidelines; see GUIDELINES for details
10 
11 // -*- C++ -*-
12 #ifndef HAMMER_MATH_PHASESPACE
13 #define HAMMER_MATH_PHASESPACE
14 
15 #include <vector>
16 
17 namespace Hammer {
18 
19  /// @brief
20  /// @param[in] mass
21  /// @param[in] masses
22  /// @return
23  double phaseSpaceN(const double mass, const std::vector<double>& masses);
24 
25 
26  /// @brief
27  /// @param[in] mass
28  /// @param[in] masses
29  /// @return
30  double phaseSpaceNBody(const double mass, const std::vector<double>& masses);
31 
32 } // namespace Hammer
33 
34 #endif
double phaseSpaceNBody(const double parentMass, const vector< double > &daughterMasses)
Definition: PhaseSpace.cc:52
double phaseSpaceN(const double parentMass, const vector< double > &daughterMasses)
Definition: PhaseSpace.cc:142