General purpose class of phase space generation.
More...
#include <JHead.hh>
|
| cut () |
| Default constructor.
|
|
| cut (const JRange_t &_E, const JRange_t &_cosT) |
| Constructor.
|
|
| cut (const double Emin, const double Emax, const double cosTmin, const double cosTmax) |
| Constructor.
|
|
bool | less (const cut &object) const |
| Comparison.
|
|
bool | match (const cut &object) const |
| Test match.
|
|
| ClassDefNV (cut, 1) |
|
General purpose class of phase space generation.
Definition at line 341 of file JHead.hh.
◆ cut() [1/3]
Default constructor.
Definition at line 345 of file JHead.hh.
345 :
348 {}
JRange_t cosT
Cosine zenith angle range
JRange_t E
Energy range [GeV].
◆ cut() [2/3]
Constructor.
- Parameters
-
_E | energy range |
_cosT | cosine zenith angle range |
Definition at line 356 of file JHead.hh.
◆ cut() [3/3]
JAANET::cut::cut |
( |
const double | Emin, |
|
|
const double | Emax, |
|
|
const double | cosTmin, |
|
|
const double | cosTmax ) |
|
inline |
Constructor.
- Parameters
-
Emin | energy range lower bound |
Emax | energy range upper bound |
cosTmin | cosine zenith angle lower bound |
cosTmax | cosine zenith angle upper bound |
Definition at line 370 of file JHead.hh.
373 :
375 cosT(cosTmin, cosTmax)
376 {}
◆ less()
bool JAANET::cut::less |
( |
const cut & | object | ) |
const |
|
inline |
Comparison.
- Parameters
-
- Returns
- true if this cut less than given cut; else false
Definition at line 384 of file JHead.hh.
385 {
387
389
392 } else {
394 }
395
396 } else {
397
399 }
400
401 } else {
402
404 }
405 }
◆ match()
bool JAANET::cut::match |
( |
const cut & | object | ) |
const |
|
inline |
Test match.
- Parameters
-
- Returns
- true if matches; else false
Definition at line 413 of file JHead.hh.
414 {
417 }
bool equals(const JFirst_t &first, const JSecond_t &second, const double precision=std::numeric_limits< double >::min())
Check equality.
◆ ClassDefNV()
JAANET::cut::ClassDefNV |
( |
cut | , |
|
|
1 | ) |
Energy range [GeV].
Definition at line 419 of file JHead.hh.
◆ cosT
Cosine zenith angle range
Definition at line 420 of file JHead.hh.
The documentation for this struct was generated from the following file: