first DKS running version. Still a lot of testing needed. Currently only single histogram fitting with a limited number of functions is supported to run on the GPU.

This commit is contained in:
2016-04-06 17:22:58 +02:00
parent a29b790e04
commit 6fa7bb5764
6 changed files with 171 additions and 66 deletions
+11
View File
@@ -43,14 +43,23 @@ using namespace std;
#include "PRunMuMinus.h"
#include "PRunNonMusr.h"
//----------------------------------------------------------------------------------------------------------------
/**
*
*/
typedef struct {
Bool_t fScaleN0AndBkg;
Double_t fN0;
Double_t fNbkg;
Double_t fTau;
Double_t fPackedTimeResolution;
Double_t fStartTime;
Int_t fNoOfFitBins;
PDoubleVector fFun;
PIntVector fMap;
} PSingleHistoParams;
//----------------------------------------------------------------------------------------------------------------
/**
* <p>Handler class handling all processed data of an msr-file. All calls of minuit2 are going through this class.
*/
@@ -111,6 +120,8 @@ class PRunListCollection
virtual Int_t GetNoOfParameters() { return fMsrInfo->GetNoOfParams(); }
virtual Int_t GetNoOfFunctions() { return fMsrInfo->GetNoOfFuncs(); }
virtual Int_t GetNoOfMaps() { return fMsrInfo->GetNoOfMaps(); }
virtual Int_t GetStartTimeBin(UInt_t idx);
virtual Int_t GetEndTimeBin(UInt_t idx);
virtual Int_t GetSingleHistoParams(UInt_t idx, const std::vector<Double_t>& par, PSingleHistoParams &shp);
private: