Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
JAANET::spectrum Struct Reference

Neutrino energy spectrum. More...

#include <JHead.hh>

Public Member Functions

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

Public Attributes

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

Detailed Description

Neutrino energy spectrum.

Definition at line 536 of file JHead.hh.

Constructor & Destructor Documentation

◆ spectrum()

JAANET::spectrum::spectrum ( )
inline

Default constructor.

Definition at line 540 of file JHead.hh.

540 :
541 alpha(0)
542 {}
double alpha
Energy spectrum: .
Definition JHead.hh:566

Member Function Documentation

◆ less()

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

551 {
552 return alpha < object.alpha;
553 }

◆ match()

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

Test match.

Parameters
objectspectrum
Returns
true if matches; else false

Definition at line 561 of file JHead.hh.

562 {
563 return (alpha == object.alpha);
564 }

◆ ClassDefNV()

JAANET::spectrum::ClassDefNV ( spectrum ,
1  )

Member Data Documentation

◆ alpha

double JAANET::spectrum::alpha

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

Definition at line 566 of file JHead.hh.


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