Jpp test-rotations-new
the software that should make you happy
Loading...
Searching...
No Matches
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.
 
 operator bool () const
 Type conversion.
 

Public Attributes

JEnergy x
 Energy

 
double chi2
 chi2

 

Detailed Description

Auxiliary class for energy estimation.


Definition at line 189 of file JMuonEnergy.hh.

Constructor & Destructor Documentation

◆ JResult()

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 196 of file JMuonEnergy.hh.

198 {
199 this->x = x;
200 this->chi2 = chi2;
201 }

Member Function Documentation

◆ operator bool()

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

Type conversion.


Returns
true if valid chi2; else false

Definition at line 208 of file JMuonEnergy.hh.

209 {
210 return chi2 != std::numeric_limits<double>::max();
211 }

Member Data Documentation

◆ x

JEnergy JRECONSTRUCTION::JMuonEnergy::JResult::x

Energy

Definition at line 213 of file JMuonEnergy.hh.

◆ chi2

double JRECONSTRUCTION::JMuonEnergy::JResult::chi2

chi2

Definition at line 214 of file JMuonEnergy.hh.


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