#include <EnsembleSpectrum.h>
Public Member Functions | |
| EnsembleSpectrum (SpectrumLoaderBase &loader, const HistAxis &axis, const SpillCut &spillcut, const Cut &cut, const std::vector< SystShifts > &univ_shifts, const Var &cv_wei=kUnweighted) | |
| EnsembleSpectrum (SpectrumLoaderBase &loader, const HistAxis &axis, const SpillCut &spillcut, const Cut &cut, const std::vector< Var > &univ_weis, const Var &cv_wei=kUnweighted) | |
| Spectrum | Nominal () const |
| unsigned int | NUniverses () const |
| Spectrum | Universe (unsigned int i) const |
| double | POT () const |
| double | Livetime () const |
| TGraphAsymmErrors * | ErrorBand (double exposure, EExposureType expotype=kPOT, EBinType bintype=kBinContent) const |
| Result can be painted prettily with DrawErrorBand. More... | |
| void | Scale (double c) |
| EnsembleSpectrum & | operator+= (const EnsembleSpectrum &rhs) |
| EnsembleSpectrum | operator+ (const EnsembleSpectrum &rhs) const |
| EnsembleSpectrum & | operator-= (const EnsembleSpectrum &rhs) |
| EnsembleSpectrum | operator- (const EnsembleSpectrum &rhs) const |
| EnsembleSpectrum & | operator*= (const EnsembleRatio &rhs) |
| EnsembleSpectrum | operator* (const EnsembleRatio &rhs) const |
| EnsembleSpectrum & | operator/= (const EnsembleRatio &rhs) |
| EnsembleSpectrum | operator/ (const EnsembleRatio &rhs) const |
| void | SaveTo (TDirectory *dir) const |
| unsigned int | NDimensions () const |
| std::vector< std::string > | GetLabels () const |
| std::vector< Binning > | GetBinnings () const |
Static Public Member Functions | |
| static std::unique_ptr < EnsembleSpectrum > | LoadFrom (TDirectory *dir) |
Protected Member Functions | |
| EnsembleSpectrum (const Spectrum &nom) | |
Protected Attributes | |
| Spectrum | fNom |
| std::vector< Spectrum > | fUnivs |
Definition at line 16 of file EnsembleSpectrum.h.
| ana::EnsembleSpectrum::EnsembleSpectrum | ( | SpectrumLoaderBase & | loader, |
| const HistAxis & | axis, | ||
| const SpillCut & | spillcut, | ||
| const Cut & | cut, | ||
| const std::vector< SystShifts > & | univ_shifts, | ||
| const Var & | cv_wei = kUnweighted |
||
| ) |
Definition at line 14 of file EnsembleSpectrum.cxx.
| ana::EnsembleSpectrum::EnsembleSpectrum | ( | SpectrumLoaderBase & | loader, |
| const HistAxis & | axis, | ||
| const SpillCut & | spillcut, | ||
| const Cut & | cut, | ||
| const std::vector< Var > & | univ_weis, | ||
| const Var & | cv_wei = kUnweighted |
||
| ) |
Definition at line 29 of file EnsembleSpectrum.cxx.
|
inlineprotected |
Definition at line 72 of file EnsembleSpectrum.h.
| TGraphAsymmErrors * ana::EnsembleSpectrum::ErrorBand | ( | double | exposure, |
| EExposureType | expotype = kPOT, |
||
| EBinType | bintype = kBinContent |
||
| ) | const |
Result can be painted prettily with DrawErrorBand.
Definition at line 44 of file EnsembleSpectrum.cxx.
|
inline |
Definition at line 69 of file EnsembleSpectrum.h.
|
inline |
Definition at line 68 of file EnsembleSpectrum.h.
|
inline |
Definition at line 43 of file EnsembleSpectrum.h.
|
static |
Definition at line 175 of file EnsembleSpectrum.cxx.
|
inline |
Definition at line 67 of file EnsembleSpectrum.h.
|
inline |
Definition at line 33 of file EnsembleSpectrum.h.
|
inline |
Definition at line 34 of file EnsembleSpectrum.h.
| EnsembleSpectrum ana::EnsembleSpectrum::operator* | ( | const EnsembleRatio & | rhs | ) | const |
Definition at line 134 of file EnsembleSpectrum.cxx.
| EnsembleSpectrum & ana::EnsembleSpectrum::operator*= | ( | const EnsembleRatio & | rhs | ) |
Definition at line 125 of file EnsembleSpectrum.cxx.
| EnsembleSpectrum ana::EnsembleSpectrum::operator+ | ( | const EnsembleSpectrum & | rhs | ) | const |
Definition at line 100 of file EnsembleSpectrum.cxx.
| EnsembleSpectrum & ana::EnsembleSpectrum::operator+= | ( | const EnsembleSpectrum & | rhs | ) |
Definition at line 91 of file EnsembleSpectrum.cxx.
| EnsembleSpectrum ana::EnsembleSpectrum::operator- | ( | const EnsembleSpectrum & | rhs | ) | const |
Definition at line 117 of file EnsembleSpectrum.cxx.
| EnsembleSpectrum & ana::EnsembleSpectrum::operator-= | ( | const EnsembleSpectrum & | rhs | ) |
Definition at line 108 of file EnsembleSpectrum.cxx.
| EnsembleSpectrum ana::EnsembleSpectrum::operator/ | ( | const EnsembleRatio & | rhs | ) | const |
Definition at line 151 of file EnsembleSpectrum.cxx.
| EnsembleSpectrum & ana::EnsembleSpectrum::operator/= | ( | const EnsembleRatio & | rhs | ) |
Definition at line 142 of file EnsembleSpectrum.cxx.
|
inline |
Definition at line 41 of file EnsembleSpectrum.h.
| void ana::EnsembleSpectrum::SaveTo | ( | TDirectory * | dir | ) | const |
Definition at line 159 of file EnsembleSpectrum.cxx.
| void ana::EnsembleSpectrum::Scale | ( | double | c | ) |
Definition at line 84 of file EnsembleSpectrum.cxx.
|
inline |
Definition at line 35 of file EnsembleSpectrum.h.
|
protected |
Definition at line 74 of file EnsembleSpectrum.h.
|
protected |
Definition at line 75 of file EnsembleSpectrum.h.
1.8.5