siscone is hosted by Hepforge, IPPP Durham

The SISCone Jet Algorithm

Version 3.0.6



SISCone 3.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:: $//
25// $Date:: $//
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 "SISCONE_PACKAGE_NAME" in config.h but this method
38// might lead to conflicts
39//#define PROGRAM SISCONE_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 "SISCONE_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
114const 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
const double twopi
definition of 2*M_PI which is useful a bit everyhere!
Definition: defines.h:114

The SISCone project has been developed by Gavin Salam and Gregory Soyez
Documentation generated on Tue Jun 20 2023 18:08:37 for SISCone by  Doxygen 1.9.4