Changeset View
Changeset View
Standalone View
Standalone View
inc/LauAbsFitModel.hh
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | |||||
#include "TStopwatch.h" | #include "TStopwatch.h" | ||||
#include <iosfwd> | #include <iosfwd> | ||||
#include <set> | #include <set> | ||||
#include <vector> | #include <vector> | ||||
#include "LauFitObject.hh" | #include "LauFitObject.hh" | ||||
#include "LauFormulaPar.hh" | #include "LauFormulaPar.hh" | ||||
#include "LauSimFitSlave.hh" | #include "LauSimFitTask.hh" | ||||
// LauSPlot included to get LauSPlot::NameSet typedef | // LauSPlot included to get LauSPlot::NameSet typedef | ||||
#include "LauSPlot.hh" | #include "LauSPlot.hh" | ||||
class LauAbsCoeffSet; | class LauAbsCoeffSet; | ||||
class LauAbsPdf; | class LauAbsPdf; | ||||
class LauFitDataTree; | class LauFitDataTree; | ||||
class LauGenNtuple; | class LauGenNtuple; | ||||
class LauAbsRValue; | class LauAbsRValue; | ||||
class LauParameter; | class LauParameter; | ||||
class LauAbsFitModel : public LauSimFitSlave { | class LauAbsFitModel : public LauSimFitTask { | ||||
public: | public: | ||||
//! Constructor | //! Constructor | ||||
LauAbsFitModel(); | LauAbsFitModel(); | ||||
//! Destructor | //! Destructor | ||||
virtual ~LauAbsFitModel(); | virtual ~LauAbsFitModel(); | ||||
▲ Show 20 Lines • Show All 347 Lines • ▼ Show 20 Lines | protected: | ||||
//! Setup saving of fit results to ntuple/LaTeX table etc. | //! Setup saving of fit results to ntuple/LaTeX table etc. | ||||
/*! | /*! | ||||
\param [in] histFileName the file name for the output histograms | \param [in] histFileName the file name for the output histograms | ||||
\param [in] tableFileName the file name for the latex output file | \param [in] tableFileName the file name for the latex output file | ||||
*/ | */ | ||||
virtual void setupResultsOutputs( const TString& histFileName, const TString& tableFileName ); | virtual void setupResultsOutputs( const TString& histFileName, const TString& tableFileName ); | ||||
//! Package the initial fit parameters for transmission to the master | //! Package the initial fit parameters for transmission to the coordinator | ||||
/*! | /*! | ||||
\param [out] array the array to be filled with the LauParameter objects | \param [out] array the array to be filled with the LauParameter objects | ||||
*/ | */ | ||||
virtual void prepareInitialParArray( TObjArray& array ); | virtual void prepareInitialParArray( TObjArray& array ); | ||||
//! Perform all finalisation actions | //! Perform all finalisation actions | ||||
/*! | /*! | ||||
- Receive the results of the fit from the master | - Receive the results of the fit from the coordinator | ||||
- Perform any finalisation routines | - Perform any finalisation routines | ||||
- Package the finalised fit parameters for transmission back to the master | - Package the finalised fit parameters for transmission back to the coordinator | ||||
\param [in] fitStat the status of the fit, e.g. status code, EDM, NLL | \param [in] fitStat the status of the fit, e.g. status code, EDM, NLL | ||||
\param [in] parsFromMaster the parameters at the fit minimum | \param [in] parsFromCoordinator the parameters at the fit minimum | ||||
\param [in] covMat the fit covariance matrix | \param [in] covMat the fit covariance matrix | ||||
\param [out] parsToMaster the array to be filled with the finalised LauParameter objects | \param [out] parsToCoordinator the array to be filled with the finalised LauParameter objects | ||||
*/ | */ | ||||
virtual void finaliseExperiment( const LauAbsFitter::FitStatus& fitStat, const TObjArray* parsFromMaster, const TMatrixD* covMat, TObjArray& parsToMaster ); | virtual void finaliseExperiment( const LauAbsFitter::FitStatus& fitStat, const TObjArray* parsFromCoordinator, const TMatrixD* covMat, TObjArray& parsToCoordinator ); | ||||
//! Write the results of the fit into the ntuple | //! Write the results of the fit into the ntuple | ||||
/*! | /*! | ||||
\param [in] tableFileName the structure containing the results of the fit | \param [in] tableFileName the structure containing the results of the fit | ||||
*/ | */ | ||||
virtual void finaliseFitResults(const TString& tableFileName) = 0; | virtual void finaliseFitResults(const TString& tableFileName) = 0; | ||||
//! Save the pdf Plots for all the resonances of experiment number fitExp | //! Save the pdf Plots for all the resonances of experiment number fitExp | ||||
▲ Show 20 Lines • Show All 358 Lines • Show Last 20 Lines |