Range1.cxx
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*
3  Copyright (c) 2003-2020, The GENIE Collaboration
4  For the full text of the license visit http://copyright.genie-mc.org
5 
6  Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
7  University of Liverpool & STFC Rutherford Appleton Laboratory
8 */
9 //____________________________________________________________________________
10 
11 #include "Framework/Utils/Range1.h"
12 
13 using namespace genie;
14 
15 //____________________________________________________________________________
17 min(0.),
18 max(0.)
19 {
20 
21 }
22 //____________________________________________________________________________
23 Range1F_t::Range1F_t(float _min, float _max) :
24 min(_min),
25 max(_max)
26 {
27 
28 }
29 //____________________________________________________________________________
31 min(r.min),
32 max(r.max)
33 {
34 
35 }
36 //____________________________________________________________________________
38 {
39 
40 }
41 //____________________________________________________________________________
43 {
44  min = r.min;
45  max = r.max;
46 }
47 //____________________________________________________________________________
49 min(0.),
50 max(0.)
51 {
52 
53 }
54 //____________________________________________________________________________
55 Range1D_t::Range1D_t(double _min, double _max) :
56 min(_min),
57 max(_max)
58 {
59 
60 }
61 //____________________________________________________________________________
63 min(r.min),
64 max(r.max)
65 {
66 
67 }
68 //____________________________________________________________________________
70 {
71 
72 }
73 //____________________________________________________________________________
75 {
76  min = r.min;
77  max = r.max;
78 }
79 //____________________________________________________________________________
81 min(0),
82 max(0)
83 {
84 
85 }
86 //____________________________________________________________________________
87 Range1I_t::Range1I_t(int _min, int _max) :
88 min(_min),
89 max(_max)
90 {
91 
92 }
93 //____________________________________________________________________________
95 min(r.min),
96 max(r.max)
97 {
98 
99 }
100 //____________________________________________________________________________
102 {
103 
104 }
105 //____________________________________________________________________________
107 {
108  min = r.min;
109  max = r.max;
110 }
111 //____________________________________________________________________________
A simple [min,max] interval for integers.
Definition: Range1.h:56
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
A simple [min,max] interval for doubles.
Definition: Range1.h:42
A simple [min,max] interval for floats.
Definition: Range1.h:28
~Range1F_t(void)
Definition: Range1.cxx:37
Range1D_t(void)
Definition: Range1.cxx:48
void Copy(const Range1D_t &r)
Definition: Range1.cxx:74
static int max(int a, int b)
double max
Definition: Range1.h:53
T min(sqlite3 *const db, std::string const &table_name, std::string const &column_name)
Definition: statistics.h:55
~Range1I_t(void)
Definition: Range1.cxx:101
Range1F_t(void)
Definition: Range1.cxx:16
void Copy(const Range1F_t &r)
Definition: Range1.cxx:42
void Copy(const Range1I_t &r)
Definition: Range1.cxx:106
double min
Definition: Range1.h:52
~Range1D_t(void)
Definition: Range1.cxx:69
Range1I_t(void)
Definition: Range1.cxx:80