BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtPoint1D Class Reference

#include <EvtPoint1D.hh>

Public Member Functions

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

Detailed Description

Constructor & Destructor Documentation

◆ EvtPoint1D() [1/6]

EvtPoint1D::EvtPoint1D ( )

Definition at line 17 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPoint1D.cc.

18 : _min(0.), _max(-1.), _value(0.), _valid(false)
19{}

◆ EvtPoint1D() [2/6]

EvtPoint1D::EvtPoint1D ( double  value)

Definition at line 21 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPoint1D.cc.

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

◆ EvtPoint1D() [3/6]

EvtPoint1D::EvtPoint1D ( double  min,
double  max,
double  value 
)

Definition at line 25 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPoint1D.cc.

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

◆ ~EvtPoint1D() [1/2]

EvtPoint1D::~EvtPoint1D ( )

◆ EvtPoint1D() [4/6]

EvtPoint1D::EvtPoint1D ( )

◆ EvtPoint1D() [5/6]

EvtPoint1D::EvtPoint1D ( double  value)

◆ EvtPoint1D() [6/6]

EvtPoint1D::EvtPoint1D ( double  min,
double  max,
double  value 
)

◆ ~EvtPoint1D() [2/2]

EvtPoint1D::~EvtPoint1D ( )

Member Function Documentation

◆ isValid() [1/2]

bool EvtPoint1D::isValid ( ) const
inline

Definition at line 24 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPoint1D.hh.

25 {
26 return _valid;
27 }

◆ isValid() [2/2]

bool EvtPoint1D::isValid ( ) const
inline

Definition at line 24 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPoint1D.hh.

25 {
26 return _valid;
27 }

◆ print() [1/2]

void EvtPoint1D::print ( ) const

Definition at line 32 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPoint1D.cc.

33{
34 printf("%f (%f : %f)\n",_value,_min,_max);
35}

◆ print() [2/2]

void EvtPoint1D::print ( ) const

◆ value() [1/2]

double EvtPoint1D::value ( ) const
inline

◆ value() [2/2]

double EvtPoint1D::value ( ) const
inline

Definition at line 29 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPoint1D.hh.

30 {
31 return _value;
32 }

The documentation for this class was generated from the following files: