2 // $Id: numconsts.hh 293 2006-08-17 19:38:38Z salam $
4 // Copyright (c) 2005-2006, Matteo Cacciari and Gavin Salam
6 //----------------------------------------------------------------------
7 // This file is part of FastJet.
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.
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.
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.
24 // You should have received a copy of the GNU General Public License
25 // along with FastJet; if not, write to the Free Software
27 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 //----------------------------------------------------------------------
33 #ifndef __FASTJET_NUMCONSTS__
34 #define __FASTJET_NUMCONSTS__
36 #include "fastjet/internal/base.hh"
38 namespace fastjet { // defined in fastjet/internal/base.hh
40 // some common useful constants!
42 const double pi = 3.141592653589793238462643383279502884197;
43 const double twopi = 6.283185307179586476925286766559005768394;
44 const double pisq = 9.869604401089358618834490999876151135314;
45 const double zeta2 = 1.644934066848226436472415166646025189219;
46 const double zeta3 = 1.202056903159594285399738161511449990765;
47 const double eulergamma = 0.577215664901532860606512090082402431042;
48 const double ln2 = 0.693147180559945309417232121458176568076;
51 } // fastjet namespace
53 #endif // __FASTJET_NUMCONSTS__