GooFit
v2.1.3
|
#include <TCanvas.h>
#include <TFile.h>
#include <TH1F.h>
#include <TH2F.h>
#include <TLegend.h>
#include <TLine.h>
#include <TRandom.h>
#include <TRandom3.h>
#include <TStyle.h>
#include <TText.h>
#include <cassert>
#include <climits>
#include <fstream>
#include <goofit/Application.h>
#include <goofit/PDFs/GooPdf.h>
#include <goofit/PDFs/basic/BinTransformPdf.h>
#include <goofit/PDFs/basic/CrystalBallPdf.h>
#include <goofit/PDFs/basic/ExpGausPdf.h>
#include <goofit/PDFs/basic/ExpPdf.h>
#include <goofit/PDFs/basic/GaussianPdf.h>
#include <goofit/PDFs/basic/JohnsonSUPdf.h>
#include <goofit/PDFs/basic/PolynomialPdf.h>
#include <goofit/PDFs/basic/SmoothHistogramPdf.h>
#include <goofit/PDFs/basic/StepPdf.h>
#include <goofit/PDFs/basic/TrigThresholdPdf.h>
#include <goofit/PDFs/basic/VoigtianPdf.h>
#include <goofit/PDFs/combine/AddPdf.h>
#include <goofit/PDFs/combine/ConvolutionPdf.h>
#include <goofit/PDFs/combine/EventWeightedAddPdf.h>
#include <goofit/PDFs/combine/MappedPdf.h>
#include <goofit/PDFs/combine/ProdPdf.h>
#include <goofit/PDFs/physics/DalitzVetoPdf.h>
#include <goofit/PDFs/physics/IncoherentSumPdf.h>
#include <goofit/PDFs/physics/ResonancePdf.h>
#include <goofit/PDFs/physics/TddpPdf.h>
#include <goofit/PDFs/physics/ThreeGaussResolution_Aux.h>
#include <goofit/PDFs/physics/TruthResolution_Aux.h>
#include <goofit/Variable.h>
#include <goofit/utilities/Uncertain.h>
#include <goofit/fitting/FitManagerMinuit1.h>
#include <goofit/fitting/FitManagerMinuit2.h>
#include <goofit/FunctorWriter.h>
#include <goofit/PDFs/combine/CompositePdf.h>
#include <goofit/UnbinnedDataSet.h>
Go to the source code of this file.
Classes | |
struct | BigBin |
struct | ChisqInfo |
Enumerations | |
enum | Bkg2Model { Histogram, Parameter, Sideband } |
enum | Resolutions { DplotRes = 1, TimeRes = 2, Efficiency = 4 } |
Functions | |
SmoothHistogramPdf * | makeBackgroundHistogram (int bkgnum, std::string overridename="") |
void | makeToyDalitzPlots (GooPdf *overallSignal, std::string plotdir="./plots_from_toy_mixfit/") |
void | getBackgroundFile (int bkgType) |
double | calcGauInteg (double x1, double x2) |
double | calcToyWeight (double sigratio, double m) |
void | printMemoryStatus (std::string file, int line) |
void | loadDataFile (std::string fname, UnbinnedDataSet **setToFill=0, int effSkip=3) |
int | runBackgroundDalitzFit (int bkgType, bool plots=false) |
void | normalize (TH1F *dat) |
fptype | cpuGetM23 (fptype massPZ, fptype massPM) |
bool | cpuDalitz (fptype m12, fptype m13, fptype bigM, fptype dm1, fptype dm2, fptype dm3) |
void | plotLoHiSigma () |
void | plotFit (Observable var, UnbinnedDataSet *dat, GooPdf *fit) |
bool | readWrapper (std::ifstream &reader, std::string fname=strbuffer) |
void | getToyData (float sigweight=0.9) |
GooPdf * | makeEfficiencyPdf () |
GooPdf * | makeKzeroVeto () |
GooPdf * | makeEfficiencyPoly () |
TddpPdf * | makeSignalPdf (MixingTimeResolution *resolution=0, GooPdf *eff=0) |
GooPdf * | makeFlatBkgDalitzPdf (bool fixem=true) |
int | runToyFit (int ifile, int nfile, bool noPlots=true) |
void | makeFullFitVariables () |
GooPdf * | makeSignalJSU_gg (int idx, bool fixem=true) |
GooPdf * | makeMikhailJSU_gg (bool fixem=true) |
GooPdf * | makeSigmaMap () |
GooPdf * | make1BinSigmaMap () |
GooPdf * | make4BinSigmaMap () |
void | coarseBin (TH2F &dalitzHist, int grain) |
ChisqInfo * | getAdaptiveChisquare (TH2F *datPlot, TH2F *pdfPlot) |
void | makeDalitzPlots (GooPdf *overallSignal, std::string plotdir="./plots_from_mixfit/") |
GooPdf * | make_m23_transform () |
GooPdf * | makeSigmaHists () |
GooPdf * | makeBkg_sigma_strips (int bkgnum) |
void | createWeightHistogram () |
GooPdf * | makeOverallSignal () |
int | runTruthMCFit (std::string fname, bool noPlots=true) |
int | runGeneratedMCFit (std::string fname, int genResolutions, double dplotres) |
GooPdf * | makeBkg2_sigma () |
GooPdf * | makeBkg4_sigma () |
GooPdf * | makeBkg3_sigma () |
GooPdf * | makeGaussianTimePdf (int bkg) |
GooPdf * | makeExpGausTimePdf (int bkg) |
GooPdf * | makeBkg2DalitzPdf (bool fixem=true) |
GooPdf * | makeBkg3Eff () |
GooPdf * | makeBackground3DalitzParam () |
GooPdf * | makeBackground4DalitzParam () |
GooPdf * | makeBkg3DalitzPdf (bool fixem=true) |
GooPdf * | makeBkg4DalitzPdf (bool fixem=true) |
int | runCanonicalFit (std::string fname, bool noPlots=true) |
int | runSigmaFit (const char *fname) |
int | runEfficiencyFit (int which) |
void | makeTimePlots (std::string fname) |
int | runBackgroundSigmaFit (int bkgType) |
void | writeBackgroundHistograms (int bkg) |
void | set_bkg_model_from_string () |
void | parseArg (GooFit::App *app) |
int | main (int argc, char **argv) |
enum Bkg2Model |
Enumerator | |
---|---|
Histogram | |
Parameter | |
Sideband |
Definition at line 103 of file pipipi0DPFit.cpp.
enum Resolutions |
Enumerator | |
---|---|
DplotRes | |
TimeRes | |
Efficiency |
Definition at line 130 of file pipipi0DPFit.cpp.
double calcGauInteg | ( | double | x1, |
double | x2 | ||
) |
double calcToyWeight | ( | double | sigratio, |
double | m | ||
) |
Definition at line 206 of file pipipi0DPFit.cpp.
References calcGauInteg(), intGaus, loadDataFile(), md0_lower_window, md0_toy_mean, md0_toy_width, md0_upper_window, printMemoryStatus(), and runBackgroundDalitzFit().
Referenced by getToyData().
void coarseBin | ( | TH2F & | dalitzHist, |
int | grain | ||
) |
Definition at line 1501 of file pipipi0DPFit.cpp.
References GooFit::Observable::getNumBins().
Referenced by makeDalitzPlots().
Definition at line 239 of file pipipi0DPFit.cpp.
Referenced by createWeightHistogram(), getAdaptiveChisquare(), getToyData(), makeDalitzPlots(), makeToyDalitzPlots(), runEfficiencyFit(), and runSigmaFit().
Definition at line 235 of file pipipi0DPFit.cpp.
References _mD02, piPlusMass, and piZeroMass.
Referenced by loadDataFile(), makeDalitzPlots(), and runSigmaFit().
void createWeightHistogram | ( | ) |
Definition at line 2600 of file pipipi0DPFit.cpp.
References _mD0, cpuDalitz(), GooFit::Indexable::getLowerLimit(), GooFit::Observable::getNumBins(), GooFit::Indexable::getUpperLimit(), piPlusMass, piZeroMass, underlyingBins, and weightHistogram.
Referenced by makeOverallSignal(), and runGeneratedMCFit().
ChisqInfo* getAdaptiveChisquare | ( | TH2F * | datPlot, |
TH2F * | pdfPlot | ||
) |
Definition at line 1563 of file pipipi0DPFit.cpp.
References _mD0, ChisqInfo::chisq, ChisqInfo::ChisqInfo(), ChisqInfo::contribPlot, cpuDalitz(), ChisqInfo::dof, BigBin::getContent(), BigBin::height, piPlusMass, piZeroMass, BigBin::width, BigBin::xbin, and BigBin::ybin.
Referenced by makeDalitzPlots().
void getBackgroundFile | ( | int | bkgType | ) |
Definition at line 4667 of file pipipi0DPFit.cpp.
References bkg2Model, m23Slices, mikhailSetup, notUseBackground3Hist, notUseBackground4Hist, and Sideband.
Referenced by runBackgroundDalitzFit(), and runCanonicalFit().
void getToyData | ( | float | sigweight = 0.9 | ) |
Definition at line 338 of file pipipi0DPFit.cpp.
References _mD0, GooFit::UnbinnedDataSet::addEvent(), calcToyWeight(), cpuDalitz(), GooFit::Indexable::getLowerLimit(), GooFit::DataSet::getNumEvents(), GooFit::Indexable::getUpperLimit(), GooFit::Indexable::getValue(), GOOFIT_INFO, maxEvents, md0_lower_window, md0_toy_mean, md0_upper_window, piPlusMass, piZeroMass, readWrapper(), and GooFit::Indexable::setValue().
Referenced by runToyFit().
void loadDataFile | ( | std::string | fname, |
UnbinnedDataSet ** | setToFill = 0 , |
||
int | effSkip = 3 |
||
) |
Definition at line 921 of file pipipi0DPFit.cpp.
References GooFit::BinnedDataSet::addWeightedEvent(), cpuGetM23(), data, deltam, deltam_lower_window, deltam_upper_window, dtime, GooFit::Indexable::getLowerLimit(), GooFit::Indexable::getUpperLimit(), GooFit::Indexable::getValue(), luckyFrac, m12, m13, massd0, md0_lower_window, md0_upper_window, md0offset, readWrapper(), GooFit::Indexable::setValue(), sigma, underlyingBins, wBkg1, wBkg2, wBkg3, wBkg4, weightHistogram, and wSig0.
Referenced by calcToyWeight(), makeOverallSignal(), makeTimePlots(), runBackgroundDalitzFit(), runBackgroundSigmaFit(), runCanonicalFit(), runEfficiencyFit(), runGeneratedMCFit(), runSigmaFit(), and runTruthMCFit().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 4920 of file pipipi0DPFit.cpp.
References data, DplotRes, foo, foodal, GOOFIT_PARSE, m23Slices, makePlots, makeTimePlots(), maxEvents, minuit1, parseArg(), runBackgroundDalitzFit(), runBackgroundSigmaFit(), runCanonicalFit(), runEfficiencyFit(), runGeneratedMCFit(), runSigmaFit(), runToyFit(), runTruthMCFit(), set_bkg_model_from_string(), and writeBackgroundHistograms().
GooPdf* make1BinSigmaMap | ( | ) |
Definition at line 1345 of file pipipi0DPFit.cpp.
References GooFit::UnbinnedDataSet::addEvent(), GooFit::FitManagerMinuit2::fit(), GooFit::FitManagerMinuit1::fit(), GooFit::Indexable::getLowerLimit(), GooFit::Observable::getNumBins(), GooFit::DataSet::getNumEvents(), GooFit::Indexable::getUpperLimit(), GooFit::UnbinnedDataSet::getValue(), GooFit::Indexable::getValue(), makeSignalJSU_gg(), minuit1, GooFit::PdfBase::setData(), GooFit::GooPdf::setParameterConstantness(), and GooFit::Indexable::setValue().
GooPdf* make4BinSigmaMap | ( | ) |
Definition at line 1422 of file pipipi0DPFit.cpp.
References GooFit::UnbinnedDataSet::addEvent(), GooFit::FitManagerMinuit2::fit(), GooFit::FitManagerMinuit1::fit(), GooFit::Indexable::getLowerLimit(), GooFit::Observable::getNumBins(), GooFit::DataSet::getNumEvents(), GooFit::Indexable::getUpperLimit(), GooFit::UnbinnedDataSet::getValue(), GooFit::Indexable::getValue(), makeSignalJSU_gg(), minuit1, GooFit::PdfBase::setData(), GooFit::GooPdf::setParameterConstantness(), and GooFit::Indexable::setValue().
GooPdf* make_m23_transform | ( | ) |
Definition at line 2459 of file pipipi0DPFit.cpp.
References constantBigM, constantMinusOne, constantZero, and m23Slices.
Referenced by makeBkg_sigma_strips(), and makeSigmaHists().
GooPdf* makeBackground3DalitzParam | ( | ) |
Definition at line 3604 of file pipipi0DPFit.cpp.
References _mD0, GooFit::PdfBase::addSpecialMask(), constantMinusOne, constantOne, constantZero, GooFit::DecayInfo3::daug1Mass, GooFit::DecayInfo3::daug2Mass, GooFit::DecayInfo3::daug3Mass, GooFit::DecayInfo3::meson_radius, GooFit::DecayInfo3::motherMass, GooFit::PAIR_12, GooFit::PAIR_13, GooFit::PAIR_23, piPlusMass, piZeroMass, and GooFit::DecayInfo3::resonances.
Referenced by makeBkg3DalitzPdf().
GooPdf* makeBackground4DalitzParam | ( | ) |
Definition at line 3782 of file pipipi0DPFit.cpp.
References _mD0, GooFit::PdfBase::addSpecialMask(), constantMinusOne, constantOne, constantZero, GooFit::DecayInfo3::daug1Mass, GooFit::DecayInfo3::daug2Mass, GooFit::DecayInfo3::daug3Mass, fixedRhoMass, fixedRhoWidth, massSum, GooFit::DecayInfo3::meson_radius, minDalitzZ, GooFit::DecayInfo3::motherMass, GooFit::PAIR_12, GooFit::PAIR_13, GooFit::PAIR_23, piPlusMass, piZeroMass, and GooFit::DecayInfo3::resonances.
Referenced by makeBkg4DalitzPdf().
SmoothHistogramPdf * makeBackgroundHistogram | ( | int | bkgnum, |
std::string | overridename = "" |
||
) |
Definition at line 3532 of file pipipi0DPFit.cpp.
References GooFit::BinnedDataSet::addEvent(), bkgHistRandSeed, GooFit::Application::get_filename(), GooFit::BinnedDataSet::getBinContent(), GooFit::BinnedDataSet::getNumBins(), GooFit::DataSet::getNumEvents(), m12, m13, readWrapper(), and GooFit::BinnedDataSet::setBinContent().
Referenced by makeBkg2DalitzPdf(), makeBkg3DalitzPdf(), makeBkg4DalitzPdf(), and writeBackgroundHistograms().
GooPdf* makeBkg2_sigma | ( | ) |
Definition at line 3021 of file pipipi0DPFit.cpp.
Referenced by runBackgroundSigmaFit().
GooPdf* makeBkg2DalitzPdf | ( | bool | fixem = true | ) |
Definition at line 3276 of file pipipi0DPFit.cpp.
References _mD0, GooFit::PdfBase::addSpecialMask(), bkg2Model, constantOne, constantZero, GooFit::DecayInfo3::daug1Mass, GooFit::DecayInfo3::daug2Mass, GooFit::DecayInfo3::daug3Mass, fixedRhoMass, fixedRhoWidth, gaussBkgTime, GooFit::Application::get_filename(), Histogram, makeBackgroundHistogram(), makeBkg_sigma_strips(), makeExpGausTimePdf(), makeGaussianTimePdf(), makeKzeroVeto(), massSum, GooFit::DecayInfo3::meson_radius, minDalitzZ, GooFit::DecayInfo3::motherMass, GooFit::PAIR_12, GooFit::PAIR_13, GooFit::PAIR_23, Parameter, piPlusMass, piZeroMass, GooFit::DecayInfo3::resonances, GooFit::GooPdf::setParameterConstantness(), and Sideband.
Referenced by runBackgroundDalitzFit(), and runCanonicalFit().
GooPdf* makeBkg3_sigma | ( | ) |
Definition at line 3106 of file pipipi0DPFit.cpp.
GooPdf* makeBkg3DalitzPdf | ( | bool | fixem = true | ) |
Definition at line 3938 of file pipipi0DPFit.cpp.
References GooFit::PdfBase::addSpecialMask(), gaussBkgTime, makeBackground3DalitzParam(), makeBackgroundHistogram(), makeBkg_sigma_strips(), makeExpGausTimePdf(), makeGaussianTimePdf(), makeKzeroVeto(), notUseBackground3Hist, and GooFit::GooPdf::setParameterConstantness().
Referenced by runBackgroundDalitzFit(), and runCanonicalFit().
GooPdf* makeBkg3Eff | ( | ) |
Definition at line 3475 of file pipipi0DPFit.cpp.
References GooFit::BinnedDataSet::addEvent(), GooFit::Application::get_filename(), GooFit::Observable::getNumBins(), m12, m13, readWrapper(), and GooFit::Observable::setNumBins().
GooPdf* makeBkg4_sigma | ( | ) |
Definition at line 3064 of file pipipi0DPFit.cpp.
GooPdf* makeBkg4DalitzPdf | ( | bool | fixem = true | ) |
Definition at line 3996 of file pipipi0DPFit.cpp.
References GooFit::PdfBase::addSpecialMask(), gaussBkgTime, makeBackground4DalitzParam(), makeBackgroundHistogram(), makeBkg_sigma_strips(), makeExpGausTimePdf(), makeGaussianTimePdf(), makeKzeroVeto(), notUseBackground4Hist, and GooFit::GooPdf::setParameterConstantness().
Referenced by runBackgroundDalitzFit(), and runCanonicalFit().
GooPdf* makeBkg_sigma_strips | ( | int | bkgnum | ) |
Definition at line 2570 of file pipipi0DPFit.cpp.
References jsuList, m23Slices, and make_m23_transform().
Referenced by makeBkg2DalitzPdf(), makeBkg3DalitzPdf(), makeBkg4DalitzPdf(), makeOverallSignal(), runBackgroundSigmaFit(), and runSigmaFit().
void makeDalitzPlots | ( | GooPdf * | overallSignal, |
std::string | plotdir = "./plots_from_mixfit/" |
||
) |
Definition at line 1850 of file pipipi0DPFit.cpp.
References _mD0, GooFit::UnbinnedDataSet::addEvent(), ChisqInfo::chisq, coarseBin(), ChisqInfo::contribPlot, cpuDalitz(), cpuGetM23(), ChisqInfo::dof, foo, foodal, getAdaptiveChisquare(), GooFit::GooPdf::getCompProbsAtDataPoints(), GooFit::Indexable::getLowerLimit(), GooFit::Observable::getNumBins(), GooFit::DataSet::getNumEvents(), GooFit::PdfBase::getObservables(), GooFit::Indexable::getUpperLimit(), GooFit::UnbinnedDataSet::getValue(), GooFit::Indexable::getValue(), piPlusMass, piZeroMass, GooFit::PdfBase::setData(), GooFit::IncoherentSumPdf::setDataSize(), GooFit::TddpPdf::setDataSize(), GooFit::Indexable::setValue(), GooFit::UnbinnedDataSet::setValueForAllEvents(), and sigma.
Referenced by runCanonicalFit(), and runTruthMCFit().
GooPdf* makeEfficiencyPdf | ( | ) |
Definition at line 433 of file pipipi0DPFit.cpp.
Referenced by makeOverallSignal(), runEfficiencyFit(), and runGeneratedMCFit().
GooPdf* makeEfficiencyPoly | ( | ) |
Definition at line 452 of file pipipi0DPFit.cpp.
References constantOne, makeKzeroVeto(), massSum, maxDalitzX, maxDalitzY, maxDalitzZ, minDalitzX, minDalitzY, minDalitzZ, and GooFit::GooPdf::setParameterConstantness().
Referenced by makeOverallSignal().
GooPdf* makeExpGausTimePdf | ( | int | bkg | ) |
Definition at line 3240 of file pipipi0DPFit.cpp.
Referenced by makeBkg2DalitzPdf(), makeBkg3DalitzPdf(), and makeBkg4DalitzPdf().
GooPdf* makeFlatBkgDalitzPdf | ( | bool | fixem = true | ) |
Definition at line 814 of file pipipi0DPFit.cpp.
References constantOne, constantZero, and GooFit::GooPdf::setParameterConstantness().
Referenced by runToyFit().
void makeFullFitVariables | ( | ) |
Definition at line 1099 of file pipipi0DPFit.cpp.
References lowerTime, maxSigma, normBinning, GooFit::Observable::setNumBins(), and upperTime.
Referenced by makeTimePlots(), runBackgroundDalitzFit(), runBackgroundSigmaFit(), runCanonicalFit(), runEfficiencyFit(), runGeneratedMCFit(), runSigmaFit(), runTruthMCFit(), and writeBackgroundHistograms().
GooPdf* makeGaussianTimePdf | ( | int | bkg | ) |
Definition at line 3167 of file pipipi0DPFit.cpp.
Referenced by makeBkg2DalitzPdf(), makeBkg3DalitzPdf(), and makeBkg4DalitzPdf().
GooPdf* makeKzeroVeto | ( | ) |
Definition at line 440 of file pipipi0DPFit.cpp.
References chargeM, kzero_veto, motherM, neutrlM, and GooFit::PAIR_23.
Referenced by makeBkg2DalitzPdf(), makeBkg3DalitzPdf(), makeBkg4DalitzPdf(), makeEfficiencyPoly(), makeOverallSignal(), runBackgroundDalitzFit(), and runEfficiencyFit().
GooPdf* makeMikhailJSU_gg | ( | bool | fixem = true | ) |
Definition at line 1207 of file pipipi0DPFit.cpp.
References GooFit::Indexable::getValue(), GooFit::Variable::setFixed(), and GooFit::Indexable::setValue().
GooPdf* makeOverallSignal | ( | ) |
Definition at line 2652 of file pipipi0DPFit.cpp.
References GooFit::PdfBase::addSpecialMask(), binEffData, createWeightHistogram(), effdata, GooFit::FitManagerMinuit2::fit(), GooFit::FitManagerMinuit1::fit(), foo, foodal, GooFit::Application::get_filename(), GooFit::Observable::getNumBins(), loadDataFile(), m23Slices, makeBkg_sigma_strips(), makeEfficiencyPdf(), makeEfficiencyPoly(), makeKzeroVeto(), makeSigmaHists(), makeSignalPdf(), minuit1, polyEff, GooFit::readFromFile(), saveEffPlot, GooFit::PdfBase::setData(), GooFit::Observable::setNumBins(), GooFit::GooPdf::setParameterConstantness(), underlyingBins, and useHistogramSigma.
Referenced by runCanonicalFit(), and runTruthMCFit().
GooPdf* makeSigmaHists | ( | ) |
Definition at line 2502 of file pipipi0DPFit.cpp.
References constantZero, dtime, GooFit::Application::get_filename(), jsuList, m23Slices, make_m23_transform(), readWrapper(), and sigma.
Referenced by makeOverallSignal().
GooPdf* makeSigmaMap | ( | ) |
Definition at line 1257 of file pipipi0DPFit.cpp.
References GooFit::UnbinnedDataSet::addEvent(), GooFit::FitManagerMinuit2::fit(), GooFit::FitManagerMinuit1::fit(), GooFit::Indexable::getLowerLimit(), GooFit::Observable::getNumBins(), GooFit::DataSet::getNumEvents(), GooFit::Indexable::getUpperLimit(), GooFit::UnbinnedDataSet::getValue(), GooFit::Indexable::getValue(), makeSignalJSU_gg(), minuit1, numSigmaBins, GooFit::PdfBase::setData(), GooFit::GooPdf::setParameterConstantness(), and GooFit::Indexable::setValue().
GooPdf* makeSignalJSU_gg | ( | int | idx, |
bool | fixem = true |
||
) |
Definition at line 1123 of file pipipi0DPFit.cpp.
References GooFit::Variable::setFixed(), GooFit::Indexable::setUpperLimit(), and GooFit::Indexable::setValue().
Referenced by make1BinSigmaMap(), make4BinSigmaMap(), and makeSigmaMap().
TddpPdf* makeSignalPdf | ( | MixingTimeResolution * | resolution = 0 , |
GooPdf * | eff = 0 |
||
) |
Definition at line 520 of file pipipi0DPFit.cpp.
References _mD0, _mD02, _mD02inv, constantOne, constantZero, GooFit::DecayInfo3::daug1Mass, GooFit::DecayInfo3::daug2Mass, GooFit::DecayInfo3::daug3Mass, drop_f0_1370, drop_f0_1500, drop_f0_1710, drop_f0_600, drop_f0_980, drop_f2_1270, drop_rho_1450, drop_rho_1700, dtop0pp, fitMasses, fixedRhoMass, fixedRhoWidth, mdslices, GooFit::DecayInfo3::meson_radius, mesonRad, GooFit::DecayInfo3::motherMass, GooFit::PAIR_12, GooFit::PAIR_13, GooFit::PAIR_23, piPlusMass, piZeroMass, GooFit::DecayInfo3::resonances, GooFit::Variable::setFixed(), and GooFit::Indexable::setValue().
Referenced by makeOverallSignal(), runGeneratedMCFit(), and runToyFit().
void makeTimePlots | ( | std::string | fname | ) |
Definition at line 4687 of file pipipi0DPFit.cpp.
References foo, GooFit::Indexable::getLowerLimit(), GooFit::Observable::getNumBins(), GooFit::DataSet::getNumEvents(), GooFit::Indexable::getUpperLimit(), GooFit::Indexable::getValue(), loadDataFile(), GooFit::UnbinnedDataSet::loadEvent(), makeFullFitVariables(), md0_lower_window, md0_upper_window, normalize(), and GooFit::Observable::setNumBins().
Referenced by main().
void makeToyDalitzPlots | ( | GooPdf * | overallSignal, |
std::string | plotdir = "./plots_from_toy_mixfit/" |
||
) |
Definition at line 1741 of file pipipi0DPFit.cpp.
References _mD0, GooFit::UnbinnedDataSet::addEvent(), cpuDalitz(), foo, GooFit::GooPdf::getCompProbsAtDataPoints(), GooFit::Indexable::getLowerLimit(), GooFit::Observable::getNumBins(), GooFit::DataSet::getNumEvents(), GooFit::Indexable::getUpperLimit(), GooFit::UnbinnedDataSet::getValue(), GooFit::Indexable::getValue(), GOOFIT_INFO, piPlusMass, piZeroMass, GooFit::PdfBase::setData(), GooFit::TddpPdf::setDataSize(), and GooFit::Indexable::setValue().
Referenced by runToyFit().
void normalize | ( | TH1F * | dat | ) |
Definition at line 220 of file pipipi0DPFit.cpp.
Referenced by makeTimePlots(), GooFit::GooPdf::normalise(), and plotLoHiSigma().
void parseArg | ( | GooFit::App * | app | ) |
Definition at line 4881 of file pipipi0DPFit.cpp.
References bkg2Model_str, bkgHistBins, bkgHistRandSeed, blindSeed, deltam_lower_window, deltam_upper_window, drop_f0_1370, drop_f0_1500, drop_f0_1710, drop_f0_600, drop_f0_980, drop_f2_1270, drop_rho_1450, drop_rho_1700, lowerTime, luckyFrac, m23Slices, makePlots, maxSigma, md0_lower_window, md0_upper_window, md0offset, mdslices, mesonRad, mikhailSetup, normBinning, notUseBackground3Hist, notUseBackground4Hist, paramDn, paramUp, polyEff, upperTime, and useHistogramSigma.
Referenced by main().
void plotFit | ( | Observable | var, |
UnbinnedDataSet * | dat, | ||
GooPdf * | fit | ||
) |
Definition at line 291 of file pipipi0DPFit.cpp.
References GooFit::GooPdf::evaluateAtPoints(), foo, GooFit::Indexable::getLowerLimit(), GooFit::Indexable::getName(), GooFit::Observable::getNumBins(), GooFit::DataSet::getNumEvents(), GooFit::Indexable::getUpperLimit(), and GooFit::UnbinnedDataSet::getValue().
Referenced by runBackgroundSigmaFit().
void plotLoHiSigma | ( | ) |
Definition at line 266 of file pipipi0DPFit.cpp.
References foo, and normalize().
Referenced by runBackgroundSigmaFit(), and runSigmaFit().
void printMemoryStatus | ( | std::string | file, |
int | line | ||
) |
Referenced by calcToyWeight().
bool readWrapper | ( | std::ifstream & | reader, |
std::string | fname = strbuffer |
||
) |
Definition at line 331 of file pipipi0DPFit.cpp.
Referenced by getToyData(), loadDataFile(), makeBackgroundHistogram(), makeBkg3Eff(), and makeSigmaHists().
int runBackgroundDalitzFit | ( | int | bkgType, |
bool | plots = false |
||
) |
Definition at line 4594 of file pipipi0DPFit.cpp.
References GooFit::FitManagerMinuit2::fit(), GooFit::FitManagerMinuit1::fit(), GooFit::Application::get_filename(), getBackgroundFile(), GooFit::DataSet::getNumEvents(), loadDataFile(), makeBkg2DalitzPdf(), makeBkg3DalitzPdf(), makeBkg4DalitzPdf(), makeFullFitVariables(), makeKzeroVeto(), minuit1, GooFit::PdfBase::setData(), GooFit::IncoherentSumPdf::setDataSize(), GooFit::FitManagerMinuit2::setMaxCalls(), GooFit::FitManagerMinuit1::setMaxCalls(), and GooFit::writeToFile().
Referenced by calcToyWeight(), and main().
int runBackgroundSigmaFit | ( | int | bkgType | ) |
Definition at line 4807 of file pipipi0DPFit.cpp.
References GooFit::FitManagerMinuit2::fit(), GooFit::FitManagerMinuit1::fit(), GooFit::Application::get_filename(), GooFit::Indexable::getLowerLimit(), GooFit::Observable::getNumBins(), GooFit::Indexable::getUpperLimit(), loadDataFile(), makeBkg2_sigma(), makeBkg_sigma_strips(), makeFullFitVariables(), minuit1, plotFit(), plotLoHiSigma(), GooFit::PdfBase::setData(), GooFit::FitManagerMinuit2::setMaxCalls(), and GooFit::FitManagerMinuit1::setMaxCalls().
Referenced by main().
int runCanonicalFit | ( | std::string | fname, |
bool | noPlots = true |
||
) |
Definition at line 4036 of file pipipi0DPFit.cpp.
References GooFit::DecayInfo3t::_tau, GooFit::DecayInfo3t::_xmixing, GooFit::DecayInfo3t::_ymixing, bkgHistBins, blindSeed, dtop0pp, GooFit::FitManagerMinuit2::fit(), GooFit::FitManagerMinuit1::fit(), getBackgroundFile(), GooFit::Variable::getError(), GooFit::Observable::getNumBins(), GooFit::DataSet::getNumEvents(), GooFit::PdfBase::getParameterByName(), GooFit::Indexable::getValue(), loadDataFile(), makeBkg2DalitzPdf(), makeBkg3DalitzPdf(), makeBkg4DalitzPdf(), makeDalitzPlots(), makeFullFitVariables(), makeOverallSignal(), md0_lower_window, md0_upper_window, md0offset, mdslices, minuit1, paramDn, paramUp, GooFit::PdfBase::printProfileInfo(), GooFit::readFromFile(), GooFit::Variable::setBlind(), GooFit::PdfBase::setData(), GooFit::IncoherentSumPdf::setDataSize(), GooFit::TddpPdf::setDataSize(), GooFit::FitManagerMinuit2::setMaxCalls(), GooFit::FitManagerMinuit1::setMaxCalls(), GooFit::Observable::setNumBins(), GooFit::GooPdf::setParameterConstantness(), and GooFit::Indexable::setValue().
Referenced by main().
int runEfficiencyFit | ( | int | which | ) |
Definition at line 4365 of file pipipi0DPFit.cpp.
References _mD0, GooFit::UnbinnedDataSet::addEvent(), cpuDalitz(), GooFit::FitManagerMinuit2::fit(), GooFit::FitManagerMinuit1::fit(), foo, foodal, GooFit::Application::get_filename(), GooFit::Observable::getBinSize(), GooFit::GooPdf::getCompProbsAtDataPoints(), GooFit::Indexable::getLowerLimit(), GooFit::Observable::getNumBins(), GooFit::DataSet::getNumEvents(), GooFit::Indexable::getUpperLimit(), GooFit::UnbinnedDataSet::getValue(), GooFit::Indexable::getValue(), loadDataFile(), makeEfficiencyPdf(), makeFullFitVariables(), makeKzeroVeto(), minuit1, piPlusMass, piZeroMass, GooFit::PdfBase::setData(), GooFit::Observable::setNumBins(), GooFit::Indexable::setValue(), and underlyingBins.
Referenced by main().
int runGeneratedMCFit | ( | std::string | fname, |
int | genResolutions, | ||
double | dplotres | ||
) |
Definition at line 2790 of file pipipi0DPFit.cpp.
References GooFit::DecayInfo3t::_tau, GooFit::DecayInfo3t::_xmixing, GooFit::DecayInfo3t::_ymixing, GooFit::UnbinnedDataSet::addEvent(), createWeightHistogram(), data, DplotRes, dtop0pp, GooFit::FitManagerMinuit2::fit(), GooFit::FitManagerMinuit1::fit(), foodal, GooFit::Application::get_filename(), GooFit::Variable::getError(), GooFit::Observable::getNumBins(), GooFit::DataSet::getNumEvents(), GooFit::DataSet::getObservables(), GooFit::Indexable::getValue(), loadDataFile(), GooFit::UnbinnedDataSet::loadEvent(), makeEfficiencyPdf(), makeFullFitVariables(), makeSignalPdf(), minuit1, GooFit::PdfBase::setData(), GooFit::TddpPdf::setDataSize(), GooFit::Indexable::setLowerLimit(), GooFit::FitManagerMinuit2::setMaxCalls(), GooFit::FitManagerMinuit1::setMaxCalls(), GooFit::Observable::setNumBins(), GooFit::Indexable::setUpperLimit(), GooFit::Indexable::setValue(), and weightHistogram.
Referenced by main().
int runSigmaFit | ( | const char * | fname | ) |
Definition at line 4194 of file pipipi0DPFit.cpp.
References _mD0, GooFit::UnbinnedDataSet::addEvent(), cpuDalitz(), cpuGetM23(), GooFit::FitManagerMinuit2::fit(), GooFit::FitManagerMinuit1::fit(), foo, GooFit::Observable::getBinSize(), GooFit::GooPdf::getCompProbsAtDataPoints(), GooFit::Indexable::getLowerLimit(), GooFit::Observable::getNumBins(), GooFit::DataSet::getNumEvents(), GooFit::Indexable::getUpperLimit(), GooFit::UnbinnedDataSet::getValue(), GooFit::Indexable::getValue(), loadDataFile(), m23Slices, makeBkg_sigma_strips(), makeFullFitVariables(), minuit1, piPlusMass, piZeroMass, plotLoHiSigma(), GooFit::PdfBase::setData(), GooFit::Indexable::setValue(), and GooFit::writeToFile().
Referenced by main().
int runToyFit | ( | int | ifile, |
int | nfile, | ||
bool | noPlots = true |
||
) |
Definition at line 839 of file pipipi0DPFit.cpp.
References GooFit::DecayInfo3t::_tau, GooFit::DecayInfo3t::_xmixing, GooFit::DecayInfo3t::_ymixing, GooFit::PdfBase::addSpecialMask(), constantZero, dtop0pp, GooFit::FitManagerMinuit2::fit(), GooFit::FitManagerMinuit1::fit(), GooFit::Application::get_filename(), GooFit::DataSet::getNumEvents(), getToyData(), lowerTime, makeFlatBkgDalitzPdf(), makeSignalPdf(), makeToyDalitzPlots(), minuit1, GooFit::PdfBase::setData(), GooFit::TddpPdf::setDataSize(), GooFit::FitManagerMinuit2::setMaxCalls(), GooFit::FitManagerMinuit1::setMaxCalls(), GooFit::Observable::setNumBins(), GooFit::GooPdf::setParameterConstantness(), and upperTime.
Referenced by main().
int runTruthMCFit | ( | std::string | fname, |
bool | noPlots = true |
||
) |
Definition at line 2751 of file pipipi0DPFit.cpp.
References GooFit::DecayInfo3t::_tau, GooFit::DecayInfo3t::_xmixing, GooFit::DecayInfo3t::_ymixing, dtop0pp, GooFit::FitManagerMinuit2::fit(), GooFit::FitManagerMinuit1::fit(), GooFit::DataSet::getNumEvents(), loadDataFile(), makeDalitzPlots(), makeFullFitVariables(), makeOverallSignal(), minuit1, GooFit::PdfBase::setData(), and GooFit::TddpPdf::setDataSize().
Referenced by main().
void set_bkg_model_from_string | ( | ) |
Definition at line 4867 of file pipipi0DPFit.cpp.
References bkg2Model, bkg2Model_str, gaussBkgTime, Histogram, m23Slices, mikhailSetup, Parameter, and Sideband.
Referenced by main().
void writeBackgroundHistograms | ( | int | bkg | ) |
Definition at line 4857 of file pipipi0DPFit.cpp.
References GooFit::SmoothHistogramPdf::extractHistogram(), GooFit::Application::get_filename(), makeBackgroundHistogram(), makeFullFitVariables(), and GooFit::writeListOfNumbers().
Referenced by main().
const fptype _mD0 = 1.86484 |
Definition at line 125 of file pipipi0DPFit.cpp.
Referenced by createWeightHistogram(), getAdaptiveChisquare(), getToyData(), makeBackground3DalitzParam(), makeBackground4DalitzParam(), makeBkg2DalitzPdf(), makeDalitzPlots(), makeSignalPdf(), makeToyDalitzPlots(), runEfficiencyFit(), and runSigmaFit().
Definition at line 126 of file pipipi0DPFit.cpp.
Referenced by cpuGetM23(), and makeSignalPdf().
Definition at line 127 of file pipipi0DPFit.cpp.
Referenced by makeSignalPdf().
GooFit::Application* app_ptr |
Definition at line 66 of file pipipi0DPFit.cpp.
BinnedDataSet* binEffData = nullptr |
Definition at line 61 of file pipipi0DPFit.cpp.
Referenced by makeOverallSignal().
GooPdf* bkg2_jsugg = nullptr |
Definition at line 166 of file pipipi0DPFit.cpp.
Definition at line 104 of file pipipi0DPFit.cpp.
Referenced by getBackgroundFile(), makeBkg2DalitzPdf(), and set_bkg_model_from_string().
std::string bkg2Model_str = "sideband" |
Definition at line 105 of file pipipi0DPFit.cpp.
Referenced by parseArg(), and set_bkg_model_from_string().
GooPdf* bkg3_jsugg = nullptr |
Definition at line 167 of file pipipi0DPFit.cpp.
GooPdf* bkg4_jsugg = nullptr |
Definition at line 168 of file pipipi0DPFit.cpp.
int bkgHistBins = 80 |
Definition at line 120 of file pipipi0DPFit.cpp.
Referenced by parseArg(), and runCanonicalFit().
int bkgHistRandSeed = -1 |
Definition at line 123 of file pipipi0DPFit.cpp.
Referenced by makeBackgroundHistogram(), and parseArg().
int blindSeed = 4 |
Definition at line 90 of file pipipi0DPFit.cpp.
Referenced by parseArg(), and runCanonicalFit().
Variable chargeM("chargeM", 0.13957018) |
Referenced by makeKzeroVeto().
std::vector<PdfBase *> comps |
Definition at line 154 of file pipipi0DPFit.cpp.
Variable constantBigM("constantBigM", _mD02+2 *piPlusMass *piPlusMass+piZeroMass *piZeroMass) |
Referenced by make_m23_transform().
Variable constantMinusOne("constantMinusOne", -1) |
Referenced by make_m23_transform(), makeBackground3DalitzParam(), and makeBackground4DalitzParam().
Variable constantOne("constantOne", 1) |
Variable constantTwo("constantTwo", 2) |
Variable constantZero("constantZero", 0) |
UnbinnedDataSet* data = nullptr |
Definition at line 59 of file pipipi0DPFit.cpp.
Referenced by GooFit::fillDataSetMC1D(), GooFit::PdfBase::getSpecialMask(), loadDataFile(), main(), and runGeneratedMCFit().
TH1F* dataTimePlot = nullptr |
Definition at line 155 of file pipipi0DPFit.cpp.
Observable* deltam = nullptr |
Definition at line 73 of file pipipi0DPFit.cpp.
Referenced by loadDataFile().
double deltam_lower_window = -2 |
Definition at line 95 of file pipipi0DPFit.cpp.
Referenced by loadDataFile(), and parseArg().
double deltam_upper_window = 2 |
Definition at line 96 of file pipipi0DPFit.cpp.
Referenced by loadDataFile(), and parseArg().
bool doToyStudy = false |
Definition at line 172 of file pipipi0DPFit.cpp.
bool drop_f0_1370 = false |
Definition at line 113 of file pipipi0DPFit.cpp.
Referenced by makeSignalPdf(), and parseArg().
bool drop_f0_1500 = false |
Definition at line 114 of file pipipi0DPFit.cpp.
Referenced by makeSignalPdf(), and parseArg().
bool drop_f0_1710 = false |
Definition at line 115 of file pipipi0DPFit.cpp.
Referenced by makeSignalPdf(), and parseArg().
bool drop_f0_600 = false |
Definition at line 117 of file pipipi0DPFit.cpp.
Referenced by makeSignalPdf(), and parseArg().
bool drop_f0_980 = false |
Definition at line 112 of file pipipi0DPFit.cpp.
Referenced by makeSignalPdf(), and parseArg().
bool drop_f2_1270 = false |
Definition at line 116 of file pipipi0DPFit.cpp.
Referenced by makeSignalPdf(), and parseArg().
bool drop_rho_1450 = false |
Definition at line 110 of file pipipi0DPFit.cpp.
Referenced by makeSignalPdf(), and parseArg().
bool drop_rho_1700 = false |
Definition at line 111 of file pipipi0DPFit.cpp.
Referenced by makeSignalPdf(), and parseArg().
Observable* dtime = nullptr |
Definition at line 74 of file pipipi0DPFit.cpp.
Referenced by loadDataFile(), and makeSigmaHists().
DecayInfo3t dtop0pp |
Definition at line 516 of file pipipi0DPFit.cpp.
Referenced by makeSignalPdf(), runCanonicalFit(), runGeneratedMCFit(), runToyFit(), and runTruthMCFit().
UnbinnedDataSet* effdata = nullptr |
Definition at line 60 of file pipipi0DPFit.cpp.
Referenced by makeOverallSignal().
EventNumber* eventNumber = nullptr |
Definition at line 71 of file pipipi0DPFit.cpp.
Referenced by getToyData(), and main().
bool fitMasses = false |
Definition at line 82 of file pipipi0DPFit.cpp.
Referenced by makeSignalPdf().
Variable fixedRhoMass("rho_mass", 0.7758, 0.01, 0.7, 0.8) |
Referenced by makeBackground4DalitzParam(), makeBkg2DalitzPdf(), and makeSignalPdf().
Variable fixedRhoWidth("rho_width", 0.1503, 0.01, 0.1, 0.2) |
Referenced by makeBackground4DalitzParam(), makeBkg2DalitzPdf(), and makeSignalPdf().
TCanvas* foo |
Definition at line 56 of file pipipi0DPFit.cpp.
Referenced by main(), makeDalitzPlots(), makeOverallSignal(), makeTimePlots(), makeToyDalitzPlots(), plotFit(), plotLoHiSigma(), runEfficiencyFit(), and runSigmaFit().
TCanvas* foodal |
Definition at line 57 of file pipipi0DPFit.cpp.
Referenced by main(), makeDalitzPlots(), makeOverallSignal(), runEfficiencyFit(), and runGeneratedMCFit().
bool gaussBkgTime = false |
Definition at line 118 of file pipipi0DPFit.cpp.
Referenced by makeBkg2DalitzPdf(), makeBkg3DalitzPdf(), makeBkg4DalitzPdf(), and set_bkg_model_from_string().
TH1F* hiM23Sigma = nullptr |
Definition at line 157 of file pipipi0DPFit.cpp.
IncoherentSumPdf* incsum1 = nullptr |
Definition at line 159 of file pipipi0DPFit.cpp.
IncoherentSumPdf* incsum2 = nullptr |
Definition at line 160 of file pipipi0DPFit.cpp.
IncoherentSumPdf* incsum3 = nullptr |
Definition at line 161 of file pipipi0DPFit.cpp.
IncoherentSumPdf* incsum4 = nullptr |
Definition at line 162 of file pipipi0DPFit.cpp.
IncoherentSumPdf* incsum5 = nullptr |
Definition at line 163 of file pipipi0DPFit.cpp.
IncoherentSumPdf* incsum6 = nullptr |
Definition at line 164 of file pipipi0DPFit.cpp.
double intGaus = -1 |
Definition at line 185 of file pipipi0DPFit.cpp.
Referenced by calcToyWeight().
vector<GooPdf *> jsuList |
Definition at line 1255 of file pipipi0DPFit.cpp.
Referenced by makeBkg_sigma_strips(), and makeSigmaHists().
GooPdf* kzero_veto = nullptr |
Definition at line 170 of file pipipi0DPFit.cpp.
Referenced by makeKzeroVeto().
TH1F* loM23Sigma = nullptr |
Definition at line 156 of file pipipi0DPFit.cpp.
double lowerTime = -2 |
Definition at line 97 of file pipipi0DPFit.cpp.
Referenced by makeFullFitVariables(), parseArg(), and runToyFit().
double luckyFrac = 0.5 |
Definition at line 87 of file pipipi0DPFit.cpp.
Referenced by loadDataFile(), and parseArg().
Observable* m12 = nullptr |
Definition at line 69 of file pipipi0DPFit.cpp.
Referenced by GooFit::enum_to_underlying(), getToyData(), loadDataFile(), main(), makeBackgroundHistogram(), makeBkg3Eff(), and makeSignalPdf().
Observable* m13 = nullptr |
Definition at line 70 of file pipipi0DPFit.cpp.
Referenced by GooFit::enum_to_underlying(), getToyData(), loadDataFile(), main(), makeBackgroundHistogram(), and makeBkg3Eff().
int m23Slices = 6 |
Definition at line 109 of file pipipi0DPFit.cpp.
Referenced by getBackgroundFile(), main(), make_m23_transform(), makeBkg_sigma_strips(), makeOverallSignal(), makeSigmaHists(), parseArg(), runSigmaFit(), and set_bkg_model_from_string().
bool makePlots = false |
Definition at line 108 of file pipipi0DPFit.cpp.
Referenced by main(), and parseArg().
Observable* massd0 = nullptr |
Definition at line 72 of file pipipi0DPFit.cpp.
Referenced by loadDataFile().
Variable massSum("massSum", _mD0 *_mD0+2 *piPlusMass *piPlusMass+piZeroMass *piZeroMass) |
Referenced by makeBackground4DalitzParam(), makeBkg2DalitzPdf(), and makeEfficiencyPoly().
Variable maxDalitzX("maxDalitzX", pow(_mD0 - piPlusMass, 2)) |
Referenced by makeEfficiencyPoly().
Variable maxDalitzY("maxDalitzY", pow(_mD0 - piPlusMass, 2)) |
Referenced by makeEfficiencyPoly().
Variable maxDalitzZ("maxDalitzZ", pow(_mD0 - piZeroMass, 2)) |
Referenced by makeEfficiencyPoly().
size_t maxEvents = 100000 |
Definition at line 132 of file pipipi0DPFit.cpp.
Referenced by getToyData(), and main().
double maxSigma = 0.8 |
Definition at line 99 of file pipipi0DPFit.cpp.
Referenced by makeFullFitVariables(), and parseArg().
int md0_lower_window = -2 |
Definition at line 93 of file pipipi0DPFit.cpp.
Referenced by calcToyWeight(), getToyData(), loadDataFile(), makeTimePlots(), parseArg(), and runCanonicalFit().
float md0_toy_mean = 1.8654 |
Definition at line 174 of file pipipi0DPFit.cpp.
Referenced by calcToyWeight(), and getToyData().
float md0_toy_width = 0.0075 |
Definition at line 173 of file pipipi0DPFit.cpp.
Referenced by calcToyWeight().
int md0_upper_window = 2 |
Definition at line 94 of file pipipi0DPFit.cpp.
Referenced by calcToyWeight(), getToyData(), loadDataFile(), makeTimePlots(), parseArg(), and runCanonicalFit().
double md0offset = 0 |
Definition at line 92 of file pipipi0DPFit.cpp.
Referenced by loadDataFile(), parseArg(), and runCanonicalFit().
int mdslices = 1 |
Definition at line 91 of file pipipi0DPFit.cpp.
Referenced by makeSignalPdf(), parseArg(), and runCanonicalFit().
double mesonRad = 1.5 |
Definition at line 88 of file pipipi0DPFit.cpp.
Referenced by makeSignalPdf(), and parseArg().
bool mikhailSetup = false |
Definition at line 119 of file pipipi0DPFit.cpp.
Referenced by getBackgroundFile(), parseArg(), and set_bkg_model_from_string().
Variable minDalitzX("minDalitzX", pow(piPlusMass+piZeroMass, 2)) |
Referenced by makeEfficiencyPoly().
Variable minDalitzY("minDalitzY", pow(piPlusMass+piZeroMass, 2)) |
Referenced by makeEfficiencyPoly().
Variable minDalitzZ("minDalitzZ", pow(piPlusMass+piPlusMass, 2)) |
Referenced by makeBackground4DalitzParam(), makeBkg2DalitzPdf(), and makeEfficiencyPoly().
bool minuit1 |
Definition at line 67 of file pipipi0DPFit.cpp.
Referenced by main(), make1BinSigmaMap(), make4BinSigmaMap(), makeOverallSignal(), makeSigmaMap(), runBackgroundDalitzFit(), runBackgroundSigmaFit(), runCanonicalFit(), runEfficiencyFit(), runGeneratedMCFit(), runSigmaFit(), runToyFit(), and runTruthMCFit().
Variable motherM("motherM", 1.86484) |
Referenced by makeKzeroVeto().
Variable neutrlM("neutrlM", 0.1349766) |
Referenced by makeKzeroVeto().
int normBinning = 240 |
Definition at line 89 of file pipipi0DPFit.cpp.
Referenced by makeFullFitVariables(), and parseArg().
bool notUseBackground3Hist = false |
Definition at line 106 of file pipipi0DPFit.cpp.
Referenced by getBackgroundFile(), makeBkg3DalitzPdf(), and parseArg().
bool notUseBackground4Hist = false |
Definition at line 107 of file pipipi0DPFit.cpp.
Referenced by getBackgroundFile(), makeBkg4DalitzPdf(), and parseArg().
const int numSigmaBins = 36 |
Definition at line 1251 of file pipipi0DPFit.cpp.
Referenced by makeSigmaMap().
std::vector<Observable> obsweights |
Definition at line 152 of file pipipi0DPFit.cpp.
string paramDn = "" |
Definition at line 122 of file pipipi0DPFit.cpp.
Referenced by parseArg(), and runCanonicalFit().
string paramUp = "" |
Definition at line 121 of file pipipi0DPFit.cpp.
Referenced by parseArg(), and runCanonicalFit().
const fptype piPlusMass = 0.13957018 |
Definition at line 128 of file pipipi0DPFit.cpp.
Referenced by cpuGetM23(), createWeightHistogram(), getAdaptiveChisquare(), getToyData(), makeBackground3DalitzParam(), makeBackground4DalitzParam(), makeBkg2DalitzPdf(), makeDalitzPlots(), makeSignalPdf(), makeToyDalitzPlots(), runEfficiencyFit(), and runSigmaFit().
const fptype piZeroMass = 0.1349766 |
Definition at line 129 of file pipipi0DPFit.cpp.
Referenced by cpuGetM23(), createWeightHistogram(), getAdaptiveChisquare(), getToyData(), makeBackground3DalitzParam(), makeBackground4DalitzParam(), makeBkg2DalitzPdf(), makeDalitzPlots(), makeSignalPdf(), makeToyDalitzPlots(), runEfficiencyFit(), and runSigmaFit().
bool polyEff = false |
Definition at line 100 of file pipipi0DPFit.cpp.
Referenced by makeOverallSignal(), and parseArg().
bool saveEffPlot = true |
Definition at line 101 of file pipipi0DPFit.cpp.
Referenced by makeOverallSignal().
GooPdf* sig0_jsugg = nullptr |
Definition at line 165 of file pipipi0DPFit.cpp.
Observable* sigma = nullptr |
Definition at line 75 of file pipipi0DPFit.cpp.
Referenced by landauGaussPDF(), loadDataFile(), main(), makeDalitzPlots(), and makeSigmaHists().
TH1F** sigma_dat_hists = 0 |
Definition at line 1252 of file pipipi0DPFit.cpp.
UnbinnedDataSet** sigma_data = 0 |
Definition at line 1254 of file pipipi0DPFit.cpp.
TH1F** sigma_pdf_hists = 0 |
Definition at line 1253 of file pipipi0DPFit.cpp.
TddpPdf* signalDalitz = nullptr |
Definition at line 158 of file pipipi0DPFit.cpp.
Referenced by GooFit::DalitzPlotter::DalitzPlotter().
char strbuffer[1000] |
Definition at line 179 of file pipipi0DPFit.cpp.
const float toyBkgTimeMean = 0.0 |
Definition at line 176 of file pipipi0DPFit.cpp.
const float toyBkgTimeRMS = 0.7 |
Definition at line 177 of file pipipi0DPFit.cpp.
std::string toyFileName |
Definition at line 178 of file pipipi0DPFit.cpp.
const float toySigFraction = 0.6 |
Definition at line 175 of file pipipi0DPFit.cpp.
TH2F* underlyingBins = nullptr |
Definition at line 63 of file pipipi0DPFit.cpp.
Referenced by createWeightHistogram(), loadDataFile(), makeOverallSignal(), and runEfficiencyFit().
double upperTime = 3 |
Definition at line 98 of file pipipi0DPFit.cpp.
Referenced by makeFullFitVariables(), parseArg(), and runToyFit().
bool useHistogramSigma = false |
Definition at line 102 of file pipipi0DPFit.cpp.
Referenced by makeOverallSignal(), and parseArg().
Observable* wBkg1 = nullptr |
Definition at line 77 of file pipipi0DPFit.cpp.
Referenced by loadDataFile().
Observable* wBkg2 = nullptr |
Definition at line 78 of file pipipi0DPFit.cpp.
Referenced by loadDataFile().
Observable* wBkg3 = nullptr |
Definition at line 79 of file pipipi0DPFit.cpp.
Referenced by loadDataFile().
Observable* wBkg4 = nullptr |
Definition at line 80 of file pipipi0DPFit.cpp.
Referenced by loadDataFile().
TH2F* weightHistogram = nullptr |
Definition at line 62 of file pipipi0DPFit.cpp.
Referenced by createWeightHistogram(), loadDataFile(), and runGeneratedMCFit().
std::vector<Variable> weights |
Definition at line 151 of file pipipi0DPFit.cpp.
Referenced by main().
Observable* wSig0 = nullptr |
Definition at line 76 of file pipipi0DPFit.cpp.
Referenced by loadDataFile().