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::spectrum Struct Reference

Neutrino energy spectrum. More...

#include <JHead.hh>

Public Member Functions

 spectrum ()
 Default constructor. More...
 
bool less (const spectrum &object) const
 Comparison. More...
 
bool match (const spectrum &object) const
 Test match. More...
 
 ClassDefNV (spectrum, 1)
 

Public Attributes

double alpha
 Energy spectrum: $ \Phi \propto E^{-\alpha} $. More...
 

Detailed Description

Neutrino energy spectrum.

Definition at line 470 of file JHead.hh.

Constructor & Destructor Documentation

JAANET::spectrum::spectrum ( )
inline

Default constructor.

Definition at line 474 of file JHead.hh.

474  :
475  alpha(0)
476  {}
double alpha
Energy spectrum: .
Definition: JHead.hh:500

Member Function Documentation

bool JAANET::spectrum::less ( const spectrum object) const
inline

Comparison.

Parameters
objectspectrum
Returns
true if this spectrum less than given spectrum; else false

Definition at line 484 of file JHead.hh.

485  {
486  return alpha < object.alpha;
487  }
double alpha
Energy spectrum: .
Definition: JHead.hh:500
bool JAANET::spectrum::match ( const spectrum object) const
inline

Test match.

Parameters
objectspectrum
Returns
true if matches; else false

Definition at line 495 of file JHead.hh.

496  {
497  return (alpha == object.alpha);
498  }
double alpha
Energy spectrum: .
Definition: JHead.hh:500
JAANET::spectrum::ClassDefNV ( spectrum  ,
 
)

Member Data Documentation

double JAANET::spectrum::alpha

Energy spectrum: $ \Phi \propto E^{-\alpha} $.

Definition at line 500 of file JHead.hh.


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