Jpp  15.0.1-rc.1-highQE
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_primary Struct Reference

Phase space of primary particle. More...

#include <JHead.hh>

Inheritance diagram for JAANET::cut_primary:
JAANET::cut

Public Member Functions

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

Public Attributes

double Emin
 Minimal energy [GeV]. More...
 
double Emax
 Maximal energy [GeV]. More...
 
double cosTmin
 Minimal cosine zenith angle. More...
 
double cosTmax
 Maximal cosine zenith angle. More...
 

Detailed Description

Phase space of primary particle.

Definition at line 363 of file JHead.hh.

Member Function Documentation

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

316  {
317  if (Emin == object.Emin) {
318 
319  if (Emax == object.Emax) {
320 
321  if (cosTmin == object.cosTmin)
322  return cosTmax < object.cosTmax;
323  else
324  return cosTmin < object.cosTmin;
325 
326  } else {
327 
328  return Emax < object.Emax;
329  }
330 
331  } else {
332 
333  return Emin < object.Emin;
334  }
335  }
double Emax
Maximal energy [GeV].
Definition: JHead.hh:352
double cosTmax
Maximal cosine zenith angle.
Definition: JHead.hh:354
double Emin
Minimal energy [GeV].
Definition: JHead.hh:351
double cosTmin
Minimal cosine zenith angle.
Definition: JHead.hh:353
bool JAANET::cut::match ( const cut object) const
inlineinherited

Test match.

Parameters
objectcut
Returns
true if matches; else false

Definition at line 343 of file JHead.hh.

344  {
345  return (Emin == object.Emin &&
346  Emax == object.Emax &&
347  cosTmin == object.cosTmin &&
348  cosTmax == object.cosTmax);
349  }
double Emax
Maximal energy [GeV].
Definition: JHead.hh:352
double cosTmax
Maximal cosine zenith angle.
Definition: JHead.hh:354
double Emin
Minimal energy [GeV].
Definition: JHead.hh:351
double cosTmin
Minimal cosine zenith angle.
Definition: JHead.hh:353
JAANET::cut::ClassDefNV ( cut  ,
 
)
inherited

Member Data Documentation

double JAANET::cut::Emin
inherited

Minimal energy [GeV].

Definition at line 351 of file JHead.hh.

double JAANET::cut::Emax
inherited

Maximal energy [GeV].

Definition at line 352 of file JHead.hh.

double JAANET::cut::cosTmin
inherited

Minimal cosine zenith angle.

Definition at line 353 of file JHead.hh.

double JAANET::cut::cosTmax
inherited

Maximal cosine zenith angle.

Definition at line 354 of file JHead.hh.


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