Public Types | Public Member Functions | List of all members
lar::util::GaussianFit< T >::Value_t Struct Reference

< type of value and error More...

#include <SimpleFits.h>

Inheritance diagram for lar::util::GaussianFit< T >::Value_t:

Public Types

using Base_t = std::tuple< Data_t, Data_t >
 

Public Member Functions

 Value_t (Data_t v, Data_t e)
 
 Value_t (MeasurementAndUncertainty_t meas)
 
constexpr Data_t value () const
 
constexpr Data_t error () const
 
Data_tvalue ()
 
Data_terror ()
 

Detailed Description

template<typename T>
struct lar::util::GaussianFit< T >::Value_t

< type of value and error

Definition at line 1248 of file SimpleFits.h.

Member Typedef Documentation

template<typename T>
using lar::util::GaussianFit< T >::Value_t::Base_t = std::tuple<Data_t, Data_t>

Definition at line 1249 of file SimpleFits.h.

Constructor & Destructor Documentation

template<typename T>
lar::util::GaussianFit< T >::Value_t::Value_t ( Data_t  v,
Data_t  e 
)
inline

Definition at line 1251 of file SimpleFits.h.

1251 : Base_t(v, e) {}
std::tuple< Data_t, Data_t > Base_t
Definition: SimpleFits.h:1249
const double e
template<typename T>
lar::util::GaussianFit< T >::Value_t::Value_t ( MeasurementAndUncertainty_t  meas)
inline

Definition at line 1252 of file SimpleFits.h.

1252  :
1253  Base_t(std::get<1>(meas), std::get<2>(meas)) {}
std::tuple< Data_t, Data_t > Base_t
Definition: SimpleFits.h:1249

Member Function Documentation

template<typename T>
constexpr Data_t lar::util::GaussianFit< T >::Value_t::error ( ) const
inline

Definition at line 1256 of file SimpleFits.h.

1256 { return std::get<1>(*this); }
template<typename T>
Data_t& lar::util::GaussianFit< T >::Value_t::error ( )
inline

Definition at line 1259 of file SimpleFits.h.

1259 { return std::get<1>(*this); }
template<typename T>
constexpr Data_t lar::util::GaussianFit< T >::Value_t::value ( ) const
inline

Definition at line 1255 of file SimpleFits.h.

1255 { return std::get<0>(*this); }
template<typename T>
Data_t& lar::util::GaussianFit< T >::Value_t::value ( )
inline

Definition at line 1258 of file SimpleFits.h.

1258 { return std::get<0>(*this); }

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