Fork me on GitHub

source: git/external/HepMC3/src/Setup.cc@ b30245b

Last change on this file since b30245b was b30245b, checked in by Andrii Verbytskyi <averbyts@…>, 3 years ago

Added root support to HepMC3

  • Property mode set to 100644
File size: 1.0 KB
Line 
1// -*- C++ -*-
2//
3// This file is part of HepMC
4// Copyright (C) 2014-2019 The HepMC collaboration (see AUTHORS for details)
5//
6/**
7 * @file Setup.cc
8 * @brief Implementation of Setup class
9 *
10 */
11#include "HepMC3/Setup.h"
12
13namespace HepMC3 {
14
15const unsigned int Setup::DEFAULT_DOUBLE_ALMOST_EQUAL_MAXULPS = 10;
16const double Setup::DOUBLE_EPSILON = 10e-20;
17bool Setup::print_errors() { return m_is_printing_errors; }
18void Setup::set_print_errors(const bool flag) { m_is_printing_errors = flag; }
19bool Setup::print_warnings() { return m_is_printing_warnings; }
20void Setup::set_print_warnings(const bool flag) { m_is_printing_warnings = flag; }
21int Setup::debug_level() { return m_debug_level; }
22void Setup::set_debug_level(const int level) { m_debug_level = level; }
23bool Setup::m_is_printing_errors = true;
24bool Setup::m_is_printing_warnings = true;
25int Setup::m_debug_level = 5;
26
27} // namespace HepMC3
Note: See TracBrowser for help on using the repository browser.