LauCPFitModel.hh
Go to the documentation of this file.
264 virtual std::map<TString, Double_t> getDPLikelihoods( const Double_t m13Sq, const Double_t m23Sq );
462 Double_t setSPlotNtupleBranchValues( LauPdfPList* extraPdfs, const TString& prefix, UInt_t iEvt );
virtual Double_t getTotEvtLikelihood(UInt_t iEvt) Get the total likelihood for each event. Definition: LauCPFitModel.cc:2328 virtual void getEvtDPLikelihood(UInt_t iEvt) Calculate the signal and background likelihoods for the DP for a given event. Definition: LauCPFitModel.cc:2411 File containing declaration of LauAbsFitModel class. void setExtraNtupleVars() Set-up other parameters that are derived from the fit results, e.g. fit fractions. Definition: LauCPFitModel.cc:857 void embedPosSignal(const TString &fileName, const TString &treeName, Bool_t reuseEventsWithinEnsemble, Bool_t reuseEventsWithinExperiment=kFALSE, Bool_t useReweighting=kFALSE) Embed full simulation events for the B+ signal, rather than generating toy from the PDFs. Definition: LauCPFitModel.cc:3254 Class for defining the abstract interface for complex coefficient classes. Definition: LauAbsCoeffSet.hh:48 LauEffModel * scfFracHist_ The histogram giving the DP-dependence of the SCF fraction. Definition: LauCPFitModel.hh:662 virtual void storePerEvtLlhds() Store the per event likelihood values. Definition: LauCPFitModel.cc:2951 virtual void cacheInputFitVars() Read in the input fit data variables, e.g. m13Sq and m23Sq. Definition: LauCPFitModel.cc:2188 virtual Bool_t genExpt() Toy MC generation and fitting overloaded functions. Definition: LauCPFitModel.cc:1624 Bool_t useSCFHist() const Determine whether the SCF fraction is DP-dependent. Definition: LauCPFitModel.hh:152 virtual void printAsymmetries(std::ostream &output) Print the asymmetries. Definition: LauCPFitModel.cc:1344 virtual void setupSPlotNtupleBranches() Add branches to store experiment number and the event number within the experiment. Definition: LauCPFitModel.cc:2618 virtual void getEvtExtraLikelihoods(UInt_t iEvt) Determine the signal and background likelihood for the extra variables for a given event. Definition: LauCPFitModel.cc:2566 The abstract interface for a background Dalitz plot model. Definition: LauAbsBkgndDPModel.hh:45 virtual void writeOutTable(const TString &outputFile) Write the fit results in latex table format. Definition: LauCPFitModel.cc:1357 std::vector< Double_t > fakeJacobians_ The cached values of the sqDP jacobians for each true bin. Definition: LauCPFitModel.hh:677 LauParArray negFitFracEffUnCorr_ Fit B- fractions (uncorrected for the efficiency) Definition: LauCPFitModel.hh:596 LauCPFitModel(LauIsobarDynamics *negModel, LauIsobarDynamics *posModel, Bool_t tagged=kTRUE, const TString &tagVarName="charge") Constructor. Definition: LauCPFitModel.cc:68 void setBkgndPdfs(const TString &bkgndClass, LauAbsPdf *negPdf, LauAbsPdf *posPdf) Set the background PDFs. Definition: LauCPFitModel.cc:433 UInt_t nNormPar_ Number of normalisation parameters (yields, asymmetries) Definition: LauCPFitModel.hh:584 void setBkgndDPModels(const TString &bkgndClass, LauAbsBkgndDPModel *negModel, LauAbsBkgndDPModel *posModel) Set the background DP models. Definition: LauCPFitModel.cc:359 File containing declaration of LauParameter class. void generateExtraPdfValues(LauPdfPList *extraPdfs, LauEmbeddedData *embeddedData) Generate from the extra PDFs. Definition: LauCPFitModel.cc:2075 void calcExtraFractions(Bool_t initValues=kFALSE) Calculate the CP-conserving and CP-violating fit fractions. Definition: LauCPFitModel.cc:1020 Bool_t smearSCFDP() const Determine if we are smearing the SCF DP PDF. Definition: LauCPFitModel.hh:155 std::vector< LauComplex > negCoeffs_ The complex coefficients for B-. Definition: LauCPFitModel.hh:689 virtual void setupBkgndVectors() Define the length of the background vectors. Definition: LauCPFitModel.cc:137 LauCPFitModel & operator=(const LauCPFitModel &rhs) Copy assignment operator (not implemented) void fixParams(std::vector< LauParameter * > ¶ms) Set a vector of LauParameters according to the specified method. Definition: LauCPFitModel.cc:3731 std::pair< LauGenInfo, Bool_t > eventsToGenerate() Determine the number of events to generate for each hypothesis. Definition: LauCPFitModel.cc:1525 std::vector< Double_t > fakeSCFFracs_ The cached values of the SCF fraction for each bin centre. Definition: LauCPFitModel.hh:671 void embedNegSignal(const TString &fileName, const TString &treeName, Bool_t reuseEventsWithinEnsemble, Bool_t reuseEventsWithinExperiment=kFALSE, Bool_t useReweighting=kFALSE) Embed full simulation events for the B- signal, rather than generating toy from the PDFs. Definition: LauCPFitModel.cc:3189 std::vector< LauAbsRValue * > LauBkgndYieldList Typedef for a vector of background yields. Definition: LauCPFitModel.hh:277 std::set< TString > NameSet Type to store names, e.g. of the discriminating/control variables. Definition: LauSPlot.hh:72 virtual void printFitFractions(std::ostream &output) Print the fit fractions, total DP rate and mean efficiency. Definition: LauCPFitModel.cc:1317 std::vector< LauPdfPList > LauBkgndPdfsList Typedef for a vector of background PDFs. Definition: LauCPFitModel.hh:274 virtual void setNBkgndEvents(LauAbsRValue *nBkgndEvents) Set the background event yield(s) Definition: LauCPFitModel.cc:220 Class that implements the efficiency description across the signal Dalitz plot. Definition: LauEffModel.hh:50 std::vector< Double_t > recoSCFFracs_ The cached values of the SCF fraction for each event. Definition: LauCPFitModel.hh:668 std::vector< Double_t > bkgndExtraLike_ Background likelihood value(s) from extra PDFs. Definition: LauCPFitModel.hh:737 Double_t getParamFromTree(TTree &tree, const TString &name) Retrieve a named parameter from a TTree. Definition: LauCPFitModel.cc:3690 std::vector< LauAbsBkgndDPModel * > LauBkgndDPModelList Typedef for a vector of background DP models. Definition: LauCPFitModel.hh:271 void setSignalDPParameters() Set the fit parameters for the DP model. Definition: LauCPFitModel.cc:748 std::map< TString, Double_t > NumbMap Type to associate a category name with a double precision number, e.g. a yield or PDF value for a giv... Definition: LauSPlot.hh:75 File containing declaration of LauComplex class. void appendBinCentres(LauFitDataTree *inputData) Append fake data points to the inputData for each bin in the SCF smearing matrix. Definition: LauCPFitModel.cc:2285 LauIsobarDynamics * getNegSigModel() Retrieve the signal DP model for the B-. Definition: LauCPFitModel.hh:502 virtual void setAmpCoeffSet(LauAbsCoeffSet *coeffSet) Set the DP amplitude coefficients. Definition: LauCPFitModel.cc:470 virtual void recalculateNormalisation() Recalculate Normalization the signal DP models. Definition: LauCPFitModel.cc:718 std::vector< Double_t > recoJacobians_ The cached values of the sqDP jacobians for each event. Definition: LauCPFitModel.hh:674 std::vector< Bool_t > LauBkgndReuseEventsList Typedef for a vector of booleans to flag if events are reused. Definition: LauCPFitModel.hh:283 void embedNegBkgnd(const TString &bgClass, const TString &fileName, const TString &treeName, Bool_t reuseEventsWithinEnsemble, Bool_t reuseEventsWithinExperiment=kFALSE) Embed full simulation events for the given background class, rather than generating toy from the PDFs... Definition: LauCPFitModel.cc:3217 virtual Bool_t splitSignal() const Check if the signal is split into well-reconstructed and mis-reconstructed types. Definition: LauCPFitModel.hh:483 std::vector< std::vector< LauParameter > > LauParArray Type to define an array of parameters. Definition: LauParameter.hh:570 LauBkgndDPModelList posBkgndDPModels_ The B+ background Dalitz plot models. Definition: LauCPFitModel.hh:545 virtual void weightEvents(const TString &dataFileName, const TString &dataTreeName) Weight events based on the DP model. Definition: LauCPFitModel.cc:3319 std::vector< LauEmbeddedData * > LauBkgndEmbDataList Typedef for a vector of embedded data objects. Definition: LauCPFitModel.hh:280 LauParArray posFitFracEffUnCorr_ Fit B+ fractions (uncorrected for the efficiency) Definition: LauCPFitModel.hh:599 virtual LauSPlot::TwoDMap twodimPDFs() const Returns the species and variables for all 2D PDFs in the fit. Definition: LauCPFitModel.cc:2871 void embedPosBkgnd(const TString &bgClass, const TString &fileName, const TString &treeName, Bool_t reuseEventsWithinEnsemble, Bool_t reuseEventsWithinExperiment=kFALSE) Embed full simulation events for the given background class, rather than generating toy from the PDFs... Definition: LauCPFitModel.cc:3282 Pure abstract base class for defining a parameter containing an R value. Definition: LauAbsRValue.hh:45 void calcAsymmetries(Bool_t initValues=kFALSE) Calculate the CP asymmetries. Definition: LauCPFitModel.cc:1073 Class for representing the 4D smearing matrix for mis-reconstructed signal (self cross feed) Definition: LauScfMap.hh:45 virtual LauSPlot::NumbMap freeSpeciesNames() const Returns the names and yields of species that are free in the fit. Definition: LauCPFitModel.cc:2828 std::vector< LauParameter > fitFracAsymm_ The fit fraction asymmetries. Definition: LauCPFitModel.hh:608 void fixParam(LauParameter *param, const Double_t val, const Bool_t fix) Set a LauParameter to a given value. Definition: LauCPFitModel.cc:3712 virtual void savePDFPlotsWave(const TString &label, const Int_t &spin) Save the pdf Plots for the sum of resonances of a given spin. Definition: LauCPFitModel.cc:3568 virtual void savePDFPlots(const TString &label) Save the pdf Plots for all the resonances. Definition: LauCPFitModel.cc:3437 void setSignalPdfs(LauAbsPdf *negPdf, LauAbsPdf *posPdf) Set the signal PDFs. Definition: LauCPFitModel.cc:385 virtual Bool_t scfDPSmear() const Check if the mis-reconstructed signal is to be smeared in the DP. Definition: LauCPFitModel.hh:486 void addSPlotNtupleBranches(const LauPdfPList *extraPdfs, const TString &prefix) Add sPlot branches for the extra PDFs. Definition: LauCPFitModel.cc:2685 virtual void propagateParUpdates() Calculate things that depend on the fit parameters after they have been updated by Minuit. Definition: LauCPFitModel.cc:2141 virtual std::map< TString, LauComplex > getDPAmps(const Double_t m13Sq, const Double_t m23Sq) Calculate the DP amplitude(s) for a given DP position. Definition: LauCPFitModel.cc:3110 Bool_t storeSignalMCMatch(LauEmbeddedData *embeddedData) Store the MC truth info on the TM/SCF nature of the embedded signal event. Definition: LauCPFitModel.cc:2115 Double_t setSPlotNtupleBranchValues(LauPdfPList *extraPdfs, const TString &prefix, UInt_t iEvt) Set the branches for the sPlot ntuple with extra PDFs. Definition: LauCPFitModel.cc:2739 LauCPFitModel(const LauCPFitModel &rhs) Copy constructor (not implemented) virtual Double_t getEventSum() const Get the total number of events. Definition: LauCPFitModel.cc:2397 virtual Double_t getEvtSCFDPLikelihood(UInt_t iEvt) Calculate the SCF likelihood for the DP for a given event. Definition: LauCPFitModel.cc:2495 LauBkgndDPModelList negBkgndDPModels_ The B- background Dalitz plot models. Definition: LauCPFitModel.hh:542 std::map< std::pair< TString, Int_t >, std::pair< Int_t, Double_t > > LauGenInfo Define a map to be used to store a category name and numbers. Definition: LauCPFitModel.hh:268 virtual void setNSigEvents(LauParameter *nSigEvents) Set the signal event yield. Definition: LauCPFitModel.cc:154 void setExtraPdfParameters() Set the fit parameters for the extra PDFs. Definition: LauCPFitModel.cc:774 virtual LauSPlot::NumbMap fixdSpeciesNames() const Returns the names and yields of species that are fixed in the fit. Definition: LauCPFitModel.cc:2852 void setSCFPdfs(LauAbsPdf *negPdf, LauAbsPdf *posPdf) Set the SCF PDF for a given variable. Definition: LauCPFitModel.cc:409 Bool_t useSCF() const Determine whether we are splitting the signal into TM and SCF parts. Definition: LauCPFitModel.hh:149 std::vector< LauComplex > posCoeffs_ The complex coefficients for B+. Definition: LauCPFitModel.hh:692 void updateSigEvents() Update the signal events after Minuit sets background parameters. Definition: LauCPFitModel.cc:2156 std::multimap< TString, std::pair< TString, TString > > TwoDMap Type to associate the name of the species that have 2D PDFs with the names of the two variables invol... Definition: LauSPlot.hh:81 LauIsobarDynamics * getPosSigModel() Retrieve the signal DP model for the B+. Definition: LauCPFitModel.hh:505 std::vector< Double_t > bkgndTotalLike_ Total background likelihood(s) Definition: LauCPFitModel.hh:746 Class to store the data for embedding in toy experiments. Definition: LauEmbeddedData.hh:46 Class for defining signal dynamics using the isobar model. Definition: LauIsobarDynamics.hh:53 void splitSignalComponent(const TH2 *dpHisto, const Bool_t upperHalf=kFALSE, const Bool_t fluctuateBins=kFALSE, LauScfMap *scfMap=0) Split the signal component into well-reconstructed and mis-reconstructed parts. Definition: LauCPFitModel.cc:313 virtual LauSPlot::NameSet variableNames() const Returns the names of all variables in the fit. Definition: LauCPFitModel.cc:2804 std::vector< Double_t > bkgndDPLike_ Background DP likelihood value(s) Definition: LauCPFitModel.hh:728 LauBkgndReuseEventsList reuseBkgnd_ Vector of booleans to reuse background events. Definition: LauCPFitModel.hh:718 virtual std::map< TString, Double_t > getDPLikelihoods(const Double_t m13Sq, const Double_t m23Sq) Calculate the DP likelihood(s) for a given DP position. Definition: LauCPFitModel.cc:3134 virtual void finaliseFitResults(const TString &tablePrefixName) Get the fit results and store them. Definition: LauCPFitModel.cc:1092 Generated by 1.8.18 |