Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Trigger
TrigMonitoring
TrigSteerMonitor
src
TimeDivider.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TrigSteerMonitor_TimeDivider_h
6
#define TrigSteerMonitor_TimeDivider_h
7
8
#include <unistd.h>
20
class
TimeDivider
{
21
public
:
22
enum
unit
{
seconds
,
minutes
};
23
30
TimeDivider
(
unsigned
int
intervals,
unsigned
int
duration
,
unit
u
);
31
38
bool
isPassed
(time_t
time
,
unsigned
int
& newinterval,
unsigned
int
& oldinterval );
39
46
unsigned
int
forcePassed
(time_t
time
,
unsigned
int
& oldinterval );
47
48
49
private
:
50
unsigned
int
m_intervals
;
51
unsigned
int
m_duration
;
52
unit
m_unit
;
53
unsigned
int
m_current_interval
;
54
time_t
m_beginning
;
55
};
56
57
58
59
#endif
TimeDivider::m_intervals
unsigned int m_intervals
Definition:
TimeDivider.h:50
TimeDivider::TimeDivider
TimeDivider(unsigned int intervals, unsigned int duration, unit u)
construct the TimeDivider
Definition:
TimeDivider.cxx:10
TimeDivider::isPassed
bool isPassed(time_t time, unsigned int &newinterval, unsigned int &oldinterval)
method to know if one shoudl switch to new interval
Definition:
TimeDivider.cxx:21
Trk::u
@ u
Enums for curvilinear frames.
Definition:
ParamDefs.h:77
TimeDivider::m_duration
unsigned int m_duration
Definition:
TimeDivider.h:51
TimeDivider::m_beginning
time_t m_beginning
Definition:
TimeDivider.h:54
TimeDivider::forcePassed
unsigned int forcePassed(time_t time, unsigned int &oldinterval)
method
Definition:
TimeDivider.cxx:47
TimeDivider
Helper class to divide time into intervals aligned with wall clock Once object is constructed say wit...
Definition:
TimeDivider.h:20
PixelAthHitMonAlgCfg.duration
duration
Definition:
PixelAthHitMonAlgCfg.py:152
TimeDivider::m_current_interval
unsigned int m_current_interval
Definition:
TimeDivider.h:53
TimeDivider::seconds
@ seconds
Definition:
TimeDivider.h:22
TimeDivider::unit
unit
Definition:
TimeDivider.h:22
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition:
CaloSwCorrections.py:242
TimeDivider::minutes
@ minutes
Definition:
TimeDivider.h:22
TimeDivider::m_unit
unit m_unit
Definition:
TimeDivider.h:52
Generated on Tue Apr 8 2025 21:20:47 for ATLAS Offline Software by
1.8.18