Main Page
Class Categories
Classes
Namespaces
File List
File Members
exper-sw
cosmosw
AugerSW
Offline
source
main
Utilities
Time
TimeInterval.cc
Go to the documentation of this file.
1
#include <utl/AugerUnits.h>
2
#include <utl/TimeInterval.h>
3
#include <cmath>
4
5
using namespace
std;
6
using namespace
utl;
7
8
12
long
13
TimeInterval::GetSecond()
14
const
15
{
16
return
long(floor(fInterval/
s
));
17
}
18
19
20
24
double
25
TimeInterval::GetNanoSecond()
26
const
27
{
28
return
(fInterval/
s
-
double
(GetSecond()))*(
s
/
ns
);
29
}
utl::s
constexpr double s
Definition:
AugerUnits.h:163
ns
const double ns
Definition:
PhysicsConstants.h:2
, generated on Tue Sep 26 2023.