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 |
|
---|
13 | namespace HepMC3 {
|
---|
14 |
|
---|
15 | const unsigned int Setup::DEFAULT_DOUBLE_ALMOST_EQUAL_MAXULPS = 10;
|
---|
16 | const double Setup::DOUBLE_EPSILON = 10e-20;
|
---|
17 | bool Setup::print_errors() { return m_is_printing_errors; }
|
---|
18 | void Setup::set_print_errors(const bool flag) { m_is_printing_errors = flag; }
|
---|
19 | bool Setup::print_warnings() { return m_is_printing_warnings; }
|
---|
20 | void Setup::set_print_warnings(const bool flag) { m_is_printing_warnings = flag; }
|
---|
21 | int Setup::debug_level() { return m_debug_level; }
|
---|
22 | void Setup::set_debug_level(const int level) { m_debug_level = level; }
|
---|
23 | bool Setup::m_is_printing_errors = true;
|
---|
24 | bool Setup::m_is_printing_warnings = true;
|
---|
25 | int Setup::m_debug_level = 5;
|
---|
26 |
|
---|
27 | } // namespace HepMC3
|
---|
Note:
See
TracBrowser
for help on using the repository browser.