-
Notifications
You must be signed in to change notification settings - Fork 0
/
WAnalysis.h
executable file
·86 lines (62 loc) · 2.01 KB
/
WAnalysis.h
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#ifndef WAnalysis_H
#define WAnalysis_H
#include <TObject.h>
#include <TMinuit.h>
#include <TLorentzVector.h>
#include <TMath.h>
#include <TString.h>
#include <TStyle.h>
#include <TLegend.h>
#include <TCanvas.h>
#include <TSystem.h>
#include <TColor.h>
#include <TPaveText.h>
#include <vector>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <iomanip>
#include <string>
#include <TGaxis.h>
#include "MassAnaInput.h"
#include "MassAna.h"
#include "HadWMassFitter.h"
#include "LepTopMassFitter.h"
#include "PseudoExp.h"
class WAnalysis : public TObject {
private:
double bTh;
int n_btag;
int n_Jets;
bool isFolderCreate ;
bool smearing ;
vector<double> inputMean ;
string plotType;
string phaseSmear;
string hfolder;
MassAnaInput* fitInput;
HadWMassFitter* wmfitter;
LepTopMassFitter* ltmfitter;
PseudoExp* pseudoExp;
public:
WAnalysis();
~WAnalysis();
void CreateFolders();
void HadTopFitter( string mName, TString DrawOpt = "COLZ", bool doScale = false, bool isMCMatched = false );
void LepTopFitter( string mName, TString DrawOpt = "COLZ", bool isMCMatched = false );
void M2M3_1DPlots( string dataName, vector<string>& mcFiles, bool doScale = false ) ;
void Had_SBRatio( vector<string>& mcFile );
void SBCEPlotter();
void SBPlotter();
void EnsembleTest( int randomSeed = 0 ,TString DrawOpt = "COLZ" );
void LepTEnsembleTest( int randomSeed = 0 ,TString DrawOpt = "COLZ" );
void MixAll( vector<string>& flist, TString DrawOpt = "COLZ" );
void M2M3Plotter( vector<TH2D*> h2Ds, string fileName, TString DrawOpt = "COLZ", bool isMCMatched = false );
void AN_M2M3Plotter( vector<TH2D*> h2Ds, string fileName, TString DrawOpt = "COLZ", bool isMCMatched = false );
void LepTopPlotter( vector<TH2D*> h2Ds, string fileName, TString DrawOpt = "COLZ", bool isMCMatched = false );
void BJetEff( string fileName ) ;
//ClassDef(WAnalysis, 1);
};
//#if !defined(__CINT__)
// ClassImp(WAnalysis);
#endif