ATLAS Offline Software
Loading...
Searching...
No Matches
rmsFrac.h
Go to the documentation of this file.
1/* emacs: this is -*- c++ -*- */
10
11
12#ifndef RMSFRAC_H
13#define RMSFRAC_H
14
15#include "TH1D.h"
16#include "TF1.h"
17
18namespace generate {
19
20double findMean(TH1D* s, double frac);
21
22double rmsFrac(TH1D* s, double frac, double mean);
23double rmsFrac(TH1D* s, double frac);
24
27double rms95(TH1D* s, double mean);
28double rms95(TH1D* s);
29
30
31double GetEntries(TH1D* h, int ilow, int ihi);
32double GetEntries(TH1D* h);
33
34}
35
36#endif
void mean(std::vector< double > &bins, std::vector< double > &values, const std::vector< std::string > &files, const std::string &histname, const std::string &tplotname, const std::string &label="")
const double frac
Definition generate.cxx:295
double rms95(TH1D *s, double mean)
get the fraction of the rms95 value with respect to the rms95 value of a gaussian
Definition rmsFrac.cxx:285
double GetEntries(TH1D *h, int ilow, int ihi)
Definition rmsFrac.cxx:20
double findMean(TH1D *s, double frac=0.95)
Definition rmsFrac.cxx:84
double rmsFrac(TH1D *s, double frac, double mean)
Definition rmsFrac.cxx:193