Public Member Functions | |
RooRealVar * | a0 () |
RooRealVar * | a1 () |
RooRealVar * | a2 () |
RooRealVar * | a3 () |
RooRealVar * | a4 () |
RooRealVar * | a5 () |
RooRealVar * | a6 () |
RooRealVar * | alpha () |
RooAbsPdf * | buildBackgroundModel (RooRealVar *x, const TString &backgroundType) |
Build the model for the specified background type. More... | |
RooAbsPdf * | buildModel (RooRealVar *x, const TString &signalType, const TString &backgroundType) |
Build the model to fit. More... | |
RooAbsPdf * | buildSignalModel (RooRealVar *x, const TString &signalType) |
Build the model for the specified signal type. More... | |
RooRealVar * | expCoeffa0 () |
RooRealVar * | expCoeffa1 () |
RooRealVar * | expCoeffa2 () |
RooRealVar * | fGCB () |
void | fit (TH1 *histo, const TString signalType, const TString backgroundType, const double &xMin=0., const double &xMax=0., bool sumW2Error=false) |
FitWithRooFit () | |
RooRealVar * | fsig () |
RooRealVar * | gamma () |
RooRealVar * | gaussFrac () |
RooRealVar * | gaussFrac2 () |
rooPair | importTH1 (TH1 *histo, const double &inputXmin, const double &inputXmax) |
void | initA0 (const double &value, const double &min, const double &max, const TString &name="a0", const TString &title="a0") |
void | initA1 (const double &value, const double &min, const double &max, const TString &name="a1", const TString &title="a1") |
void | initA2 (const double &value, const double &min, const double &max, const TString &name="a2", const TString &title="a2") |
void | initA3 (const double &value, const double &min, const double &max, const TString &name="a3", const TString &title="a3") |
void | initA4 (const double &value, const double &min, const double &max, const TString &name="a4", const TString &title="a4") |
void | initA5 (const double &value, const double &min, const double &max, const TString &name="a5", const TString &title="a5") |
void | initA6 (const double &value, const double &min, const double &max, const TString &name="a6", const TString &title="a6") |
void | initAlpha (const double &value, const double &min, const double &max, const TString &name="alpha", const TString &title="alpha") |
void | initExpCoeffA0 (const double &value, const double &min, const double &max, const TString &name="expCoeffa0", const TString &title="expCoeffa0") |
void | initExpCoeffA1 (const double &value, const double &min, const double &max, const TString &name="expCoeffa1", const TString &title="expCoeffa1") |
void | initExpCoeffA2 (const double &value, const double &min, const double &max, const TString &name="expCoeffa2", const TString &title="expCoeffa2") |
void | initFGCB (const double &value, const double &min, const double &max, const TString &name="fGCB", const TString &title="fGCB") |
void | initFsig (const double &value, const double &min, const double &max, const TString &name="fsig", const TString &title="signal fraction") |
void | initGamma (const double &value, const double &min, const double &max, const TString &name="gamma", const TString &title="gamma") |
void | initGaussFrac (const double &value, const double &min, const double &max, const TString &name="GaussFrac", const TString &title="GaussFrac") |
void | initGaussFrac2 (const double &value, const double &min, const double &max, const TString &name="GaussFrac2", const TString &title="GaussFrac2") |
void | initMean (const double &value, const double &min, const double &max, const TString &name="mean", const TString &title="mean") |
void | initMean2 (const double &value, const double &min, const double &max, const TString &name="mean2", const TString &title="mean2") |
void | initMean3 (const double &value, const double &min, const double &max, const TString &name="mean3", const TString &title="mean3") |
void | initN (const double &value, const double &min, const double &max, const TString &name="n", const TString &title="n") |
void | initSigma (const double &value, const double &min, const double &max, const TString &name="sigma", const TString &title="sigma") |
void | initSigma2 (const double &value, const double &min, const double &max, const TString &name="sigma2", const TString &title="sigma2") |
void | initSigma3 (const double &value, const double &min, const double &max, const TString &name="sigma3", const TString &title="sigma3") |
RooRealVar * | mean () |
RooRealVar * | mean2 () |
RooRealVar * | mean3 () |
RooRealVar * | n () |
void | reinitializeParameters () |
RooRealVar * | sigma () |
RooRealVar * | sigma2 () |
RooRealVar * | sigma3 () |
Public Attributes | |
bool | useChi2_ |
Protected Attributes | |
RooRealVar * | a0_ |
RooRealVar * | a1_ |
RooRealVar * | a2_ |
RooRealVar * | a3_ |
RooRealVar * | a4_ |
RooRealVar * | a5_ |
RooRealVar * | a6_ |
RooRealVar * | alpha_ |
RooRealVar * | expCoeffa0_ |
RooRealVar * | expCoeffa1_ |
RooRealVar * | expCoeffa2_ |
RooRealVar * | fGCB_ |
RooRealVar * | fsig_ |
RooRealVar * | gamma_ |
RooRealVar * | gaussFrac2_ |
RooRealVar * | gaussFrac_ |
double | initVal_a0 |
double | initVal_a1 |
double | initVal_a2 |
double | initVal_a3 |
double | initVal_a4 |
double | initVal_a5 |
double | initVal_a6 |
double | initVal_alpha |
double | initVal_expCoeffa0 |
double | initVal_expCoeffa1 |
double | initVal_expCoeffa2 |
double | initVal_fGCB |
double | initVal_fsig |
double | initVal_gamma |
double | initVal_gaussFrac |
double | initVal_gaussFrac2 |
double | initVal_mean |
double | initVal_mean2 |
double | initVal_mean3 |
double | initVal_n |
double | initVal_sigma |
double | initVal_sigma2 |
double | initVal_sigma3 |
RooRealVar * | mean2_ |
RooRealVar * | mean3_ |
RooRealVar * | mean_ |
RooRealVar * | n_ |
RooRealVar * | sigma2_ |
RooRealVar * | sigma3_ |
RooRealVar * | sigma_ |
Definition at line 51 of file FitWithRooFit.cc.
|
inline |
Definition at line 53 of file FitWithRooFit.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Build the model for the specified background type.
Definition at line 631 of file FitWithRooFit.cc.
References a0_, a1_, a2_, a3_, a4_, a5_, a6_, gather_cfg::cout, beamvalidation::exit(), expCoeffa0_, expCoeffa1_, expCoeffa2_, fsig_, and x.
Referenced by buildModel().
|
inline |
Build the model to fit.
Definition at line 699 of file FitWithRooFit.cc.
References buildBackgroundModel(), buildSignalModel(), gather_cfg::cout, beamvalidation::exit(), fsig_, ReggeGribovPartonMC_EposLHC_2760GeV_PbPb_cfi::model, and x.
Referenced by fit().
|
inline |
Build the model for the specified signal type.
Definition at line 479 of file FitWithRooFit.cc.
References alpha_, gather_cfg::cout, beamvalidation::exit(), fGCB_, gamma_, gaussFrac2_, gaussFrac_, mean2_, mean3_, mean_, n_, sigma2_, sigma3_, sigma_, and x.
Referenced by buildModel().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 94 of file FitWithRooFit.cc.
References buildModel(), hltPixelTracks_cff::chi2, gather_cfg::cout, cuy::dh, timingPdfMaker::histo, importTH1(), DataMixerDataOnData_cff::Label, visualization-live-secondInstance_cfg::m, ReggeGribovPartonMC_EposLHC_2760GeV_PbPb_cfi::model, reinitializeParameters(), useChi2_, x, multiplicitycorr_cfi::xMax, and photonAnalyzer_cfi::xMin.
Referenced by trackingPlots.Iteration::modules(), and ZMassBinFit_OldTool().
|
inline |
|
inline |
Definition at line 460 of file FitWithRooFit.cc.
References gamma_.
Referenced by ZMassBinFit_OldTool().
|
inline |
|
inline |
|
inline |
Definition at line 80 of file FitWithRooFit.cc.
References timingPdfMaker::histo, x, multiplicitycorr_cfi::xMax, and photonAnalyzer_cfi::xMin.
Referenced by fit().
|
inline |
Definition at line 304 of file FitWithRooFit.cc.
References a0_, initVal_a0, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 314 of file FitWithRooFit.cc.
References a1_, initVal_a1, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 324 of file FitWithRooFit.cc.
References a2_, initVal_a2, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 334 of file FitWithRooFit.cc.
References a3_, initVal_a3, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 344 of file FitWithRooFit.cc.
References a4_, initVal_a4, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 354 of file FitWithRooFit.cc.
References a5_, initVal_a5, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 364 of file FitWithRooFit.cc.
References a6_, initVal_a6, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 374 of file FitWithRooFit.cc.
References alpha_, initVal_alpha, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 264 of file FitWithRooFit.cc.
References expCoeffa0_, initVal_expCoeffa0, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 274 of file FitWithRooFit.cc.
References expCoeffa1_, initVal_expCoeffa1, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 284 of file FitWithRooFit.cc.
References expCoeffa2_, initVal_expCoeffa2, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 394 of file FitWithRooFit.cc.
References fGCB_, initVal_fGCB, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 294 of file FitWithRooFit.cc.
References fsig_, initVal_fsig, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 234 of file FitWithRooFit.cc.
References gamma_, initVal_gamma, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 244 of file FitWithRooFit.cc.
References gaussFrac_, initVal_gaussFrac, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
|
inline |
Definition at line 254 of file FitWithRooFit.cc.
References gaussFrac2_, initVal_gaussFrac2, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
|
inline |
Definition at line 174 of file FitWithRooFit.cc.
References initVal_mean, SiStripPI::max, mean_, SiStripPI::min, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 184 of file FitWithRooFit.cc.
References initVal_mean2, SiStripPI::max, mean2_, SiStripPI::min, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 194 of file FitWithRooFit.cc.
References initVal_mean3, SiStripPI::max, mean3_, SiStripPI::min, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
|
inline |
Definition at line 384 of file FitWithRooFit.cc.
References initVal_n, SiStripPI::max, SiStripPI::min, n_, Skims_PA_cff::name, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 204 of file FitWithRooFit.cc.
References initVal_sigma, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, sigma_, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 214 of file FitWithRooFit.cc.
References initVal_sigma2, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, sigma2_, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 224 of file FitWithRooFit.cc.
References initVal_sigma3, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, sigma3_, runGCPTkAlMap::title, and relativeConstraints::value.
|
inline |
Definition at line 454 of file FitWithRooFit.cc.
References mean_.
Referenced by ZMassBinFit_OldTool().
|
inline |
Definition at line 455 of file FitWithRooFit.cc.
References mean2_.
Referenced by ZMassBinFit_OldTool().
|
inline |
|
inline |
|
inline |
Definition at line 405 of file FitWithRooFit.cc.
References a0_, a1_, a2_, a3_, a4_, a5_, a6_, alpha_, expCoeffa0_, expCoeffa1_, expCoeffa2_, fGCB_, fsig_, gamma_, gaussFrac2_, gaussFrac_, initVal_a0, initVal_a1, initVal_a2, initVal_a3, initVal_a4, initVal_a5, initVal_a6, initVal_alpha, initVal_expCoeffa0, initVal_expCoeffa1, initVal_expCoeffa2, initVal_fGCB, initVal_fsig, initVal_gamma, initVal_gaussFrac, initVal_gaussFrac2, initVal_mean, initVal_mean2, initVal_mean3, initVal_n, initVal_sigma, initVal_sigma2, initVal_sigma3, mean2_, mean3_, mean_, n_, sigma2_, sigma3_, and sigma_.
Referenced by fit().
|
inline |
Definition at line 457 of file FitWithRooFit.cc.
References sigma_.
Referenced by ZMassBinFit_OldTool().
|
inline |
|
inline |
|
protected |
Definition at line 739 of file FitWithRooFit.cc.
Referenced by a0(), buildBackgroundModel(), initA0(), and reinitializeParameters().
|
protected |
Definition at line 740 of file FitWithRooFit.cc.
Referenced by a1(), buildBackgroundModel(), initA1(), and reinitializeParameters().
|
protected |
Definition at line 741 of file FitWithRooFit.cc.
Referenced by a2(), buildBackgroundModel(), initA2(), and reinitializeParameters().
|
protected |
Definition at line 742 of file FitWithRooFit.cc.
Referenced by a3(), buildBackgroundModel(), initA3(), and reinitializeParameters().
|
protected |
Definition at line 743 of file FitWithRooFit.cc.
Referenced by a4(), buildBackgroundModel(), initA4(), and reinitializeParameters().
|
protected |
Definition at line 744 of file FitWithRooFit.cc.
Referenced by a5(), buildBackgroundModel(), initA5(), and reinitializeParameters().
|
protected |
Definition at line 745 of file FitWithRooFit.cc.
Referenced by a6(), buildBackgroundModel(), initA6(), and reinitializeParameters().
|
protected |
Definition at line 746 of file FitWithRooFit.cc.
Referenced by alpha(), buildSignalModel(), initAlpha(), and reinitializeParameters().
|
protected |
Definition at line 735 of file FitWithRooFit.cc.
Referenced by buildBackgroundModel(), expCoeffa0(), initExpCoeffA0(), and reinitializeParameters().
|
protected |
Definition at line 736 of file FitWithRooFit.cc.
Referenced by buildBackgroundModel(), expCoeffa1(), initExpCoeffA1(), and reinitializeParameters().
|
protected |
Definition at line 737 of file FitWithRooFit.cc.
Referenced by buildBackgroundModel(), expCoeffa2(), initExpCoeffA2(), and reinitializeParameters().
|
protected |
Definition at line 748 of file FitWithRooFit.cc.
Referenced by buildSignalModel(), fGCB(), initFGCB(), and reinitializeParameters().
|
protected |
Definition at line 738 of file FitWithRooFit.cc.
Referenced by buildBackgroundModel(), buildModel(), fsig(), initFsig(), and reinitializeParameters().
|
protected |
Definition at line 732 of file FitWithRooFit.cc.
Referenced by buildSignalModel(), gamma(), initGamma(), and reinitializeParameters().
|
protected |
Definition at line 734 of file FitWithRooFit.cc.
Referenced by buildSignalModel(), gaussFrac2(), initGaussFrac2(), and reinitializeParameters().
|
protected |
Definition at line 733 of file FitWithRooFit.cc.
Referenced by buildSignalModel(), gaussFrac(), initGaussFrac(), and reinitializeParameters().
|
protected |
Definition at line 764 of file FitWithRooFit.cc.
Referenced by initA0(), and reinitializeParameters().
|
protected |
Definition at line 765 of file FitWithRooFit.cc.
Referenced by initA1(), and reinitializeParameters().
|
protected |
Definition at line 766 of file FitWithRooFit.cc.
Referenced by initA2(), and reinitializeParameters().
|
protected |
Definition at line 767 of file FitWithRooFit.cc.
Referenced by initA3(), and reinitializeParameters().
|
protected |
Definition at line 768 of file FitWithRooFit.cc.
Referenced by initA4(), and reinitializeParameters().
|
protected |
Definition at line 769 of file FitWithRooFit.cc.
Referenced by initA5(), and reinitializeParameters().
|
protected |
Definition at line 770 of file FitWithRooFit.cc.
Referenced by initA6(), and reinitializeParameters().
|
protected |
Definition at line 771 of file FitWithRooFit.cc.
Referenced by initAlpha(), and reinitializeParameters().
|
protected |
Definition at line 760 of file FitWithRooFit.cc.
Referenced by initExpCoeffA0(), and reinitializeParameters().
|
protected |
Definition at line 761 of file FitWithRooFit.cc.
Referenced by initExpCoeffA1(), and reinitializeParameters().
|
protected |
Definition at line 762 of file FitWithRooFit.cc.
Referenced by initExpCoeffA2(), and reinitializeParameters().
|
protected |
Definition at line 773 of file FitWithRooFit.cc.
Referenced by initFGCB(), and reinitializeParameters().
|
protected |
Definition at line 763 of file FitWithRooFit.cc.
Referenced by initFsig(), and reinitializeParameters().
|
protected |
Definition at line 757 of file FitWithRooFit.cc.
Referenced by initGamma(), and reinitializeParameters().
|
protected |
Definition at line 758 of file FitWithRooFit.cc.
Referenced by initGaussFrac(), and reinitializeParameters().
|
protected |
Definition at line 759 of file FitWithRooFit.cc.
Referenced by initGaussFrac2(), and reinitializeParameters().
|
protected |
Definition at line 751 of file FitWithRooFit.cc.
Referenced by initMean(), and reinitializeParameters().
|
protected |
Definition at line 752 of file FitWithRooFit.cc.
Referenced by initMean2(), and reinitializeParameters().
|
protected |
Definition at line 753 of file FitWithRooFit.cc.
Referenced by initMean3(), and reinitializeParameters().
|
protected |
Definition at line 772 of file FitWithRooFit.cc.
Referenced by initN(), and reinitializeParameters().
|
protected |
Definition at line 754 of file FitWithRooFit.cc.
Referenced by initSigma(), and reinitializeParameters().
|
protected |
Definition at line 755 of file FitWithRooFit.cc.
Referenced by initSigma2(), and reinitializeParameters().
|
protected |
Definition at line 756 of file FitWithRooFit.cc.
Referenced by initSigma3(), and reinitializeParameters().
|
protected |
Definition at line 727 of file FitWithRooFit.cc.
Referenced by buildSignalModel(), initMean2(), mean2(), and reinitializeParameters().
|
protected |
Definition at line 728 of file FitWithRooFit.cc.
Referenced by buildSignalModel(), initMean3(), mean3(), and reinitializeParameters().
|
protected |
Definition at line 726 of file FitWithRooFit.cc.
Referenced by buildSignalModel(), initMean(), mean(), and reinitializeParameters().
|
protected |
Definition at line 747 of file FitWithRooFit.cc.
Referenced by buildSignalModel(), initN(), n(), and reinitializeParameters().
|
protected |
Definition at line 730 of file FitWithRooFit.cc.
Referenced by buildSignalModel(), initSigma2(), reinitializeParameters(), and sigma2().
|
protected |
Definition at line 731 of file FitWithRooFit.cc.
Referenced by buildSignalModel(), initSigma3(), reinitializeParameters(), and sigma3().
|
protected |
Definition at line 729 of file FitWithRooFit.cc.
Referenced by buildSignalModel(), initSigma(), reinitializeParameters(), and sigma().
bool FitWithRooFit::useChi2_ |
Definition at line 722 of file FitWithRooFit.cc.
Referenced by fit(), and ZMassBinFit_OldTool().