LauRooFitTask.cc
Go to the documentation of this file.
98 std::cerr << "ERROR in LauRooFitTask::initialise : The set of data variables does not contain the weighting variable \""
141 std::cerr << "ERROR in LauRooFitTask::verifyFitData : The data tree does not contain a branch for fit variable \""
153 std::cout << "WARNING in LauRooFitTask::verifyFitData : Cannot find branch \"iExpt\" in the tree, will treat all data as being from a single experiment"
177 // If we already prepared the entries in the fitPars_ vector then we only need to add the contents to the array
209 std::cerr << "ERROR in LauRooFitTask::prepareInitialParArray : The parameter is neither a RooRealVar nor a RooFormulaVar, don't know what to do"
285 std::cerr << "ERROR in LauRooFitTask::convertToLauParameters : One of the parameters is not a RooRealVar nor a RooFormulaVar, it is a: "
310 std::cerr << "ERROR in LauRooFitTask::setParsFromMinuit : Unexpected number of free parameters: "
396 std::cerr << "ERROR in LauRooFitTask::finaliseExperiment : Unexpected number of parameters received from coordinator"
406 std::cerr << "ERROR in LauRooFitTask::finaliseExperiment : Error reading parameter from coordinator"
LauParameter * convertToLauParameter(const RooRealVar *rooParameter) const Convert a RooRealVar into a LauParameter. Definition: LauRooFitTask.cc:240 virtual Bool_t verifyFitData(const TString &dataFileName, const TString &dataTreeName) Open the input file and verify that all required variables are present. Definition: LauRooFitTask.cc:107 File containing declaration of LauParameter class. File containing declaration of LauFitNtuple class. The base class for any task process for simultaneous/combined fits. Definition: LauSimFitTask.hh:50 void storeFitStatus(const LauAbsFitter::FitStatus &status, const TMatrixD &covMatrix) Store fit status information. Definition: LauFitObject.cc:93 const std::set< TString > & multiDimConstrainedPars() const Const access to the parameter names used in ND constraints. Definition: LauFitObject.hh:286 virtual UInt_t readExperimentData() Read in the data for the current experiment. Definition: LauRooFitTask.cc:333 void storeCorrMatrix(const UInt_t iExpt, const LauAbsFitter::FitStatus &fitStatus, const TMatrixD &covMatrix) Store the correlation matrix and other fit information. Definition: LauFitNtuple.cc:76 const LauAbsFitter::FitStatus & fitStatus() const Access the fit status information. Definition: LauFitObject.hh:333 virtual void finaliseExperiment(const LauAbsFitter::FitStatus &fitStat, const TObjArray *parsFromCoordinator, const TMatrixD *covMat, TObjArray &parsToCoordinator) Perform all finalisation actions. Definition: LauRooFitTask.cc:384 LauRooFitTask(RooAbsPdf &model, const Bool_t extended, const RooArgSet &vars, const TString &weightVarName="") Constructor. Definition: LauRooFitTask.cc:48 virtual void setParsFromMinuit(Double_t *par, Int_t npar) This function sets the parameter values from Minuit. Definition: LauRooFitTask.cc:300 Bool_t withinAsymErrorCalc() const Query whether the fit is calculating the asymmetric errors. Definition: LauFitObject.hh:94 std::vector< std::pair< RooRealVar *, LauParameter * > > convertToLauParameters(const RooFormulaVar *rooFormula) const Convert a RooFormulaVar into LauParameters. Definition: LauRooFitTask.cc:249 std::vector< LauParameter * > fitPars_ The fit parameters (as LauParameter's) Definition: LauRooFitTask.hh:177 const LauFitNtuple * fitNtuple() const Const access to the fit ntuple. Definition: LauSimFitTask.hh:100 TString weightVarName_ The name of the (optional) weight variable in the dataset. Definition: LauRooFitTask.hh:153 virtual void prepareInitialParArray(TObjArray &array) Package the initial fit parameters for transmission to the coordinator. Definition: LauRooFitTask.cc:168 void startNewFit(const UInt_t nPars, const UInt_t nFreePars) Indicate the start of a new fit. Definition: LauFitObject.cc:83 void storeParsAndErrors(const std::vector< LauParameter * > &fitVars, const std::set< TString > &constrainedVars, const std::vector< LauParameter > &extraVars) Store parameters and their errors. Definition: LauFitNtuple.cc:216 std::vector< RooRealVar * > fitVars_ The fit parameters (as RooRealVar's) Definition: LauRooFitTask.hh:174 const TMatrixD & covarianceMatrix() const Access the fit covariance matrix. Definition: LauFitObject.hh:345 File containing declaration of LauSimFitTask class. UInt_t eventsPerExpt() const Obtain the total number of events in the current experiment. Definition: LauFitObject.hh:109 File containing declaration of LauRooFitTask class. virtual void cacheInputFitVars() Cache the input data values to calculate the likelihood during the fit. Definition: LauRooFitTask.cc:375 virtual Double_t getTotNegLogLikelihood() Calculates the total negative log-likelihood. Definition: LauRooFitTask.cc:294 Generated by ![]() |