LauSimFitSlave.cc
Go to the documentation of this file.
51 std::cerr << "ERROR in LauSimFitSlave::connectToMaster : master socket already present" << std::endl;
64 std::cout << "INFO in LauSimFitSlave::connectToMaster : Established connection to master on port " << portMaster << std::endl;
83 std::cout << "INFO in LauSimFitSlave::processMasterRequests : Received message from master: " << msgStr << std::endl;
112 std::cerr << "WARNING in LauSimFitSlave::processMasterRequests : Zero events in experiment " << iExpt << ", the master should skip this experiment..." << std::endl;
142 std::cout << "INFO in LauSimFitSlave::processMasterRequests : Message from master to finish" << std::endl;
147 std::cerr << "ERROR in LauSimFitSlave::processMasterRequests : Unexpected message from master" << std::endl;
154 std::cout << "INFO in LauSimFitSlave::processMasterRequests : Received message from master: Finalise" << std::endl;
161 TObjArray * objarray = dynamic_cast<TObjArray*>( messageFromMaster_->ReadObject( messageFromMaster_->GetClass() ) );
163 std::cerr << "ERROR in LauSimFitSlave::processMasterRequests : Error reading parameters from master" << std::endl;
167 TMatrixD * covMat = dynamic_cast<TMatrixD*>( messageFromMaster_->ReadObject( messageFromMaster_->GetClass() ) );
169 std::cerr << "ERROR in LauSimFitSlave::processMasterRequests : Error reading covariance matrix from master" << std::endl;
194 std::cerr << "ERROR in LauSimFitSlave::processMasterRequests : Unexpected number of parameters received from master" << std::endl;
210 std::cerr << "ERROR in LauSimFitSlave::processMasterRequests : Unexpected message type" << std::endl;
ClassImp(LauAbsCoeffSet) void processMasterRequests() Listen for requests from the master and act accordingly. Definition: LauSimFitSlave.cc:68 void connectToMaster(const TString &addressMaster, const UInt_t portMaster) Establish the connection to the master process. Definition: LauSimFitSlave.cc:48 virtual void prepareInitialParArray(TObjArray &array)=0 Package the initial fit parameters for transmission to the master. virtual void setParsFromMinuit(Double_t *par, Int_t npar)=0 This function sets the parameter values from Minuit. File containing declaration of LauSimFitSlave class. virtual Double_t getTotNegLogLikelihood()=0 Calculates the total negative log-likelihood. The base class for any slave process for simultaneous/combined fits. Definition: LauSimFitSlave.hh:36 virtual void cacheInputFitVars()=0 Cache the input data values to calculate the likelihood during the fit. virtual UInt_t readExperimentData(const UInt_t exptIndex)=0 Read in the data for the specified experiment. Double_t * parValues_ Parameter values array (for reading from the master) Definition: LauSimFitSlave.hh:128 virtual void writeOutAllFitResults()=0 Write out any fit results. virtual void finaliseResults(const Int_t fitStat, const Double_t NLL, const TObjArray *parsFromMaster, const TMatrixD *covMat, TObjArray &parsToMaster)=0 Perform all finalisation actions. Generated by 1.8.5 |