LauCPFitModel.hh
Go to the documentation of this file.
57 LauCPFitModel(LauAbsDPDynamics* negModel, LauAbsDPDynamics* posModel, Bool_t tagged = kTRUE, const TString& tagVarName = "charge");
77 virtual void setNSigEvents(Double_t nSigEvents, Bool_t fixSigEvents, Double_t sigAsym, Bool_t fixSigAsym, Bool_t forceAsym = kFALSE);
85 virtual void setNBkgndEvents(const TString& bkgndClass, Double_t nBkgndEvents, Bool_t fixBkgndEvents = kFALSE);
95 virtual void setNBkgndEvents(const TString& bkgndClass, Double_t nBkgndEvents, Bool_t fixBkgndEvents, Double_t bkgndAsym, Bool_t fixBkgndAsym);
103 void setBkgndDPModels(const TString& bkgndClass, LauAbsBkgndDPModel* negModel, LauAbsBkgndDPModel* posModel);
115 void splitSignalComponent( const TH2* dpHisto, Bool_t upperHalf = kFALSE, LauScfMap* scfMap = 0 );
void generateExtraPdfValues(LauPdfList *extraPdfs, LauEmbeddedData *embeddedData) Generate from the extra PDFs. Definition: LauCPFitModel.cc:1665 void splitSignalComponent(const TH2 *dpHisto, Bool_t upperHalf=kFALSE, LauScfMap *scfMap=0) Split the signal component into well-reconstructed and mis-reconstructed parts. Definition: LauCPFitModel.cc:205 Class for defining the abstract interface for signal Dalitz plot dynamics. Definition: LauAbsDPDynamics.hh:39 The abstract interface for a background Dalitz plot model. Definition: LauAbsBkgndDPModel.hh:31 virtual LauSPlot::NameSet variableNames() const Returns the names of all variables in the fit. Definition: LauCPFitModel.cc:2359 LauKinematics * negKinematics_ The B- Dalitz plot kinematics object. Definition: LauCPFitModel.hh:444 virtual void setNBkgndEvents(const TString &bkgndClass, Double_t nBkgndEvents, Bool_t fixBkgndEvents=kFALSE) Set the background event yield(s) Definition: LauCPFitModel.cc:155 virtual void printAsymmetries(std::ostream &output) Print the asymmetries. Definition: LauCPFitModel.cc:1017 Bool_t smearSCFDP() const Determine if we are smearing the SCF DP PDF. Definition: LauCPFitModel.hh:134 void addSPlotNtupleBranches(const LauPdfList *extraPdfs, const TString &prefix) Add sPlot branches for the extra PDFs. Definition: LauCPFitModel.cc:2254 void setExtraPdfParameters() Set the fit parameters for the extra PDFs. Definition: LauCPFitModel.cc:541 LauBkgndDPModelList posBkgndDPModels_ The B+ background Dalitz plot models. Definition: LauCPFitModel.hh:441 Bool_t useSCF() const Determine whether we are splitting the signal into TM and SCF parts. Definition: LauCPFitModel.hh:128 File containing declaration of LauAbsFitModel class. void calcExtraFractions(Bool_t initValues=kFALSE) Calculate the CP-conserving and CP-violating fit fractions. Definition: LauCPFitModel.cc:745 std::vector< LauComplex > negCoeffs_ The complex coefficients for B-. Definition: LauCPFitModel.hh:579 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:68 virtual Bool_t scfDPSmear() const Check if the mis-reconstructed signal is to be smeared in the DP. Definition: LauCPFitModel.hh:417 virtual void getEvtExtraLikelihoods(UInt_t iEvt) Determine the signal and background likelihood for the extra variables for a given event... Definition: LauCPFitModel.cc:2137 virtual Bool_t genExpt() Toy MC generation and fitting overloaded functions. Definition: LauCPFitModel.cc:1239 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:2632 std::vector< Double_t > fakeSCFFracs_ The cached values of the SCF fraction for each bin centre. Definition: LauCPFitModel.hh:561 std::vector< std::vector< LauParameter > > LauParArray Type to define an array of parameters. Definition: LauParameter.hh:510 Bool_t storeSignalMCMatch(LauEmbeddedData *embeddedData) Store the MC truth info on the TM/SCF nature of the embedded signal event. Definition: LauCPFitModel.cc:1702 LauGenInfo eventsToGenerate() Determine the number of events to generate for each hypothesis. Definition: LauCPFitModel.cc:1168 std::vector< LauParameter > LauBkgndYieldList Typedef for a vector of background yields. Definition: LauCPFitModel.hh:229 std::vector< Double_t > bkgndTotalLike_ Total background likelihood(s) Definition: LauCPFitModel.hh:635 std::vector< Double_t > recoSCFFracs_ The cached values of the SCF fraction for each event. Definition: LauCPFitModel.hh:558 std::vector< Double_t > bkgndExtraLike_ Background likelihood value(s) from extra PDFs. Definition: LauCPFitModel.hh:626 virtual void cacheInputFitVars() Read in the input fit data variables, e.g. m13Sq and m23Sq. Definition: LauCPFitModel.cc:1768 void setSignalDPParameters() Set the fit parameters for the DP model. Definition: LauCPFitModel.cc:508 void appendBinCentres(LauFitDataTree *inputData) Definition: LauCPFitModel.cc:1857 virtual void checkInitFitParams() Check the initial fit parameters. Definition: LauCPFitModel.cc:1146 virtual void finaliseFitResults(const TString &tablePrefixName) Get the fit results and store them. Definition: LauCPFitModel.cc:817 virtual void printFitFractions(std::ostream &output) Print the fit fractions, total DP rate and mean efficiency. Definition: LauCPFitModel.cc:996 std::vector< LauAbsBkgndDPModel * > LauBkgndDPModelList Typedef for a vector of background DP models. Definition: LauCPFitModel.hh:223 File containing declaration of LauParameter class. virtual Bool_t splitSignal() const Check if the signal is split into well-reconstructed and mis-reconstructed types. ... Definition: LauCPFitModel.hh:414 std::vector< LauPdfList > LauBkgndPdfsList Typedef for a vector of background PDFs. Definition: LauCPFitModel.hh:226 void calcAsymmetries(Bool_t initValues=kFALSE) Calculate the CP asymmetries. Definition: LauCPFitModel.cc:798 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:62 LauCPFitModel(LauAbsDPDynamics *negModel, LauAbsDPDynamics *posModel, Bool_t tagged=kTRUE, const TString &tagVarName="charge") Constructor. Definition: LauCPFitModel.cc:53 virtual LauSPlot::NumbMap fixdSpeciesNames() const Returns the names and yields of species that are fixed in the fit. Definition: LauCPFitModel.cc:2398 virtual void setNSigEvents(Double_t nSigEvents, Bool_t fixSigEvents=kFALSE) Set the signal event yield. Definition: LauCPFitModel.cc:123 Class for defining the abstract interface for complex coefficient classes. Definition: LauAbsCoeffSet.hh:34 void setAmpCoeffSet(LauAbsCoeffSet *coeffSet) Set the DP amplitude coefficients. Definition: LauCPFitModel.cc:337 Class to store the data for embedding in toy experiments. Definition: LauEmbeddedData.hh:33 virtual void setupSPlotNtupleBranches() Add branches to store experiment number and the event number within the experiment. Definition: LauCPFitModel.cc:2187 std::vector< Double_t > bkgndDPLike_ Background DP likelihood value(s) Definition: LauCPFitModel.hh:617 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:2658 LauBkgndReuseEventsList reuseBkgnd_ Vector of booleans to reuse background events. Definition: LauCPFitModel.hh:607 virtual void weightEvents(const TString &dataFileName, const TString &dataTreeName) Weight events based on the DP model. Definition: LauCPFitModel.cc:2748 virtual void writeOutTable(const TString &outputFile) Write the fit results in latex table format. Definition: LauCPFitModel.cc:1029 Bool_t useSCFHist() const Determine whether the SCF fraction is DP-dependent. Definition: LauCPFitModel.hh:131 Class that implements the efficiency description across the signal Dalitz plot. Definition: LauEffModel.hh:37 Double_t setSPlotNtupleBranchValues(LauPdfList *extraPdfs, const TString &prefix, UInt_t iEvt) Set the branches for the sPlot ntuple with extra PDFs. Definition: LauCPFitModel.cc:2302 std::vector< LauComplex > posCoeffs_ The complex coefficients for B+. Definition: LauCPFitModel.hh:582 void updateSigEvents() Update the signal events after Minuit sets background parameters. Definition: LauCPFitModel.cc:1743 virtual void setupBkgndVectors() Define the length of the background vectors. Definition: LauCPFitModel.cc:106 void setSignalPdfs(LauAbsPdf *negPdf, LauAbsPdf *posPdf) Set the signal PDFs. Definition: LauCPFitModel.cc:263 virtual LauSPlot::TwoDMap twodimPDFs() const Returns the species and variables for all 2D PDFs in the fit. Definition: LauCPFitModel.cc:2417 virtual LauSPlot::NumbMap freeSpeciesNames() const Returns the names and yields of species that are free in the fit. Definition: LauCPFitModel.cc:2379 LauEffModel * scfFracHist_ The histogram giving the DP-dependence of the SCF fraction. Definition: LauCPFitModel.hh:552 virtual void propagateParUpdates() Definition: LauCPFitModel.cc:1728 Class for representing the 4D smearing matrix for mis-reconstructed signal (self cross feed) ... Definition: LauScfMap.hh:29 virtual void storePerEvtLlhds() Store the per event likelihood values. Definition: LauCPFitModel.cc:2482 std::vector< Double_t > recoJacobians_ The cached values of the sqDP jacobians for each event. Definition: LauCPFitModel.hh:564 std::vector< Bool_t > LauBkgndReuseEventsList Typedef for a vector of booleans to flag if events are reused. Definition: LauCPFitModel.hh:235 virtual Double_t getEventSum() const Get the total number of events. Definition: LauCPFitModel.cc:1966 LauBkgndDPModelList negBkgndDPModels_ The B- background Dalitz plot models. Definition: LauCPFitModel.hh:438 std::vector< Double_t > fakeJacobians_ The cached values of the sqDP jacobians for each true bin. Definition: LauCPFitModel.hh:567 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:2716 virtual Double_t getEvtSCFDPLikelihood(UInt_t iEvt) Calculate the SCF likelihood for the DP for a given event. Definition: LauCPFitModel.cc:2065 std::vector< LauEmbeddedData * > LauBkgndEmbDataList Typedef for a vector of embedded data objects. Definition: LauCPFitModel.hh:232 void setSCFPdfs(LauAbsPdf *negPdf, LauAbsPdf *posPdf) Set the SCF PDF for a given variable. Definition: LauCPFitModel.cc:284 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:220 void setBkgndPdfs(const TString &bkgndClass, LauAbsPdf *negPdf, LauAbsPdf *posPdf) Set the background PDFs. Definition: LauCPFitModel.cc:305 virtual Double_t getTotEvtLikelihood(UInt_t iEvt) Get the total likelihood for each event. Definition: LauCPFitModel.cc:1900 virtual void getEvtDPLikelihood(UInt_t iEvt) Calculate the signal and background likelihoods for the DP for a given event. Definition: LauCPFitModel.cc:1978 void setBkgndDPModels(const TString &bkgndClass, LauAbsBkgndDPModel *negModel, LauAbsBkgndDPModel *posModel) Set the background DP models. Definition: LauCPFitModel.cc:242 std::set< TString > NameSet Type to store names, e.g. of the discriminating/control variables. Definition: LauSPlot.hh:59 LauKinematics * posKinematics_ The B+ Dalitz plot kinematics object. Definition: LauCPFitModel.hh:447 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:2690 std::vector< LauParameter > fitFracAsymm_ The fit fraction asymmetries. Definition: LauCPFitModel.hh:498 void setExtraNtupleVars() Set-up other parameters that are derived from the fit results, e.g. fit fractions. Definition: LauCPFitModel.cc:622 Generated by 1.8.5 |