LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 1221 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 1222 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 1224 of file SimpleFits.h.

1224 : Base_t(v, e) {}
std::tuple< Data_t, Data_t > Base_t
Definition: SimpleFits.h:1222
Float_t e
Definition: plot.C:35
template<typename T>
lar::util::GaussianFit< T >::Value_t::Value_t ( MeasurementAndUncertainty_t  meas)
inline

Definition at line 1225 of file SimpleFits.h.

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

Member Function Documentation

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

Definition at line 1228 of file SimpleFits.h.

Referenced by lar::util::GaussianFit< T >::add(), lar::util::GaussianFit< T >::DecodeValue(), and lar::util::GaussianFit< T >::EncodeValue().

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

Definition at line 1231 of file SimpleFits.h.

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

Definition at line 1227 of file SimpleFits.h.

Referenced by lar::util::GaussianFit< T >::add(), lar::util::GaussianFit< T >::DecodeValue(), and lar::util::GaussianFit< T >::EncodeValue().

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

Definition at line 1230 of file SimpleFits.h.

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

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