moved CPU/GPU information collection from PFitter to musrfit.

This commit is contained in:
2016-04-27 08:11:30 +02:00
parent da2f0a1049
commit bc881f0c75
4 changed files with 112 additions and 96 deletions

View File

@@ -68,7 +68,7 @@
class PFitter
{
public:
PFitter(PMsrHandler *runInfo, PRunListCollection *runListCollection, Bool_t chisq_only = false);
PFitter(PMsrHandler *runInfo, PRunListCollection *runListCollection, Bool_t chisq_only = false, TString hardwareInfo = TString("??"));
virtual ~PFitter();
Bool_t IsValid() { return fIsValid; }
@@ -85,6 +85,7 @@ class PFitter
Bool_t fChisqOnly; ///< flag. true: calculate chi^2 only (no fitting).
Bool_t fUseChi2; ///< flag. true: chi^2 fit. false: log-max-likelihood
UInt_t fPrintLevel; ///< tag, showing the level of messages whished. 0=minimum, 1=standard, 2=maximum
TString fHardwareInfo; ///< string containing the CPU/GPU information.
UInt_t fStrategy; ///< fitting strategy (see minuit2 manual).
@@ -134,8 +135,6 @@ class PFitter
Bool_t ExecuteSimplex();
Double_t MilliTime();
TString GetCpuInfo();
TString GetGpuInfo();
};
#endif // _PFITTER_H_