-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmk_drawPlots.C
executable file
·56 lines (47 loc) · 1.29 KB
/
mk_drawPlots.C
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
// Purpose: Draw plots of analysis stages
// Author: [email protected]
// Created: March 21, 2010
// Updated: March 21, 2010
{
// compile code
//gROOT->ProcessLine(".x cms_jes_style.C");
gROOT->ProcessLine(".L tdrstyle_mod12.C");
setTDRStyle();
gStyle->SetOptStat(0);
gStyle->SetOptFit(0);
gROOT->ProcessLine(".L tools.C+");
gROOT->ProcessLine(".L Config.cpp+");
gROOT->ProcessLine(".L drawPlots.C+");
gSystem->Setenv("CAFE_CONFIG", "pfjet.config");
cafe::Config *cfg = new cafe::Config("pfjet");
string type = cfg->get("type","DATA");
delete cfg;
/*
drawJetID(type);
drawTriggerRatio(type, "PF");
if (type=="DATA") drawTriggerRatio(type, "CALO");
drawUnfolding(type, "PF");
if (type=="DATA") drawUnfolding(type, "CALO");
drawResolution(type);
drawMultijets(type);
drawBFraction(type);
drawBTagPurity(type);
drawBTagEfficiency(type);
drawBTagNorm(type);
drawMCPurity();
drawMCEfficiency();
drawTemplatePurity();
drawTemplate();
*/
//drawUnfolding(type, "PF");
//drawUnfolding(type, "CALO");
//drawJetID(type);
// For PAS (or check triggers)
drawTriggerRatio(type, "PF");
//drawTriggerRatio(type, "CALO");
//drawMultijets(type);
//drawMCPurity();
//drawMCEfficiency();
//drawTemplatePurity();
//drawTemplate();
}