MINT2
Mint
binflipChi2.h
Go to the documentation of this file.
1
#include "
Mint/IMinimisable.h
"
2
#include "
Mint/MinuitParameterSet.h
"
3
#include "
Mint/Minimisable.h
"
4
#include "
Mint/FitParameter.h
"
5
#include "TH2F.h"
6
#include "TGraph.h"
7
#include "TGraphErrors.h"
8
#include "TRandom3.h"
9
#include "cmath"
10
#include "complex"
11
12
using namespace
MINT
;
13
using namespace
std;
14
15
16
class
binflipChi2
:
public
Minimisable
{
17
int
m_nbinsPhase
;
18
int
m_nbinsTime
;
19
vector<complex<double> >
m_X
;
20
vector<double>
m_r
;
21
vector<double>
m_tAv
;
22
vector<double>
m_tSqAv
;
23
TH2F
m_pHistD0
;
24
TH2F
m_pHistD0bar
;
25
TH2F
m_nHistD0
;
26
TH2F
m_nHistD0bar
;
27
FitParameter
m_ReZcp
;
28
FitParameter
m_ImZcp
;
29
FitParameter
m_ReDz
;
30
FitParameter
m_ImDz
;
31
int
m_fakeData
;
32
vector<double>
m_Fm
;
33
vector<double>
m_Fp
;
34
int
m_verbosity
;
35
36
public
:
37
binflipChi2
(vector<complex<double> > X, vector<double> r, vector<double> tAv, vector<double> tSqAv,
38
TH2F pHistD0, TH2F pHistD0bar, TH2F nHistD0, TH2F nHistD0bar,
double
ReZcp,
double
ImZcp,
39
double
ReDz,
double
ImDz,
double
stepSize,
int
fakeData = 0, vector<double> Fm = vector<double>(),
40
vector<double> Fp = vector<double>(),
int
verbosity = 0);
41
~
binflipChi2
();
42
double
getVal();
43
vector<vector<TGraph> > getFits();
44
void
genFakeData();
45
TGraph getFit(
int
i,
int
b);
46
};
47
binflipChi2::m_ReZcp
FitParameter m_ReZcp
Definition:
binflipChi2.h:27
MINT::FitParameter
Definition:
FitParameter.h:42
binflipChi2::m_tSqAv
vector< double > m_tSqAv
Definition:
binflipChi2.h:22
binflipChi2::m_Fm
vector< double > m_Fm
Definition:
binflipChi2.h:32
MINT::Minimisable
Definition:
Minimisable.h:10
binflipChi2::m_nHistD0
TH2F m_nHistD0
Definition:
binflipChi2.h:25
binflipChi2::m_pHistD0
TH2F m_pHistD0
Definition:
binflipChi2.h:23
binflipChi2::m_ImDz
FitParameter m_ImDz
Definition:
binflipChi2.h:30
binflipChi2
Definition:
binflipChi2.h:16
binflipChi2::m_nHistD0bar
TH2F m_nHistD0bar
Definition:
binflipChi2.h:26
binflipChi2::m_nbinsPhase
int m_nbinsPhase
Definition:
binflipChi2.h:17
binflipChi2::m_Fp
vector< double > m_Fp
Definition:
binflipChi2.h:33
binflipChi2::m_ReDz
FitParameter m_ReDz
Definition:
binflipChi2.h:29
binflipChi2::m_fakeData
int m_fakeData
Definition:
binflipChi2.h:31
binflipChi2::m_verbosity
int m_verbosity
Definition:
binflipChi2.h:34
binflipChi2::m_r
vector< double > m_r
Definition:
binflipChi2.h:20
binflipChi2::m_nbinsTime
int m_nbinsTime
Definition:
binflipChi2.h:18
MINT
Definition:
BasicComplex.h:7
Minimisable.h
MinuitParameterSet.h
binflipChi2::m_X
vector< complex< double > > m_X
Definition:
binflipChi2.h:19
FitParameter.h
binflipChi2::m_ImZcp
FitParameter m_ImZcp
Definition:
binflipChi2.h:28
binflipChi2::m_pHistD0bar
TH2F m_pHistD0bar
Definition:
binflipChi2.h:24
IMinimisable.h
binflipChi2::m_tAv
vector< double > m_tAv
Definition:
binflipChi2.h:21
Generated by
1.8.15