Repository navigation
Expand file tree
/
Copy pathScaleFactorCombination.h
More file actions
53 lines (38 loc) · 1.61 KB
/
Copy pathScaleFactorCombination.h
File metadata and controls
53 lines (38 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#include "Measurements/UL16APV/CampaignInfo.h"
//#include "Measurements/Prompt18/CampaignInfo.h"
//#include "Measurements/2016Legacy/CampaignInfo.h"
//#include "Measurements/DeepFlavour2017/CampaignInfo.h"
//#include "Measurements/Moriond18/CampaignInfo.h"
bool PrintPNG = true;
bool PrintPDF = true;
bool PrintC = true;
bool PrintRoot = true;
bool etamin = false;
bool etamax = false;
bool PrintComparison = false;
bool SampleCombinationComparison = false;
bool PrintOnlyTypeMeasurements = true;
bool PrintPtFit = true;
bool StoreFittedScaleFactors = true;
bool SystematicBreakdown = false;
bool CategoryBreakdown = true;
bool PtCorrelationBreakdown = false;
bool StatisticBreakdown = false;
int TaggingAlgorithm = -1;
enum { NBINS = 20 };
float SystematicCorrelation[nUncertainties][NBINS][nMeasurements*(nMeasurements-1)/2];
float MeasuredScaleFactor[nMeasurements][NBINS], MeasuredScaleFactorUncertainty[nMeasurements][NBINS][nUncertainties];
float xpt[nMeasurements][NBINS], expt[nMeasurements][NBINS];
float MeasuredScaleFactorValue[nMeasurements][NBINS], MeasuredScaleFactorError[nMeasurements][NBINS], MeasuredScaleFactorStatistic[nMeasurements][NBINS];
bool isUsedSystematic[nUncertainties];
int nTotalMeasurements;
int MeasurementBinIndex[1000];
int CampaignBinIndex[1000];
int nBinsCampaignForFit;
int FirstBinCampaignForFit;
int LastBinCampaignForFit;
//int nBinsCampaignForPlot;
TString TSfun1;
float sf[NBINS], sf_stat[NBINS], sf_error[NBINS], sf_uncerbreak[NBINS][50];
float fun_val[NBINS], fun_err[NBINS], fun_unc[NBINS][50];
double NormalizedChi2;