Jpp  16.0.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::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 521 of file JHead.hh.

Constructor & Destructor Documentation

JAANET::spectrum::spectrum ( )
inline

Default constructor.

Definition at line 525 of file JHead.hh.

525  :
526  alpha(0)
527  {}
double alpha
Energy spectrum: .
Definition: JHead.hh:551

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 535 of file JHead.hh.

536  {
537  return alpha < object.alpha;
538  }
double alpha
Energy spectrum: .
Definition: JHead.hh:551
bool JAANET::spectrum::match ( const spectrum object) const
inline

Test match.

Parameters
objectspectrum
Returns
true if matches; else false

Definition at line 546 of file JHead.hh.

547  {
548  return (alpha == object.alpha);
549  }
double alpha
Energy spectrum: .
Definition: JHead.hh:551
JAANET::spectrum::ClassDefNV ( spectrum  ,
 
)

Member Data Documentation

double JAANET::spectrum::alpha

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

Definition at line 551 of file JHead.hh.


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