BOSS
7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPoint1D.hh
Go to the documentation of this file.
1
/*******************************************************************************
2
* Project: BaBar detector at the SLAC PEP-II B-factory
3
* Package: EvtGenBase
4
* File: $Id: EvtPoint1D.hh,v 1.1.1.2 2007/10/26 05:03:14 pingrg Exp $
5
* Author: Alexei Dvoretskii,
[email protected]
, 2001-2002
6
*
7
* Copyright (C) 2002 Caltech
8
*******************************************************************************/
9
10
// Point on a finite 1-D interval. isValid shows whether for a given specification,
11
// the coordinate _value is inside the interval defined by _min, _max.
12
13
#ifndef EVT_POINT_1D_HH
14
#define EVT_POINT_1D_HH
15
16
class
EvtPoint1D
{
17
public
:
18
19
EvtPoint1D
();
20
EvtPoint1D
(
double
value
);
21
EvtPoint1D
(
double
min
,
double
max
,
double
value
);
22
~EvtPoint1D
();
23
24
bool
isValid
()
const
25
{
26
return
_valid;
27
}
28
29
double
value
()
const
30
{
31
return
_value;
32
}
33
34
void
print
()
const
;
35
36
private
:
37
38
double
_min;
// interval minimum
39
double
_max;
// interval maximum
40
double
_value;
41
bool
_valid;
// valid point inside the interval?
42
43
};
44
45
#endif
46
min
#define min(a, b)
Definition:
Eepipi/Eepipi-00-00-06/src/ee2eepp/basesv5.1/f2c.h:153
max
#define max(a, b)
Definition:
Eepipi/Eepipi-00-00-06/src/ee2eepp/basesv5.1/f2c.h:154
EvtPoint1D
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPoint1D.hh:16
EvtPoint1D::value
double value() const
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPoint1D.hh:29
EvtPoint1D::EvtPoint1D
EvtPoint1D()
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPoint1D.cc:17
EvtPoint1D::isValid
bool isValid() const
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPoint1D.hh:24
EvtPoint1D::~EvtPoint1D
~EvtPoint1D()
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPoint1D.cc:29
EvtPoint1D::print
void print() const
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPoint1D.cc:32
source
Generator
BesEvtGen
bak-BesEvtGen-00-04-08
src
EvtGen
EvtGenBase
EvtPoint1D.hh
Generated by
1.9.6