1 | //STARTHEADER |
---|
2 | // $Id: numconsts.hh 2577 2011-09-13 15:11:38Z salam $ |
---|
3 | // |
---|
4 | // Copyright (c) 2005-2011, Matteo Cacciari, Gavin P. Salam and Gregory Soyez |
---|
5 | // |
---|
6 | //---------------------------------------------------------------------- |
---|
7 | // This file is part of FastJet. |
---|
8 | // |
---|
9 | // FastJet is free software; you can redistribute it and/or modify |
---|
10 | // it under the terms of the GNU General Public License as published by |
---|
11 | // the Free Software Foundation; either version 2 of the License, or |
---|
12 | // (at your option) any later version. |
---|
13 | // |
---|
14 | // The algorithms that underlie FastJet have required considerable |
---|
15 | // development and are described in hep-ph/0512210. If you use |
---|
16 | // FastJet as part of work towards a scientific publication, please |
---|
17 | // include a citation to the FastJet paper. |
---|
18 | // |
---|
19 | // FastJet is distributed in the hope that it will be useful, |
---|
20 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
21 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
22 | // GNU General Public License for more details. |
---|
23 | // |
---|
24 | // You should have received a copy of the GNU General Public License |
---|
25 | // along with FastJet. If not, see <http://www.gnu.org/licenses/>. |
---|
26 | //---------------------------------------------------------------------- |
---|
27 | //ENDHEADER |
---|
28 | |
---|
29 | |
---|
30 | |
---|
31 | #ifndef __FASTJET_NUMCONSTS__ |
---|
32 | #define __FASTJET_NUMCONSTS__ |
---|
33 | |
---|
34 | #include "fastjet/internal/base.hh" |
---|
35 | |
---|
36 | FASTJET_BEGIN_NAMESPACE // defined in fastjet/internal/base.hh |
---|
37 | |
---|
38 | // some common useful constants! |
---|
39 | |
---|
40 | const double pi = 3.141592653589793238462643383279502884197; |
---|
41 | const double twopi = 6.283185307179586476925286766559005768394; |
---|
42 | const double pisq = 9.869604401089358618834490999876151135314; |
---|
43 | const double zeta2 = 1.644934066848226436472415166646025189219; |
---|
44 | const double zeta3 = 1.202056903159594285399738161511449990765; |
---|
45 | const double eulergamma = 0.577215664901532860606512090082402431042; |
---|
46 | const double ln2 = 0.693147180559945309417232121458176568076; |
---|
47 | |
---|
48 | |
---|
49 | FASTJET_END_NAMESPACE |
---|
50 | |
---|
51 | #endif // __FASTJET_NUMCONSTS__ |
---|