1 #ifndef __JSUPPORT__JLIMIT__
2 #define __JSUPPORT__JLIMIT__
22 namespace JPP {
using namespace JSUPPORT; }
42 public JRange<counter_type>,
75 return static_cast<const JLimit&
>(*this);
86 return static_cast<JLimit&
>(*this);
97 static_cast<JLimit&
>(*this) = limit;
119 return std::numeric_limits<counter_type>::max();
180 string::size_type pos = buffer.find(
SEPARATOR);
182 if (pos != string::npos) {
186 istringstream
is(buffer);
188 if (is >> static_cast<range_type&>(limit)) {
196 istringstream
is(buffer);
bool less(const JLimit &limit) const
Compare limit.
JRange< counter_type > range_type
Type definition for counter for ROOT TTree and auxiliary methods.
static counter_type max()
Get maximum counter value.
Long64_t counter_type
Type definition for counter.
bool more(const counter_type counter) const
Compare counter.
JLimit JLimit_t
Type definition of limit.
JLimit()
Default constructor.
Auxiliary class for defining the range of iterations of objects.
static const char SEPARATOR
separator between values
friend std::istream & operator>>(std::istream &in, JLimit &limit)
Read limit from input.
Template definition of auxiliary base class for comparison of data structures.
bool less(const counter_type counter) const
Compare counter.
Auxiliary class to define a range between two values.
JLimit(const counter_type counter)
Constructor.
static counter_type min()
Get minimum counter value.
const JLimit & getLimit() const
Get limit.
void setLimit(const JLimit &limit)
Set limit.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
JLimit & getLimit()
Get limit.