SISCone  2.0.6
defines.h
Go to the documentation of this file.
1 // -*- C++ -*-
3 // File: defines.h //
4 // Description: header file for generic parameters definitions //
5 // This file is part of the SISCone project. //
6 // For more details, see http://projects.hepforge.org/siscone //
7 // //
8 // Copyright (c) 2006 Gavin Salam and Gregory Soyez //
9 // //
10 // This program is free software; you can redistribute it and/or modify //
11 // it under the terms of the GNU General Public License as published by //
12 // the Free Software Foundation; either version 2 of the License, or //
13 // (at your option) any later version. //
14 // //
15 // This program is distributed in the hope that it will be useful, //
16 // but WITHOUT ANY WARRANTY; without even the implied warranty of //
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
18 // GNU General Public License for more details. //
19 // //
20 // You should have received a copy of the GNU General Public License //
21 // along with this program; if not, write to the Free Software //
22 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA //
23 // //
24 // $Revision:: 225 $//
25 // $Date:: 2008-05-20 16:59:47 +0200 (Tue, 20 May 2008) $//
27 
29 #ifndef __DEFINES_H__
30 #define __DEFINES_H__
31 
33 // we get "SISCone" by calling
34 // siscone::siscone_package_name
35 // defined in siscone.h
36 // Otherwise, config.h
37 // It is also defined as "PACKAGE_NAME" in config.h but this method
38 // might lead to conflicts
39 //#define PROGRAM PACKAGE_NAME
40 
41 // program version
42 // we get it from
43 // siscone::siscone_version
44 // defined in siscone.h
45 // It is also defined as "VERSION" in config.h but this method
46 // might lead to conflicts
47 
52 //#define USE_QUADTREE_FOR_STABILITY_TEST
53 
54 
61 #define PT_TSHOLD 1000.0
62 
63 
75 #define EPSILON_COLLINEAR 1e-8
76 
77 
82 #define EPSILON_COCIRCULAR 1e-12
83 
84 
99 //#define ALLOW_MERGE_IDENTICAL_PROTOCONES
100 //#define MERGE_IDENTICAL_PROTOCONES_DEFAULT_TRUE
101 
102 
111 #define EPSILON_SPLITMERGE 1e-12
112 
114 const double twopi = 6.283185307179586476925286766559005768394;
115 
117 //#define DEBUG_STABLE_CONES ///< debug messages in stable cones search
118 //#define DEBUG_SPLIT_MERGE ///< debug messages in split-merge
119 //#define DEBUG ///< all debug messages !
120 
121 // in case all debug massages allowed, allow them in practice !
122 #ifdef DEBUG
123 #define DEBUG_STABLE_CONES
124 #define DEBUG_SPLIT_MERGE
125 #endif
126 
127 #endif // __DEFINES_H__
128 
The SISCone project has been developed by Gavin Salam and Gregory Soyez
Documentation generated on Mon May 6 2013 11:30:35 for SISCone by  Doxygen 1.8.3.1