1 #ifndef __JSUPPORT__JLIMIT__
2 #define __JSUPPORT__JLIMIT__
22 namespace JPP {
using namespace JSUPPORT; }
42 public JRange<counter_type>,
86 return static_cast<const JLimit&
>(*this);
97 return static_cast<JLimit&
>(*this);
108 static_cast<JLimit&
>(*this) = limit;
130 return std::numeric_limits<counter_type>::max();
191 string::size_type pos = buffer.find(
SEPARATOR);
193 if (pos != string::npos) {
197 istringstream
is(buffer);
199 if (is >> static_cast<range_type&>(limit)) {
207 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.
JLimit(const counter_type lower, const counter_type upper)
Constructor.
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.
then fatal The output file must have the wildcard in the e g root fi eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
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.
JLimit & getLimit()
Get limit.
do set_variable MODULE getModule a detector datx L $STRING JEditDetector a detector datx M $MODULE setz o detector datx!done JEditDetector a detector datx r $FIXED_STRINGS[*] o detector datx!JMergeDetector a detector datx a detector_tmp datx o detector datx!JEditDetector a detector datx M lower((+60.0 *$PI/180.0))" -o detector.datx --! JEditTripod -f $TRIPOD -r "12" -o tripod.txt cat>acoustics_trigger_parameters.txt<<EOF Q = 0.0