1 /*******************************************************************************
2 * Project: BaBar detector at the SLAC PEP-II B-factory
4 * File: $Id: EvtPoint1D.hh,v 1.2 2003/06/20 17:20:10 dvoretsk Exp $
5 * Author: Alexei Dvoretskii, dvoretsk@slac.stanford.edu, 2001-2002
7 * Copyright (C) 2002 Caltech
8 *******************************************************************************/
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.
13 #ifndef EVT_POINT_1D_HH
14 #define EVT_POINT_1D_HH
20 EvtPoint1D(double value);
21 EvtPoint1D(double min, double max, double value);
38 double _min; // interval minimum
39 double _max; // interval maximum
41 bool _valid; // valid point inside the interval?