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:246 Bool_t readData() Instruct the slaves to read the input data for the given experiment. Definition: LauSimFitMaster.cc:498 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:234 void addConParameters() Add parameters to the list of Gaussian constrained parameters. Definition: LauSimFitMaster.cc:750 Bool_t writeOutResults() Instruct the slaves to write out the fit results. Definition: LauSimFitMaster.cc:958 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:174 std::vector< StoreConstraints > storeCon_ Store the constraints for fit parameters until initialisation is complete. Definition: LauSimFitMaster.hh:180 std::vector< Double_t > vectorRes_ Likelihood values returned from the slaves. Definition: LauSimFitMaster.hh:255 std::map< TString, UInt_t > parIndices_ Map of parameter names to index in the values vector. Definition: LauSimFitMaster.hh:231 Bool_t withinAsymErrorCalc_ Flag to indicate if the asymmetric error calculation (e.g. MINOS) is currently running. Definition: LauSimFitMaster.hh:195 Struct to store constraint information until the fit is run. Definition: LauSimFitMaster.hh:168 std::vector< TString > conPars_ The list of LauParameter names to be used in the LauFormulaPar. Definition: LauSimFitMaster.hh:172 Double_t getLogLikelihoodPenalty() Calculate the penalty terms to the log likelihood from Gaussian constraints. Definition: LauSimFitMaster.cc:724 std::vector< std::vector< UInt_t > > slaveFreeIndices_ Lists of indices of free parameters for each slave. Definition: LauSimFitMaster.hh:249 void checkInitFitParams() Instruct the slaves to update the initial fit parameter values, if required. Definition: LauSimFitMaster.cc:587 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:740 std::vector< Double_t * > vectorPar_ Parameter values to send to the slaves. Definition: LauSimFitMaster.hh:252 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:216 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:393 void fitExpt(Bool_t useAsymmErrors, Bool_t twoStageFit) Perform the fit for the current experiment. Definition: LauSimFitMaster.cc:593 Bool_t finalise() Return the final parameters to the slaves and instruct them to perform their finalisation. Definition: LauSimFitMaster.cc:793 virtual void setParsFromMinuit(Double_t *par, Int_t npar) This function sets the parameter values from Minuit. Definition: LauSimFitMaster.cc:645 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:426 File containing declaration of LauFitObject class. Double_t width_ The width of the Gaussian constraint to be applied. Definition: LauSimFitMaster.hh:176 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:544 virtual Double_t getTotNegLogLikelihood() Calculate the new value of the negative log likelihood. Definition: LauSimFitMaster.cc:674 LauSimFitMaster & operator=(const LauSimFitMaster &rhs) Copy assignment operator (not implemented) 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 ![]() |