Go to the documentation of this file. 1 #ifndef __JTOOLS__JGRIDCOLLECTION__
2 #define __JTOOLS__JGRIDCOLLECTION__
29 template<
class JElement_t,
class JDistance_t = JDistance<
typename JElement_t::abscissa_type> >
68 return (
int) ((this->size() - 1) * (x - this->begin()->getX()) / (this->rbegin()->getX() - this->begin()->getX()));
84 else if (index >= (
int) this->size())
87 return this->begin() + index;
102 return this->begin();
103 else if (index >= (
int) this->size())
106 return this->begin() + index;
JArgument< T >::argument_type argument_type
Template for generic class types.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).