Bayeux
3.4.1
Core Foundation library for SuperNEMO
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
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
k
l
m
n
o
p
q
r
s
t
u
v
x
y
z
Variables
+
Typedefs
a
b
c
d
e
f
g
h
i
m
o
p
r
s
u
v
w
+
Enumerations
a
b
c
d
e
g
m
n
o
p
r
s
u
v
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
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
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
k
l
m
n
o
p
r
s
t
u
v
w
z
+
Enumerations
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Properties
+
Related Functions
b
c
h
i
m
o
p
s
v
+
Files
File List
+
File Members
+
All
_
b
c
d
e
g
m
Functions
+
Macros
_
b
c
d
e
g
m
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
bayeux
mctools
signal
utils.h
Go to the documentation of this file.
1
/* Author(s) : Francois Mauger <mauger@lpccaen.in2p3.fr>
3
* Creation date : 2015-04-10
4
* Last modified : 2015-04-10
5
*
6
* Copyright (C) 2015 Francois Mauger <mauger@lpccaen.in2p3.fr>
7
*
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 3 of the License, or (at
11
* your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful, but
14
* WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
21
* Boston, MA 02110-1301, USA.
22
*
23
* Description:
24
*
25
* Signal and signal shape utilities.
26
*
27
* History:
28
*
29
*/
30
31
#ifndef MCTOOLS_SIGNAL_UTILS_H
32
#define MCTOOLS_SIGNAL_UTILS_H
33
34
// Third party:
35
// - Bayeux/datatools :
36
#include <
datatools/units.h
>
37
38
namespace
mctools
{
39
40
namespace
signal {
41
42
enum
polarity_type
{
43
POLARITY_INVALID
= -1,
44
POLARITY_POSITIVE
= 0,
45
POLARITY_NEGATIVE
= 1,
46
POLARITY_UNKNOWN
= 2
47
};
48
49
bool
polarity_is_valid
(
polarity_type
);
50
51
bool
polarity_is_set
(
polarity_type
);
52
53
// nanosecond
54
const
datatools::units::unit
&
default_time_unit
();
55
56
// Volt
57
const
datatools::units::unit
&
default_voltage_unit
();
58
59
// electric_signal_integral (nV.s)
60
const
datatools::units::unit
&
default_charge_unit
();
61
62
}
// end of namespace signal
63
64
}
// end of namespace mctools
65
66
#endif // MCTOOLS_SIGNAL_UTILS_H
67
68
// Local Variables: --
69
// mode: c++ --
70
// c-file-style: "gnu" --
71
// tab-width: 2 --
72
// End: --
mctools::signal::POLARITY_NEGATIVE
Negative polarity.
Definition:
utils.h:45
mctools
Definition:
base_step_hit.h:32
mctools::signal::default_charge_unit
const datatools::units::unit & default_charge_unit()
mctools::signal::polarity_is_valid
bool polarity_is_valid(polarity_type)
mctools::signal::POLARITY_POSITIVE
Positive polarity.
Definition:
utils.h:44
mctools::signal::default_time_unit
const datatools::units::unit & default_time_unit()
units.h
mctools::signal::POLARITY_UNKNOWN
Unknown polarity.
Definition:
utils.h:46
mctools::signal::default_voltage_unit
const datatools::units::unit & default_voltage_unit()
mctools::signal::POLARITY_INVALID
Invalid polarity.
Definition:
utils.h:43
mctools::signal::polarity_is_set
bool polarity_is_set(polarity_type)
mctools::signal::polarity_type
polarity_type
Definition:
utils.h:42
datatools::units::unit
The description of an unit.
Definition:
units.h:368
Generated by
1.8.15