#include <GenericTnPFitter.h>
Public Member Functions | |
AbstractFitter (bool verbose_=false) | |
TString | calculateEfficiency (TH3 *pass, TH3 *all, int massDimension, TProfile2D *&eff, TProfile2D *&effChi2, TString plotName="") |
TString | calculateEfficiency (TH2 *pass, TH2 *all, int massDimension, TProfile *&eff, TProfile *&effChi2, TString plotName="") |
virtual void | fit (TH1 *num, TH1 *den)=0 |
double | getChi2 () |
double | getEfficiency () |
double | getEfficiencyError () |
void | savePlot (const TString &name) |
void | setup (double expectedMean_, double massLow, double massHigh, double expectedSigma_) |
virtual | ~AbstractFitter () |
Protected Attributes | |
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 23 of file GenericTnPFitter.h.
|
inline |
Definition at line 43 of file GenericTnPFitter.h.
References mps_fire::i, and instance.
|
inlinevirtual |
Definition at line 66 of file GenericTnPFitter.h.
|
inline |
Definition at line 90 of file GenericTnPFitter.h.
References fit(), getChi2(), getEfficiency(), getEfficiencyError(), diffTreeTool::index, RecoTauPiZeroBuilderPlugins_cfi::par1, savePlot(), and mathSSE::sqrt().
|
inline |
Definition at line 172 of file GenericTnPFitter.h.
References fit(), getChi2(), getEfficiency(), getEfficiencyError(), diffTreeTool::index, RecoTauPiZeroBuilderPlugins_cfi::par1, savePlot(), and mathSSE::sqrt().
|
pure virtual |
Implemented in dqmTnP::VoigtianPlusExponentialFitter, and dqmTnP::GaussianPlusLinearFitter.
Referenced by calculateEfficiency(), trackingPlots.Iteration::modules(), and setup().
|
inline |
Definition at line 76 of file GenericTnPFitter.h.
References chi2.
Referenced by calculateEfficiency().
|
inline |
|
inline |
|
inline |
Definition at line 77 of file GenericTnPFitter.h.
References globaldigis_analyze_cfi::Name.
Referenced by calculateEfficiency().
|
inline |
Definition at line 67 of file GenericTnPFitter.h.
References fit(), and pileupDistInMC::num.
Referenced by DQMGenericTnPClient::calculateEfficiency().
|
protected |
Definition at line 36 of file GenericTnPFitter.h.
Referenced by dqmTnP::GaussianPlusLinearFitter::fit(), and dqmTnP::VoigtianPlusExponentialFitter::fit().
|
protected |
Definition at line 39 of file GenericTnPFitter.h.
Referenced by dqmTnP::GaussianPlusLinearFitter::fit(), dqmTnP::VoigtianPlusExponentialFitter::fit(), and getChi2().
|
protected |
Definition at line 38 of file GenericTnPFitter.h.
Referenced by data_sources.node::__str__(), confdb.HLTProcess::_fix_parameter(), confdb.HLTProcess::addEras(), confdb.HLTProcess::addGlobalOptions(), confdb.HLTProcess::append_filenames(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), confdb.HLTProcess::build_source(), confdb.HLTProcess::customize(), confdb.HLTProcess::dump(), dqmTnP::GaussianPlusLinearFitter::fit(), dqmTnP::VoigtianPlusExponentialFitter::fit(), confdb.HLTProcess::fixPrescales(), data_sources.json_list::get_members(), confdb.HLTProcess::getRawConfigurationFromDB(), confdb.HLTProcess::instrumentDQM(), confdb.HLTProcess::instrumentOpenMode(), confdb.HLTProcess::instrumentTiming(), data_sources.json_list::last(), confdb.HLTProcess::loadAdditionalConditions(), confdb.HLTProcess::loadCff(), confdb.HLTProcess::loadSetupCff(), confdb.HLTProcess::overrideGlobalTag(), confdb.HLTProcess::overrideL1MenuXml(), confdb.HLTProcess::overrideOutput(), confdb.HLTProcess::overrideParameters(), confdb.HLTProcess::overrideProcessName(), confdb.HLTProcess::runL1Emulator(), confdb.HLTProcess::specificCustomize(), cuy.FindIssue::startElement(), edmStreamStallGrapher.Stack::update(), and confdb.HLTProcess::updateMessageLogger().
|
protected |
Definition at line 30 of file GenericTnPFitter.h.
Referenced by dqmTnP::GaussianPlusLinearFitter::fit(), and dqmTnP::VoigtianPlusExponentialFitter::fit().
|
protected |
Definition at line 27 of file GenericTnPFitter.h.
Referenced by dqmTnP::GaussianPlusLinearFitter::fit(), dqmTnP::VoigtianPlusExponentialFitter::fit(), and dqmTnP::VoigtianPlusExponentialFitter::setup().
|
protected |
Definition at line 29 of file GenericTnPFitter.h.
Referenced by dqmTnP::GaussianPlusLinearFitter::fit(), dqmTnP::VoigtianPlusExponentialFitter::fit(), and dqmTnP::VoigtianPlusExponentialFitter::setup().
|
protected |
Definition at line 25 of file GenericTnPFitter.h.
Referenced by Particle.Particle::__str__(), ZMuMuRochCorAnalyzer.DiMuon::__str__(), DiObject.DiMuon::__str__(), dqmTnP::GaussianPlusLinearFitter::fit(), dqmTnP::VoigtianPlusExponentialFitter::fit(), and dqmTnP::VoigtianPlusExponentialFitter::setup().
|
protected |
Definition at line 26 of file GenericTnPFitter.h.
Referenced by dqmTnP::GaussianPlusLinearFitter::fit(), dqmTnP::VoigtianPlusExponentialFitter::fit(), and dqmTnP::VoigtianPlusExponentialFitter::setup().
|
protected |
Definition at line 34 of file GenericTnPFitter.h.
Referenced by dqmTnP::GaussianPlusLinearFitter::fit(), and dqmTnP::VoigtianPlusExponentialFitter::fit().
|
protected |
Definition at line 35 of file GenericTnPFitter.h.
Referenced by dqmTnP::GaussianPlusLinearFitter::fit(), and dqmTnP::VoigtianPlusExponentialFitter::fit().
|
protected |
Definition at line 31 of file GenericTnPFitter.h.
Referenced by dqmTnP::GaussianPlusLinearFitter::fit(), and dqmTnP::VoigtianPlusExponentialFitter::fit().
|
protected |
Definition at line 33 of file GenericTnPFitter.h.
|
protected |
Definition at line 32 of file GenericTnPFitter.h.
|
protected |
Definition at line 28 of file GenericTnPFitter.h.
Referenced by dqmTnP::GaussianPlusLinearFitter::fit(), and dqmTnP::VoigtianPlusExponentialFitter::fit().
|
protected |
|
protected |
Definition at line 40 of file GenericTnPFitter.h.
Referenced by python.diff_provenance.difference::list_diff(), python.diffProv.difference::list_diff(), python.diff_provenance.difference::module_diff(), python.diffProv.difference::module_diff(), python.diff_provenance.difference::onefilemodules(), python.diffProv.difference::onefilemodules(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer::process(), core.SkimAnalyzerCount.SkimAnalyzerCount::process(), objects.VertexAnalyzer.VertexAnalyzer::process(), and confdbOfflineConverter.OfflineConverter::query().