Jpp  18.3.0-rc.1
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_seamuon Struct Reference

Phase space of atmospheric muon generation. More...

#include <JHead.hh>

Inheritance diagram for JAANET::cut_seamuon:
JAANET::cut

Public Member Functions

 ClassDefNV (cut_seamuon, 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 atmospheric muon generation.

Definition at line 439 of file JHead.hh.

Member Function Documentation

JAANET::cut_seamuon::ClassDefNV ( cut_seamuon  ,
 
)
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 384 of file JHead.hh.

385  {
386  if (E.getLowerLimit() == object.E.getLowerLimit()) {
387 
388  if (E.getUpperLimit() == object.E.getUpperLimit()) {
389 
390  if (cosT.getLowerLimit() == object.cosT.getLowerLimit()) {
391  return cosT.getUpperLimit() < object.cosT.getUpperLimit();
392  } else {
393  return cosT.getLowerLimit() < object.cosT.getLowerLimit();
394  }
395 
396  } else {
397 
398  return E.getUpperLimit() < object.E.getUpperLimit();
399  }
400 
401  } else {
402 
403  return E.getLowerLimit() < object.E.getLowerLimit();
404  }
405  }
T getLowerLimit() const
Get lower limit.
Definition: JRange.hh:202
JRange_t E
Energy range [GeV].
Definition: JHead.hh:419
T getUpperLimit() const
Get upper limit.
Definition: JRange.hh:213
JRange_t cosT
Cosine zenith angle range.
Definition: JHead.hh:420
bool JAANET::cut::match ( const cut object) const
inlineinherited

Test match.

Parameters
objectcut
Returns
true if matches; else false

Definition at line 413 of file JHead.hh.

414  {
415  return (E .equals(object.E) &&
416  cosT.equals(object.cosT));
417  }
bool equals(const range_type &range) const
Equal method.
Definition: JRange.hh:275
JRange_t E
Energy range [GeV].
Definition: JHead.hh:419
JRange_t cosT
Cosine zenith angle range.
Definition: JHead.hh:420
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 419 of file JHead.hh.

JRange_t JAANET::cut::cosT
inherited

Cosine zenith angle range.

Definition at line 420 of file JHead.hh.


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