GENIEGenerator
Loading...
Searching...
No Matches
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 <c.andreopoulos \at cern.ch>
14 University of Liverpool
15
16\created May 06, 2004
17
18\cpright Copyright (c) 2003-2025, 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
26namespace genie {
27
29{
30public:
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
43{
44public:
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
57{
58public:
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_
void Copy(const Range1D_t &r)
Definition Range1.cxx:74
void Copy(const Range1F_t &r)
Definition Range1.cxx:42
void Copy(const Range1I_t &r)
Definition Range1.cxx:106
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25