CMS 3D CMS Logo

Public Member Functions

HistogramMean Class Reference

#include <CompMethods.h>

List of all members.

Public Member Functions

 HistogramMean ()
double spread (TH1F &hist)
double spreadError (TH1F &hist)
double value (TH1F &hist)
double valueError (TH1F &hist)
 ~HistogramMean ()

Detailed Description

Definition at line 65 of file CompMethods.h.


Constructor & Destructor Documentation

HistogramMean::HistogramMean ( ) [inline]

Definition at line 69 of file CompMethods.h.

{};
HistogramMean::~HistogramMean ( ) [inline]

Definition at line 70 of file CompMethods.h.

{};

Member Function Documentation

double HistogramMean::spread ( TH1F &  hist) [inline]

Definition at line 73 of file CompMethods.h.

Referenced by FitHist::fillTargetHistogramBin().

{ return TMath::Sqrt(hist.GetRMS()); };
double HistogramMean::spreadError ( TH1F &  hist) [inline]

Definition at line 74 of file CompMethods.h.

Referenced by FitHist::fillTargetHistogramBin().

{ return hist.GetRMSError()/TMath::Sqrt(hist.GetRMS()); };
double HistogramMean::value ( TH1F &  hist) [inline]

Definition at line 71 of file CompMethods.h.

Referenced by FitHist::fillTargetHistogramBin().

{ return hist.GetMean(); };
double HistogramMean::valueError ( TH1F &  hist) [inline]

Definition at line 72 of file CompMethods.h.

Referenced by FitHist::fillTargetHistogramBin().

{ return hist.GetMeanError(); };