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

Constructor & Destructor Documentation

◆ spectrum()

JAANET::spectrum::spectrum ( )
inline

Default constructor.

Definition at line 322 of file JHead.hh.

322  :
323  alpha(0)
324  {}

Member Function Documentation

◆ match()

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

Test match.

Parameters
objectspectrum
Returns
true if matches; else false

Definition at line 332 of file JHead.hh.

333  {
334  return (alpha == object.alpha);
335  }

◆ ClassDefNV()

JAANET::spectrum::ClassDefNV ( spectrum  ,
 
)

Member Data Documentation

◆ alpha

double JAANET::spectrum::alpha

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

Definition at line 337 of file JHead.hh.


The documentation for this struct was generated from the following file:
JAANET::spectrum::alpha
double alpha
Energy spectrum: .
Definition: JHead.hh:337