Jpp  18.0.1-rc.2
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
JRECONSTRUCTION::JShowerEnergyPrefit::JResult Struct Reference

Auxiliary class for energy estimation. More...

#include <JShowerEnergyPrefit.hh>

Public Member Functions

 JResult (const JEnergy &x=0.0, const double chi2=std::numeric_limits< double >::max())
 Constructor. More...
 
 operator bool () const
 Type conversion. More...
 

Public Attributes

JEnergy x
 Energy. More...
 
double chi2
 chi2 More...
 

Detailed Description

Auxiliary class for energy estimation.

Definition at line 116 of file JShowerEnergyPrefit.hh.

Constructor & Destructor Documentation

JRECONSTRUCTION::JShowerEnergyPrefit::JResult::JResult ( const JEnergy x = 0.0,
const double  chi2 = std::numeric_limits<double>::max() 
)
inline

Constructor.

Parameters
xEnergy [log(E/GeV)]
chi2chi2

Definition at line 123 of file JShowerEnergyPrefit.hh.

125  {
126  this->x = x;
127  this->chi2 = chi2;
128  }

Member Function Documentation

JRECONSTRUCTION::JShowerEnergyPrefit::JResult::operator bool ( ) const
inline

Type conversion.

Returns
true if valid chi2; else false

Definition at line 135 of file JShowerEnergyPrefit.hh.

136  {
137  return chi2 != std::numeric_limits<double>::max();
138  }

Member Data Documentation

JEnergy JRECONSTRUCTION::JShowerEnergyPrefit::JResult::x

Energy.

Definition at line 140 of file JShowerEnergyPrefit.hh.

double JRECONSTRUCTION::JShowerEnergyPrefit::JResult::chi2

chi2

Definition at line 141 of file JShowerEnergyPrefit.hh.


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