simple-tof-analysis
 All Classes Namespaces Functions Variables Groups Pages
TSLikelihoodCalculator.h
1 /*
2  * TSLikelihoodCalculator.h
3  *
4  * Created on: Aug 22, 2014
5  * Author: Silvestro di Luise
6  * Silvestro.Di.Luise@cern.ch
7  *
8  */
9 
10 #ifndef TSLIKELIHOODCALCULATOR_H_
11 #define TSLIKELIHOODCALCULATOR_H_
12 
13 #include "MessageMgr.h"
14 
15 #include "TSMinimizationFunction.h"
16 /*
17  *
18  */
20 
21 public:
23  TSLikelihoodCalculator(TString name, TString title);
24 
25  virtual ~TSLikelihoodCalculator();
26 
27 
28  void Init();
29 
30  virtual double Compute() const;
31 
32 private:
33 
34  void fClearCache();
35  void fFillCache();
36  mutable bool fCached;
37  mutable double *fCacheX;
38  mutable double *fCacheY;
39  mutable double *fCacheData1D;
40  mutable double *fCacheData2D;
41 
42  mutable double data2D[200][200];
43  mutable double errors2D[200][200];
44 };
45 
46 #endif /* TSLIKELIHOODCALCULATOR_H_ */
Definition: TSMinimizationFunction.h:46
Definition: TSLikelihoodCalculator.h:19
virtual double Compute() const
Definition: TSLikelihoodCalculator.cc:41