Jpp  18.2.1-ARCA-DF-PATCH
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::JMuonEnergy::JResult Struct Reference

Auxiliary class for energy estimation. More...

#include <JMuonEnergy.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 110 of file JMuonEnergy.hh.

Constructor & Destructor Documentation

JRECONSTRUCTION::JMuonEnergy::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 117 of file JMuonEnergy.hh.

119  {
120  this->x = x;
121  this->chi2 = chi2;
122  }

Member Function Documentation

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

Type conversion.

Returns
true if valid chi2; else false

Definition at line 129 of file JMuonEnergy.hh.

130  {
131  return chi2 != std::numeric_limits<double>::max();
132  }

Member Data Documentation

JEnergy JRECONSTRUCTION::JMuonEnergy::JResult::x

Energy.

Definition at line 134 of file JMuonEnergy.hh.

double JRECONSTRUCTION::JMuonEnergy::JResult::chi2

chi2

Definition at line 135 of file JMuonEnergy.hh.


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