Commit 32d560108c1772cd10e50ef6fbba600e63c198db

Authored by Jürgen Knödlseder
1 parent 5607aea6

Add sec_in_day constant.

The sec_in_day constants gives the number of seconds in a TT day.
Showing 1 changed file with 4 additions and 3 deletions
include/GTools.hpp
1 1 /***************************************************************************
2   - * GTools.hpp - GammaLib tools *
  2 + * GTools.hpp - GammaLib tools *
3 3 * ----------------------------------------------------------------------- *
4   - * copyright (C) 2008-2011 by Jurgen Knodlseder *
  4 + * copyright (C) 2008-2012 by Juergen Knoedlseder *
5 5 * ----------------------------------------------------------------------- *
6 6 * *
7 7 * This program is free software: you can redistribute it and/or modify *
... ... @@ -21,7 +21,7 @@
21 21 /**
22 22 * @file GTools.hpp
23 23 * @brief Gammalib tools definition
24   - * @author J. Knodlseder
  24 + * @author Juergen Knoedlseder
25 25 */
26 26  
27 27 #ifndef GTOOLS_HPP
... ... @@ -56,6 +56,7 @@ const double sqrt_two = sqrt(2.0);
56 56 const double MeV2erg = 1.6021765e-6;
57 57 const double erg2MeV = 624150.96;
58 58 const double pc2cm = 3.08568025e18;
  59 +const double sec_in_day = 86400.0;
59 60  
60 61 /* __ Prototypes ________________________________________________________ */
61 62 std::string strip_whitespace(const std::string& arg);
... ...