Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

EvtPoint1D Class Reference

#include <EvtPoint1D.hh>

List of all members.

Public Member Functions

 EvtPoint1D (double min, double max, double value)
 EvtPoint1D (double value)
 EvtPoint1D ()
bool isValid () const
void print () const
double value () const
 ~EvtPoint1D ()

Private Attributes

double _max
double _min
bool _valid
double _value


Constructor & Destructor Documentation

EvtPoint1D::EvtPoint1D  ) 
 

00018   : _min(0.), _max(-1.), _value(0.), _valid(false)
00019 {}

EvtPoint1D::EvtPoint1D double  value  ) 
 

00022   : _min(0.), _max(-1.), _value(value), _valid(true)
00023 {}

EvtPoint1D::EvtPoint1D double  min,
double  max,
double  value
 

00026   : _min(min), _max(max), _value(value), _valid((_min <= _value && _value <= _max) ? true : false)
00027 {} 

EvtPoint1D::~EvtPoint1D  ) 
 

00030 {}


Member Function Documentation

bool EvtPoint1D::isValid  )  const [inline]
 

00025   { 
00026     return _valid; 
00027   }

void EvtPoint1D::print  )  const
 

00033 {
00034   printf("%f (%f : %f)\n",_value,_min,_max);
00035 }

double EvtPoint1D::value  )  const [inline]
 

00030   {
00031     return _value;
00032   }


Member Data Documentation

double EvtPoint1D::_max [private]
 

double EvtPoint1D::_min [private]
 

bool EvtPoint1D::_valid [private]
 

double EvtPoint1D::_value [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 16:08:35 2011 for BOSS6.5.5 by  doxygen 1.3.9.1