Jpp 19.3.0-rc.2
the software that should make you happy
Loading...
Searching...
No Matches
JAANET::cut_nu Struct Reference

Phase space of incident neutrino. More...

#include <JHead.hh>

Inheritance diagram for JAANET::cut_nu:
JAANET::cut

Public Member Functions

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

Public Attributes

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

 

Detailed Description

Phase space of incident neutrino.

Definition at line 459 of file JHead.hh.

Member Function Documentation

◆ ClassDefNV() [1/2]

JAANET::cut_nu::ClassDefNV ( cut_nu ,
1  )

◆ less()

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
T getUpperLimit() const
Get upper limit.
Definition JRange.hh:213
JRange_t cosT
Cosine zenith angle range
Definition JHead.hh:420
JRange_t E
Energy range [GeV].
Definition JHead.hh:419

◆ match()

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
bool equals(const JFirst_t &first, const JSecond_t &second, const double precision=std::numeric_limits< double >::min())
Check equality.

◆ ClassDefNV() [2/2]

JAANET::cut::ClassDefNV ( cut ,
1  )
inherited

Member Data Documentation

◆ E

JRange_t JAANET::cut::E
inherited

Energy range [GeV].

Definition at line 419 of file JHead.hh.

◆ cosT

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: