LauSimFitMaster.hh
Go to the documentation of this file.
64 void runSimFit( const TString& fitNtupleFileName, UInt_t nExpt, UInt_t firstExpt = 0, Bool_t useAsymmErrors = kFALSE, Bool_t twoStageFit = kFALSE );
101 virtual void addConstraint(const TString& formula, const std::vector<TString>& pars, const Double_t mean, const Double_t width);
std::vector< std::vector< UInt_t > > slaveIndices_ Lists of indices for each slave. Definition: LauSimFitMaster.hh:240 Bool_t readData() Instruct the slaves to read the input data for the given experiment. Definition: LauSimFitMaster.cc:490 ClassDef(LauSimFitMaster, 0) void getParametersFromSlaves() Determine/update the parameter initial values from all slaves. Definition: LauSimFitMaster.cc:206 std::map< UInt_t, TString > parNames_ Reverse map of index in the values vector to parameter names. Definition: LauSimFitMaster.hh:228 void addConParameters() Add parameters to the list of Gaussian constrained parameters. Definition: LauSimFitMaster.cc:739 Bool_t writeOutResults() Instruct the slaves to write out the fit results. Definition: LauSimFitMaster.cc:947 void getParametersFromSlavesFirstTime() Determine the parameter names and initial values from all slaves. Definition: LauSimFitMaster.cc:293 Double_t mean_ The mean value of the Gaussian constraint to be applied. Definition: LauSimFitMaster.hh:168 std::vector< StoreConstraints > storeCon_ Store the constraints for fit parameters until initialisation is complete. Definition: LauSimFitMaster.hh:174 std::vector< Double_t > vectorRes_ Likelihood values returned from the slaves. Definition: LauSimFitMaster.hh:246 std::map< TString, UInt_t > parIndices_ Map of parameter names to index in the values vector. Definition: LauSimFitMaster.hh:225 Bool_t withinAsymErrorCalc_ Flag to indicate if the asymmetric error calculation (e.g. MINOS) is currently running. Definition: LauSimFitMaster.hh:189 Struct to store constraint information until the fit is run. Definition: LauSimFitMaster.hh:162 std::vector< TString > conPars_ The list of LauParameter names to be used in the LauFormulaPar. Definition: LauSimFitMaster.hh:166 Double_t getLogLikelihoodPenalty() Calculate the penalty terms to the log likelihood from Gaussian constraints. Definition: LauSimFitMaster.cc:713 void checkInitFitParams() Instruct the slaves to update the initial fit parameter values, if required. Definition: LauSimFitMaster.cc:579 virtual void addConstraint(const TString &formula, const std::vector< TString > &pars, const Double_t mean, const Double_t width) Store constraint information for fit parameters. Definition: LauSimFitMaster.cc:729 std::vector< Double_t * > vectorPar_ Parameter values to send to the slaves. Definition: LauSimFitMaster.hh:243 void updateParametersFromSlaves() Update and verify the parameter initial values from all slaves. Definition: LauSimFitMaster.cc:223 std::vector< TMatrixD > covMatrices_ The covariance sub-matrices for each slave. Definition: LauSimFitMaster.hh:210 void checkParameter(const LauParameter *param, UInt_t index) const Check for compatibility between two same-named parameters, which should therefore be identical... Definition: LauSimFitMaster.cc:385 void fitExpt(Bool_t useAsymmErrors, Bool_t twoStageFit) Perform the fit for the current experiment. Definition: LauSimFitMaster.cc:585 Bool_t finalise() Return the final parameters to the slaves and instruct them to perform their finalisation. Definition: LauSimFitMaster.cc:782 virtual void setParsFromMinuit(Double_t *par, Int_t npar) This function sets the parameter values from Minuit. Definition: LauSimFitMaster.cc:637 void runSimFit(const TString &fitNtupleFileName, UInt_t nExpt, UInt_t firstExpt=0, Bool_t useAsymmErrors=kFALSE, Bool_t twoStageFit=kFALSE) Run the fit. Definition: LauSimFitMaster.cc:418 File containing declaration of LauFitObject class. Double_t width_ The width of the Gaussian constraint to be applied. Definition: LauSimFitMaster.hh:170 virtual void withinAsymErrorCalc(Bool_t inAsymErrCalc) Mark that the fit is calculating asymmetric errors. Definition: LauSimFitMaster.hh:75 Bool_t cacheInputData() Instruct the slaves to perform the caching. Definition: LauSimFitMaster.cc:536 virtual Double_t getTotNegLogLikelihood() Calculate the new value of the negative log likelihood. Definition: LauSimFitMaster.cc:666 Pure abstract base class for defining a parameter containing an R value. Definition: LauAbsRValue.hh:29 The abstract interface for the objects that control the calculation of the likelihood. Definition: LauFitObject.hh:26 Generated by 1.8.5 |