#include <GenericTnPFitter.h>
Public Member Functions | |
void | fit (TH1 *pass, TH1 *all) override |
void | setup (double expectedMean_, double massLow, double massHigh, double expectedSigma_, double width_) |
VoigtianPlusExponentialFitter (bool verbose=false) | |
~VoigtianPlusExponentialFitter () override=default | |
Public Member Functions inherited from dqmTnP::AbstractFitter | |
AbstractFitter (bool verbose_=false) | |
TString | calculateEfficiency (TH3 *pass, TH3 *all, int massDimension, TProfile2D *&eff, TProfile2D *&effChi2, const TString &plotName="") |
TString | calculateEfficiency (TH2 *pass, TH2 *all, int massDimension, TProfile *&eff, TProfile *&effChi2, const TString &plotName="") |
double | getChi2 () |
double | getEfficiency () |
double | getEfficiencyError () |
void | savePlot (const TString &name) |
void | setup (double expectedMean_, double massLow, double massHigh, double expectedSigma_) |
virtual | ~AbstractFitter ()=default |
Protected Attributes | |
RooExponential | exponentialFail |
RooExponential | exponentialPass |
RooAddPdf | pdfFail |
RooAddPdf | pdfPass |
RooRealVar | slopeFail |
RooRealVar | slopePass |
RooVoigtian | voigtian |
RooRealVar | width |
Protected Attributes inherited from dqmTnP::AbstractFitter | |
RooCategory | category |
double | chi2 |
RooDataHist * | data |
RooRealVar | efficiency |
double | expectedMean |
double | expectedSigma |
RooRealVar | mass |
RooRealVar | mean |
RooRealVar | nBackgroundFail |
RooRealVar | nBackgroundPass |
RooRealVar | nSignalAll |
RooFormulaVar | nSignalFail |
RooFormulaVar | nSignalPass |
RooRealVar | sigma |
RooSimultaneous | simPdf |
bool | verbose |
Definition at line 334 of file GenericTnPFitter.h.
|
inline |
Definition at line 346 of file GenericTnPFitter.h.
References dqmTnP::AbstractFitter::simPdf, and ApeEstimator_cff::width.
|
overridedefault |
|
inlineoverridevirtual |
Implements dqmTnP::AbstractFitter.
Definition at line 371 of file GenericTnPFitter.h.
References python.cmstools::all(), dqmTnP::AbstractFitter::category, dqmTnP::AbstractFitter::chi2, dqmTnP::AbstractFitter::data, dqmTnP::AbstractFitter::efficiency, dqmTnP::AbstractFitter::expectedMean, dqmTnP::AbstractFitter::expectedSigma, dqmTnP::AbstractFitter::mass, dqmTnP::AbstractFitter::mean, dqmTnP::AbstractFitter::nBackgroundFail, dqmTnP::AbstractFitter::nBackgroundPass, dqmTnP::AbstractFitter::nSignalAll, dqmTnP::AbstractFitter::sigma, dqmTnP::AbstractFitter::simPdf, EcalTangentSkim_cfg::Verbose, and dqmTnP::AbstractFitter::verbose.
Referenced by trackingPlots.Iteration::modules().
|
inline |
Definition at line 364 of file GenericTnPFitter.h.
References dqmTnP::AbstractFitter::expectedMean, dqmTnP::AbstractFitter::expectedSigma, dqmTnP::AbstractFitter::mass, EgHLTOffHistBins_cfi::massHigh, dqmTnP::AbstractFitter::mean, and ApeEstimator_cff::width.
Referenced by DQMGenericTnPClient::calculateEfficiency().
|
protected |
Definition at line 339 of file GenericTnPFitter.h.
|
protected |
Definition at line 341 of file GenericTnPFitter.h.
|
protected |
Definition at line 342 of file GenericTnPFitter.h.
|
protected |
Definition at line 343 of file GenericTnPFitter.h.
|
protected |
Definition at line 338 of file GenericTnPFitter.h.
|
protected |
Definition at line 340 of file GenericTnPFitter.h.
|
protected |
Definition at line 337 of file GenericTnPFitter.h.
|
protected |
Definition at line 336 of file GenericTnPFitter.h.
Referenced by python.rootplot.utilities.Hist::__init_TGraph(), python.rootplot.root2matplotlib.Hist::bar(), python.rootplot.root2matplotlib.Hist::barh(), and python.rootplot.utilities.Hist::delete_bin().