ant
A2 ant: class-based analysis framework
N_t Struct Reference

Public Member Functions

 N_t (const RooRealVar &var)
 
 N_t (double v=0, double s=0)
 
template<std::size_t N>
std::tuple< double & > linkFitter () noexcept
 

Static Public Member Functions

static N_t fromIntegral (const TH1D &h)
 
static N_t fromBin (const TH1D &h, int bin)
 

Public Attributes

double Value
 
double Sigma
 
double Pull = std_ext::NaN
 

Friends

ostream & operator<< (ostream &s, const N_t &o)
 

Constructor & Destructor Documentation

◆ N_t() [1/2]

N_t::N_t ( const RooRealVar &  var)
inlineexplicit

◆ N_t() [2/2]

N_t::N_t ( double  v = 0,
double  s = 0 
)
inlineexplicit

Member Function Documentation

◆ fromBin()

static N_t N_t::fromBin ( const TH1D &  h,
int  bin 
)
inlinestatic

◆ fromIntegral()

static N_t N_t::fromIntegral ( const TH1D &  h)
inlinestatic
Todo:
check if binwidth is taken into account correctly

◆ linkFitter()

template<std::size_t N>
std::tuple<double&> N_t::linkFitter ( )
inlinenoexcept

Friends And Related Function Documentation

◆ operator<<

ostream& operator<< ( ostream &  s,
const N_t o 
)
friend

Member Data Documentation

◆ Pull

double N_t::Pull = std_ext::NaN

◆ Sigma

double N_t::Sigma

◆ Value

double N_t::Value

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