CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
HistogramMean Class Reference

#include <CompMethods.h>

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.

69 {};
HistogramMean::~HistogramMean ( )
inline

Definition at line 70 of file CompMethods.h.

70 {};

Member Function Documentation

double HistogramMean::spread ( TH1F &  hist)
inline

Definition at line 73 of file CompMethods.h.

Referenced by FitHist::fillTargetHistogramBin().

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

Definition at line 74 of file CompMethods.h.

Referenced by FitHist::fillTargetHistogramBin().

74 { 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().

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

Definition at line 72 of file CompMethods.h.

Referenced by FitHist::fillTargetHistogramBin().

72 { return hist.GetMeanError(); };