Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
Generator
src
Framework
Utils
Range1.h
Go to the documentation of this file.
1
//__________________________________________________________________________
2
/*!
3
4
\class genie::Range1F_t
5
\brief A simple [min,max] interval for floats.
6
7
\class genie::Range1D_t
8
\brief A simple [min,max] interval for doubles.
9
10
\class genie::Range1I_t
11
\brief A simple [min,max] interval for integers.
12
13
\author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
14
University of Liverpool & STFC Rutherford Appleton Laboratory
15
16
\created May 06, 2004
17
18
\cpright Copyright (c) 2003-2020, The GENIE Collaboration
19
For the full text of the license visit http://copyright.genie-mc.org
20
*/
21
//__________________________________________________________________________
22
23
#ifndef _RANGE_1_T_H_
24
#define _RANGE_1_T_H_
25
26
namespace
genie
{
27
28
class
Range1F_t
29
{
30
public
:
31
Range1F_t
(
void
);
32
Range1F_t
(
float
_min,
float
_max);
33
Range1F_t
(
const
Range1F_t
&
r
);
34
~Range1F_t
(
void
);
35
36
void
Copy
(
const
Range1F_t
& r);
37
38
float
min
;
39
float
max
;
40
};
41
42
class
Range1D_t
43
{
44
public
:
45
Range1D_t
(
void
);
46
Range1D_t
(
double
_min,
double
_max);
47
Range1D_t
(
const
Range1D_t
&
r
);
48
~
Range1D_t
(
void
);
49
50
void
Copy
(
const
Range1D_t
& r);
51
52
double
min
;
53
double
max
;
54
};
55
56
class
Range1I_t
57
{
58
public
:
59
Range1I_t
(
void
);
60
Range1I_t
(
int
_min,
int
_max);
61
Range1I_t
(
const
Range1I_t
&
r
);
62
~
Range1I_t
(
void
);
63
64
void
Copy
(
const
Range1I_t
& r);
65
66
int
min
;
67
int
max
;
68
};
69
70
71
72
}
// genie namespace
73
74
#endif // _RANGE_1_T_H_
genie::Range1I_t
A simple [min,max] interval for integers.
Definition:
Range1.h:56
genie::Range1F_t::min
float min
Definition:
Range1.h:38
genie
THE MAIN GENIE PROJECT NAMESPACE
Definition:
AlgCmp.h:25
genie::Range1D_t
A simple [min,max] interval for doubles.
Definition:
Range1.h:42
genie::Range1F_t
A simple [min,max] interval for floats.
Definition:
Range1.h:28
genie::Range1F_t::~Range1F_t
~Range1F_t(void)
Definition:
Range1.cxx:37
genie::Range1I_t::min
int min
Definition:
Range1.h:66
genie::Range1I_t::max
int max
Definition:
Range1.h:67
genie::Range1D_t::max
double max
Definition:
Range1.h:53
genie::Range1F_t::Range1F_t
Range1F_t(void)
Definition:
Range1.cxx:16
genie::Range1F_t::Copy
void Copy(const Range1F_t &r)
Definition:
Range1.cxx:42
genie::Range1D_t::min
double min
Definition:
Range1.h:52
plot_model.r
r
Definition:
plot_model.py:57
genie::Range1F_t::max
float max
Definition:
Range1.h:39
Generated by
1.8.11