LauSimFitTask.cc
Go to the documentation of this file.
80 std::cerr << "WARNING in LauSimFitTask::runTask : Constraints have been added but these will be ignored - they should have been added to the coordinator process"
118 std::cerr << "ERROR in LauSimFitTask::connectToCoordinator : coordinator socket already present"
137 std::cout << "INFO in LauSimFitTask::connectToCoordinator : Established connection to coordinator on port "
162 std::cout << "INFO in LauSimFitTask::processCoordinatorRequests : Received message from coordinator: "
194 std::cerr << "WARNING in LauSimFitTask::processCoordinatorRequests : Zero events in experiment "
237 std::cout << "INFO in LauSimFitTask::processCoordinatorRequests : Message from coordinator to finish"
247 std::cerr << "ERROR in LauSimFitTask::processCoordinatorRequests : Unexpected message from coordinator"
254 std::cout << "INFO in LauSimFitTask::processCoordinatorRequests : Received message from coordinator: Finalise"
267 std::cerr << "ERROR in LauSimFitTask::processCoordinatorRequests : Error reading parameters from coordinator"
275 std::cerr << "ERROR in LauSimFitTask::processCoordinatorRequests : Error reading covariance matrix from coordinator"
virtual void setParsFromMinuit(Double_t *par, Int_t npar)=0 This function sets the parameter values from Minuit. virtual void runTask(const TString &dataFileName, const TString &dataTreeName, const TString &histFileName, const TString &tableFileName="", const TString &addressCoordinator="localhost", const UInt_t portCoordinator=9090) Start the task process for simultaneous fitting. Definition: LauSimFitTask.cc:61 virtual Bool_t verifyFitData(const TString &dataFileName, const TString &dataTreeName)=0 Open the input file and verify that all required variables are present. File containing declaration of LauFitNtuple class. Bool_t useAsymmFitErrors() const Report whether or not calculation of asymmetric errors is enabled. Definition: LauFitObject.hh:60 virtual UInt_t readExperimentData()=0 Read in the data for the current experiment. virtual void prepareInitialParArray(TObjArray &array)=0 Package the initial fit parameters for transmission to the coordinator. const std::vector< FormulaConstraint > & formulaConstraints() const Const access to the formula constraints store. Definition: LauFitObject.hh:265 virtual Double_t getTotNegLogLikelihood()=0 Calculates the total negative log-likelihood. Bool_t withinAsymErrorCalc() const Query whether the fit is calculating the asymmetric errors. Definition: LauFitObject.hh:94 void processCoordinatorRequests() Listen for requests from the coordinator and act accordingly. Definition: LauSimFitTask.cc:147 virtual void cacheInputFitVars()=0 Cache the input data values to calculate the likelihood during the fit. virtual void finaliseExperiment(const LauAbsFitter::FitStatus &fitStat, const TObjArray *parsFromCoordinator, const TMatrixD *covMat, TObjArray &parsToCoordinator)=0 Perform all finalisation actions. Double_t * parValues_ Parameter values array (for reading from the coordinator) Definition: LauSimFitTask.hh:186 virtual void setupResultsOutputs(const TString &histFileName, const TString &tableFileName) Setup saving of fit results to ntuple/LaTeX table etc. Definition: LauSimFitTask.cc:102 File containing declaration of LauSimFitTask class. void connectToCoordinator(const TString &addressCoordinator, const UInt_t portCoordinator) Establish the connection to the coordinator process. Definition: LauSimFitTask.cc:114 void setCurrentExperiment(const UInt_t curExpt) Set the ID of the current experiment. Definition: LauFitObject.hh:298 TMessage * messageFromCoordinator_ Message from coordinator to the tasks. Definition: LauSimFitTask.hh:177 Generated by 1.8.18 |