Public Member Functions | Public Attributes | List of all members
lar::example::ShowerCalibrationGalore::Correction_t Struct Reference

A correction factor with global uncertainty. More...

#include <ShowerCalibrationGalore.h>

Public Member Functions

 Correction_t (float val=1., float err=0.)
 
bool operator== (Correction_t const &as) const
 
bool operator!= (Correction_t const &as) const
 

Public Attributes

float factor
 correction factor More...
 
float error
 correction factor uncertainty More...
 

Detailed Description

A correction factor with global uncertainty.

Definition at line 51 of file ShowerCalibrationGalore.h.

Constructor & Destructor Documentation

lar::example::ShowerCalibrationGalore::Correction_t::Correction_t ( float  val = 1.,
float  err = 0. 
)
inline

Definition at line 55 of file ShowerCalibrationGalore.h.

56  : factor(val), error(err)
57  {}
void err(const char *fmt,...)
Definition: message.cpp:226

Member Function Documentation

bool lar::example::ShowerCalibrationGalore::Correction_t::operator!= ( Correction_t const &  as) const
inline

Definition at line 61 of file ShowerCalibrationGalore.h.

62  { return (factor != as.factor) || (error != as.error); }
error
Definition: include.cc:26
static constexpr double as
Definition: Units.h:101
bool lar::example::ShowerCalibrationGalore::Correction_t::operator== ( Correction_t const &  as) const
inline

Definition at line 59 of file ShowerCalibrationGalore.h.

60  { return (factor == as.factor) && (error == as.error); }
error
Definition: include.cc:26
static constexpr double as
Definition: Units.h:101

Member Data Documentation

float lar::example::ShowerCalibrationGalore::Correction_t::error

correction factor uncertainty

Definition at line 53 of file ShowerCalibrationGalore.h.

float lar::example::ShowerCalibrationGalore::Correction_t::factor

correction factor

Definition at line 52 of file ShowerCalibrationGalore.h.


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