Jpp  18.0.1-rc.2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
JAANET::cut_in Struct Reference

Phase space of incoming particle. More...

#include <JHead.hh>

Inheritance diagram for JAANET::cut_in:
JAANET::cut

Public Member Functions

 ClassDefNV (cut_in, 1)
 
bool less (const cut &object) const
 Comparison. More...
 
bool match (const cut &object) const
 Test match. More...
 
 ClassDefNV (cut, 1)
 

Public Attributes

JRange_t E
 Energy range [GeV]. More...
 
JRange_t cosT
 Cosine zenith angle range. More...
 

Detailed Description

Phase space of incoming particle.

Definition at line 436 of file JHead.hh.

Member Function Documentation

JAANET::cut_in::ClassDefNV ( cut_in  ,
 
)
bool JAANET::cut::less ( const cut object) const
inlineinherited

Comparison.

Parameters
objectcut
Returns
true if this cut less than given cut; else false

Definition at line 371 of file JHead.hh.

372  {
373  if (E.getLowerLimit() == object.E.getLowerLimit()) {
374 
375  if (E.getUpperLimit() == object.E.getUpperLimit()) {
376 
377  if (cosT.getLowerLimit() == object.cosT.getLowerLimit()) {
378  return cosT.getUpperLimit() < object.cosT.getUpperLimit();
379  } else {
380  return cosT.getLowerLimit() < object.cosT.getLowerLimit();
381  }
382 
383  } else {
384 
385  return E.getUpperLimit() < object.E.getUpperLimit();
386  }
387 
388  } else {
389 
390  return E.getLowerLimit() < object.E.getLowerLimit();
391  }
392  }
T getLowerLimit() const
Get lower limit.
Definition: JRange.hh:202
JRange_t E
Energy range [GeV].
Definition: JHead.hh:406
T getUpperLimit() const
Get upper limit.
Definition: JRange.hh:213
JRange_t cosT
Cosine zenith angle range.
Definition: JHead.hh:407
bool JAANET::cut::match ( const cut object) const
inlineinherited

Test match.

Parameters
objectcut
Returns
true if matches; else false

Definition at line 400 of file JHead.hh.

401  {
402  return (E .equals(object.E) &&
403  cosT.equals(object.cosT));
404  }
bool equals(const range_type &range) const
Equal method.
Definition: JRange.hh:275
JRange_t E
Energy range [GeV].
Definition: JHead.hh:406
JRange_t cosT
Cosine zenith angle range.
Definition: JHead.hh:407
bool equals(const JFirst_t &first, const JSecond_t &second, const double precision=std::numeric_limits< double >::min())
Check equality.
Definition: JMathToolkit.hh:86
JAANET::cut::ClassDefNV ( cut  ,
 
)
inherited

Member Data Documentation

JRange_t JAANET::cut::E
inherited

Energy range [GeV].

Definition at line 406 of file JHead.hh.

JRange_t JAANET::cut::cosT
inherited

Cosine zenith angle range.

Definition at line 407 of file JHead.hh.


The documentation for this struct was generated from the following file: