#include <GenericTnPFitter.h>
Public Member Functions | |
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="") |
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 ()=default |
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 category, mps_fire::i, instance, and verbose.
|
virtualdefault |
|
inline |
Definition at line 90 of file GenericTnPFitter.h.
References python.cmstools::all(), fit(), getChi2(), getEfficiency(), getEfficiencyError(), mass, pfMETCorrectionType0_cfi::par1, pfMETCorrectionType0_cfi::par2, L1TEGammaDiff_cfi::plotName, savePlot(), and mathSSE::sqrt().
|
inline |
Definition at line 199 of file GenericTnPFitter.h.
References python.cmstools::all(), fit(), getChi2(), getEfficiency(), getEfficiencyError(), mass, pfMETCorrectionType0_cfi::par1, L1TEGammaDiff_cfi::plotName, savePlot(), and mathSSE::sqrt().
|
pure virtual |
Implemented in dqmTnP::VoigtianPlusExponentialFitter, and dqmTnP::GaussianPlusLinearFitter.
Referenced by calculateEfficiency(), and trackingPlots.Iteration::modules().
|
inline |
Definition at line 76 of file GenericTnPFitter.h.
References chi2.
Referenced by calculateEfficiency().
|
inline |
Definition at line 74 of file GenericTnPFitter.h.
References efficiency.
Referenced by calculateEfficiency().
|
inline |
Definition at line 75 of file GenericTnPFitter.h.
References efficiency.
Referenced by calculateEfficiency().
|
inline |
Definition at line 77 of file GenericTnPFitter.h.
References category, data, amptDefault_cfi::frame, mass, SiStripClientConfig_Tier0_cff::Name, Skims_PA_cff::name, and simPdf.
Referenced by calculateEfficiency().
|
inline |
Definition at line 67 of file GenericTnPFitter.h.
References expectedMean, expectedSigma, mass, EgHLTOffHistBins_cfi::massHigh, and mean.
Referenced by DQMGenericTnPClient::calculateEfficiency().
|
protected |
Definition at line 36 of file GenericTnPFitter.h.
Referenced by AbstractFitter(), dqmTnP::GaussianPlusLinearFitter::fit(), dqmTnP::VoigtianPlusExponentialFitter::fit(), and savePlot().
|
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::removeElementFromSequencesTasksAndPaths(), confdb.HLTProcess::runL1Emulator(), savePlot(), 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(), dqmTnP::VoigtianPlusExponentialFitter::fit(), getEfficiency(), getEfficiencyError(), and objects.LeptonAnalyzer.LeptonAnalyzer::makeLeptons().
|
protected |
Definition at line 27 of file GenericTnPFitter.h.
Referenced by dqmTnP::GaussianPlusLinearFitter::fit(), dqmTnP::VoigtianPlusExponentialFitter::fit(), setup(), and dqmTnP::VoigtianPlusExponentialFitter::setup().
|
protected |
Definition at line 29 of file GenericTnPFitter.h.
Referenced by dqmTnP::GaussianPlusLinearFitter::fit(), dqmTnP::VoigtianPlusExponentialFitter::fit(), setup(), and dqmTnP::VoigtianPlusExponentialFitter::setup().
|
protected |
Definition at line 25 of file GenericTnPFitter.h.
Referenced by Particle.Particle::__str__(), ZMuMuRochCorAnalyzer.DiMuon::__str__(), DiObject.DiMuon::__str__(), calculateEfficiency(), dqmTnP::GaussianPlusLinearFitter::fit(), dqmTnP::VoigtianPlusExponentialFitter::fit(), savePlot(), setup(), and dqmTnP::VoigtianPlusExponentialFitter::setup().
|
protected |
Definition at line 26 of file GenericTnPFitter.h.
Referenced by dqmTnP::GaussianPlusLinearFitter::fit(), dqmTnP::VoigtianPlusExponentialFitter::fit(), setup(), 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 |
Definition at line 37 of file GenericTnPFitter.h.
Referenced by dqmTnP::GaussianPlusLinearFitter::fit(), dqmTnP::VoigtianPlusExponentialFitter::fit(), dqmTnP::GaussianPlusLinearFitter::GaussianPlusLinearFitter(), savePlot(), and dqmTnP::VoigtianPlusExponentialFitter::VoigtianPlusExponentialFitter().
|
protected |
Definition at line 40 of file GenericTnPFitter.h.
Referenced by AbstractFitter(), dqmTnP::GaussianPlusLinearFitter::fit(), dqmTnP::VoigtianPlusExponentialFitter::fit(), 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().