Changeset 49234af in git for external/fastjet/Error.hh
- Timestamp:
- Dec 9, 2014, 1:27:13 PM (10 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 37deb3b, 9e991f8
- Parents:
- f6b6ee7 (diff), e7e90df (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/fastjet/Error.hh
rf6b6ee7 r49234af 2 2 #define __FASTJET_ERROR_HH__ 3 3 4 // STARTHEADER5 // $Id: Error.hh 2577 2011-09-13 15:11:38Z salam$4 //FJSTARTHEADER 5 // $Id: Error.hh 3694 2014-09-18 13:21:54Z soyez $ 6 6 // 7 // Copyright (c) 2005-201 1, Matteo Cacciari, Gavin P. Salam and Gregory Soyez7 // Copyright (c) 2005-2014, Matteo Cacciari, Gavin P. Salam and Gregory Soyez 8 8 // 9 9 //---------------------------------------------------------------------- … … 16 16 // 17 17 // The algorithms that underlie FastJet have required considerable 18 // development and are described in hep-ph/0512210. If you use 18 // development. They are described in the original FastJet paper, 19 // hep-ph/0512210 and in the manual, arXiv:1111.6097. If you use 19 20 // FastJet as part of work towards a scientific publication, please 20 // include a citation to the FastJet paper. 21 // quote the version you use and include a citation to the manual and 22 // optionally also to hep-ph/0512210. 21 23 // 22 24 // FastJet is distributed in the hope that it will be useful, … … 28 30 // along with FastJet. If not, see <http://www.gnu.org/licenses/>. 29 31 //---------------------------------------------------------------------- 30 // ENDHEADER32 //FJENDHEADER 31 33 32 34 #include<iostream> 33 35 #include<string> 34 36 #include "fastjet/internal/base.hh" 37 #include "fastjet/config.h" 38 #if (!defined(FASTJET_HAVE_EXECINFO_H)) || defined(__FJCORE__) 39 #include "fastjet/LimitedWarning.hh" 40 #endif 35 41 36 42 FASTJET_BEGIN_NAMESPACE // defined in fastjet/internal/base.hh … … 63 69 /// controls whether the backtrace is printed out with the error message or not. 64 70 /// The default is "false". 65 static void set_print_backtrace(bool enabled) {_print_backtrace = enabled;}71 static void set_print_backtrace(bool enabled); 66 72 67 73 /// sets the default output stream for all errors; by default … … 72 78 73 79 private: 80 81 #ifndef __FJCORE__ 82 #if defined(FASTJET_HAVE_EXECINFO_H) && defined(FASTJET_HAVE_DEMANGLING_SUPPORT) 83 /// demangle a given backtrace symbol 84 std::string _demangle(const char* symbol); 85 #endif 86 #endif 87 74 88 std::string _message; ///< error message 75 89 static bool _print_errors; ///< do we print anything? 76 90 static bool _print_backtrace; ///< do we print the backtrace? 77 91 static std::ostream * _default_ostr; ///< the output stream (cerr if not set) 92 #if (!defined(FASTJET_HAVE_EXECINFO_H)) || defined(__FJCORE__) 93 static LimitedWarning _execinfo_undefined; 94 #endif 78 95 }; 79 96
Note:
See TracChangeset
for help on using the changeset viewer.